Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: tfa9879: Convert to dtschema

Convert the tfa9879 audio CODEC bindings to DT schema
No error/warning seen when running make dt_binding_check

Signed-off-by: Bragatheswaran Manickavel <bragathemanick0908@gmail.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230921183313.54112-1-bragathemanick0908@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Bragatheswaran Manickavel and committed by
Mark Brown
39fce972 00a6d389

+45 -24
+44
Documentation/devicetree/bindings/sound/nxp,tfa9879.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/nxp,tfa9879.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: NXP TFA9879 class-D audio amplifier 8 + 9 + maintainers: 10 + - Peter Rosin <peda@axentia.se> 11 + 12 + allOf: 13 + - $ref: dai-common.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: nxp,tfa9879 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + "#sound-dai-cells": 23 + const: 0 24 + 25 + required: 26 + - compatible 27 + - reg 28 + - '#sound-dai-cells' 29 + 30 + unevaluatedProperties: false 31 + 32 + examples: 33 + - | 34 + i2c1 { 35 + #address-cells = <1>; 36 + #size-cells = <0>; 37 + amplifier@6c { 38 + compatible = "nxp,tfa9879"; 39 + reg = <0x6c>; 40 + pinctrl-names = "default"; 41 + pinctrl-0 = <&pinctrl_i2c1>; 42 + #sound-dai-cells = <0>; 43 + }; 44 + };
-23
Documentation/devicetree/bindings/sound/tfa9879.txt
··· 1 - NXP TFA9879 class-D audio amplifier 2 - 3 - Required properties: 4 - 5 - - compatible : "nxp,tfa9879" 6 - 7 - - reg : the I2C address of the device 8 - 9 - - #sound-dai-cells : must be 0. 10 - 11 - Example: 12 - 13 - &i2c1 { 14 - pinctrl-names = "default"; 15 - pinctrl-0 = <&pinctrl_i2c1>; 16 - 17 - amp: amp@6c { 18 - #sound-dai-cells = <0>; 19 - compatible = "nxp,tfa9879"; 20 - reg = <0x6c>; 21 - }; 22 - }; 23 -
+1 -1
MAINTAINERS
··· 15423 15423 M: Peter Rosin <peda@axentia.se> 15424 15424 L: alsa-devel@alsa-project.org (moderated for non-subscribers) 15425 15425 S: Maintained 15426 - F: Documentation/devicetree/bindings/sound/tfa9879.txt 15426 + F: Documentation/devicetree/bindings/sound/nxp,tfa9879.yaml 15427 15427 F: sound/soc/codecs/tfa9879* 15428 15428 15429 15429 NXP-NCI NFC DRIVER