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: consolidate simple audio codec to trivial-codec.yaml

Consolidate simple audio codec (one compatible string, one reg, one
optional reset-gpios and '#sound-dai-cells' 0) to a trivial-codec.yaml.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20251031144622.4033833-1-Frank.Li@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Frank Li and committed by
Mark Brown
4acbfcf1 e32c4025

+79 -941
-60
Documentation/devicetree/bindings/sound/adi,max98363.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/adi,max98363.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: Analog Devices MAX98363 SoundWire Amplifier 8 - 9 - maintainers: 10 - - Ryan Lee <ryans.lee@analog.com> 11 - 12 - description: 13 - The MAX98363 is a SoundWire input Class D mono amplifier that 14 - supports MIPI SoundWire v1.2-compatible digital interface for 15 - audio and control data. 16 - SoundWire peripheral device ID of MAX98363 is 0x3*019f836300 17 - where * is the peripheral device unique ID decoded from pin. 18 - It supports up to 10 peripheral devices(0x0 to 0x9). 19 - 20 - allOf: 21 - - $ref: dai-common.yaml# 22 - 23 - properties: 24 - compatible: 25 - const: sdw3019f836300 26 - 27 - reg: 28 - maxItems: 1 29 - 30 - '#sound-dai-cells': 31 - const: 0 32 - 33 - required: 34 - - compatible 35 - - reg 36 - - "#sound-dai-cells" 37 - 38 - unevaluatedProperties: false 39 - 40 - examples: 41 - - | 42 - soundwire@3250000 { 43 - #address-cells = <2>; 44 - #size-cells = <0>; 45 - reg = <0x3250000 0x2000>; 46 - 47 - speaker@0,0 { 48 - compatible = "sdw3019f836300"; 49 - reg = <0 0>; 50 - #sound-dai-cells = <0>; 51 - sound-name-prefix = "Speaker Left"; 52 - }; 53 - 54 - speaker@0,1 { 55 - compatible = "sdw3019f836300"; 56 - reg = <0 1>; 57 - #sound-dai-cells = <0>; 58 - sound-name-prefix = "Speaker Right"; 59 - }; 60 - };
-19
Documentation/devicetree/bindings/sound/adi,ssm2602.txt
··· 1 - Analog Devices SSM2602, SSM2603 and SSM2604 I2S audio CODEC devices 2 - 3 - SSM2602 support both I2C and SPI as the configuration interface, 4 - the selection is made by the MODE strap-in pin. 5 - SSM2603 and SSM2604 only support I2C as the configuration interface. 6 - 7 - Required properties: 8 - 9 - - compatible : One of "adi,ssm2602", "adi,ssm2603" or "adi,ssm2604" 10 - 11 - - reg : the I2C address of the device for I2C, the chip select 12 - number for SPI. 13 - 14 - Example: 15 - 16 - ssm2602: ssm2602@1a { 17 - compatible = "adi,ssm2602"; 18 - reg = <0x1a>; 19 - };
-49
Documentation/devicetree/bindings/sound/adi,ssm3515.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/adi,ssm3515.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: Analog Devices SSM3515 Audio Amplifier 8 - 9 - maintainers: 10 - - Martin Povišer <povik+lin@cutebit.org> 11 - 12 - description: | 13 - SSM3515 is a mono Class-D audio amplifier with digital input. 14 - 15 - https://www.analog.com/media/en/technical-documentation/data-sheets/SSM3515.pdf 16 - 17 - allOf: 18 - - $ref: dai-common.yaml# 19 - 20 - properties: 21 - compatible: 22 - enum: 23 - - adi,ssm3515 24 - 25 - reg: 26 - maxItems: 1 27 - 28 - '#sound-dai-cells': 29 - const: 0 30 - 31 - required: 32 - - compatible 33 - - reg 34 - 35 - unevaluatedProperties: false 36 - 37 - examples: 38 - - | 39 - i2c { 40 - #address-cells = <1>; 41 - #size-cells = <0>; 42 - 43 - codec@14 { 44 - compatible = "adi,ssm3515"; 45 - reg = <0x14>; 46 - #sound-dai-cells = <0>; 47 - sound-name-prefix = "Left Tweeter"; 48 - }; 49 - };
-29
Documentation/devicetree/bindings/sound/cs4265.txt
··· 1 - CS4265 audio CODEC 2 - 3 - This device supports I2C only. 4 - 5 - Required properties: 6 - 7 - - compatible : "cirrus,cs4265" 8 - 9 - - reg : the I2C address of the device for I2C. The I2C address depends on 10 - the state of the AD0 pin. If AD0 is high, the i2c address is 0x4f. 11 - If it is low, the i2c address is 0x4e. 12 - 13 - Optional properties: 14 - 15 - - reset-gpios : a GPIO spec for the reset pin. If specified, it will be 16 - deasserted before communication to the codec starts. 17 - 18 - Examples: 19 - 20 - codec_ad0_high: cs4265@4f { /* AD0 Pin is high */ 21 - compatible = "cirrus,cs4265"; 22 - reg = <0x4f>; 23 - }; 24 - 25 - 26 - codec_ad0_low: cs4265@4e { /* AD0 Pin is low */ 27 - compatible = "cirrus,cs4265"; 28 - reg = <0x4e>; 29 - };
-22
Documentation/devicetree/bindings/sound/cs4341.txt
··· 1 - Cirrus Logic CS4341 audio DAC 2 - 3 - This device supports both I2C and SPI (configured with pin strapping 4 - on the board). 5 - 6 - Required properties: 7 - - compatible: "cirrus,cs4341a" 8 - - reg : the I2C address of the device for I2C, the chip select 9 - number for SPI. 10 - 11 - For required properties on I2C-bus, please consult 12 - dtschema schemas/i2c/i2c-controller.yaml 13 - For required properties on SPI-bus, please consult 14 - Documentation/devicetree/bindings/spi/spi-bus.txt 15 - 16 - Example: 17 - codec: cs4341@0 { 18 - #sound-dai-cells = <0>; 19 - compatible = "cirrus,cs4341a"; 20 - reg = <0>; 21 - spi-max-frequency = <6000000>; 22 - };
-19
Documentation/devicetree/bindings/sound/cs4349.txt
··· 1 - CS4349 audio CODEC 2 - 3 - Required properties: 4 - 5 - - compatible : "cirrus,cs4349" 6 - 7 - - reg : the I2C address of the device for I2C 8 - 9 - Optional properties: 10 - 11 - - reset-gpios : a GPIO spec for the reset pin. 12 - 13 - Example: 14 - 15 - codec: cs4349@48 { 16 - compatible = "cirrus,cs4349"; 17 - reg = <0x48>; 18 - reset-gpios = <&gpio 54 0>; 19 - };
-22
Documentation/devicetree/bindings/sound/da9055.txt
··· 1 - * Dialog DA9055 Audio CODEC 2 - 3 - DA9055 provides Audio CODEC support (I2C only). 4 - 5 - The Audio CODEC device in DA9055 has its own I2C address which is configurable, 6 - so the device is instantiated separately from the PMIC (MFD) device. 7 - 8 - For details on accompanying PMIC I2C device, see the following: 9 - Documentation/devicetree/bindings/mfd/da9055.txt 10 - 11 - Required properties: 12 - 13 - - compatible: "dlg,da9055-codec" 14 - - reg: Specifies the I2C slave address 15 - 16 - 17 - Example: 18 - 19 - codec: da9055-codec@1a { 20 - compatible = "dlg,da9055-codec"; 21 - reg = <0x1a>; 22 - };
-40
Documentation/devicetree/bindings/sound/nuvoton,nau8540.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/nuvoton,nau8540.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: Nuvoton Technology Corporation NAU85L40 Audio CODEC 8 - 9 - maintainers: 10 - - John Hsu <KCHSU0@nuvoton.com> 11 - 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 - properties: 16 - compatible: 17 - const: nuvoton,nau8540 18 - 19 - reg: 20 - maxItems: 1 21 - 22 - "#sound-dai-cells": 23 - const: 0 24 - 25 - required: 26 - - compatible 27 - - reg 28 - 29 - unevaluatedProperties: false 30 - 31 - examples: 32 - - | 33 - i2c { 34 - #address-cells = <1>; 35 - #size-cells = <0>; 36 - codec@1c { 37 - compatible = "nuvoton,nau8540"; 38 - reg = <0x1c>; 39 - }; 40 - };
-45
Documentation/devicetree/bindings/sound/nuvoton,nau8810.yaml
··· 1 - # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/nuvoton,nau8810.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: NAU8810/NAU8812/NAU8814 audio CODEC 8 - 9 - maintainers: 10 - - David Lin <CTLIN0@nuvoton.com> 11 - 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 - properties: 16 - compatible: 17 - enum: 18 - - nuvoton,nau8810 19 - - nuvoton,nau8812 20 - - nuvoton,nau8814 21 - 22 - reg: 23 - maxItems: 1 24 - 25 - '#sound-dai-cells': 26 - const: 0 27 - 28 - required: 29 - - compatible 30 - - reg 31 - 32 - unevaluatedProperties: false 33 - 34 - examples: 35 - - | 36 - i2c { 37 - #address-cells = <1>; 38 - #size-cells = <0>; 39 - 40 - codec@1a { 41 - #sound-dai-cells = <0>; 42 - compatible = "nuvoton,nau8810"; 43 - reg = <0x1a>; 44 - }; 45 - };
-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 - };
-42
Documentation/devicetree/bindings/sound/nxp,uda1342.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/nxp,uda1342.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: NXP uda1342 audio CODECs 8 - 9 - maintainers: 10 - - Binbin Zhou <zhoubinbin@loongson.cn> 11 - 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 - properties: 16 - compatible: 17 - const: nxp,uda1342 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 - i2c { 35 - #address-cells = <1>; 36 - #size-cells = <0>; 37 - codec@1a { 38 - compatible = "nxp,uda1342"; 39 - reg = <0x1a>; 40 - #sound-dai-cells = <0>; 41 - }; 42 - };
-22
Documentation/devicetree/bindings/sound/pcm1789.txt
··· 1 - Texas Instruments pcm1789 DT bindings 2 - 3 - PCM1789 is a simple audio codec that can be connected via 4 - I2C or SPI. Currently, only I2C bus is supported. 5 - 6 - Required properties: 7 - 8 - - compatible: "ti,pcm1789" 9 - 10 - Required properties on I2C: 11 - 12 - - reg: the I2C address 13 - - reset-gpios: GPIO to control the RESET pin 14 - 15 - Examples: 16 - 17 - audio-codec@4c { 18 - compatible = "ti,pcm1789"; 19 - reg = <0x4c>; 20 - reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>; 21 - #sound-dai-cells = <0>; 22 - };
-27
Documentation/devicetree/bindings/sound/pcm179x.txt
··· 1 - Texas Instruments pcm179x DT bindings 2 - 3 - This driver supports both the I2C and SPI bus. 4 - 5 - Required properties: 6 - 7 - - compatible: "ti,pcm1792a" 8 - 9 - For required properties on SPI, please consult 10 - Documentation/devicetree/bindings/spi/spi-bus.txt 11 - 12 - Required properties on I2C: 13 - 14 - - reg: the I2C address 15 - 16 - 17 - Examples: 18 - 19 - codec_spi: 1792a@0 { 20 - compatible = "ti,pcm1792a"; 21 - spi-max-frequency = <600000>; 22 - }; 23 - 24 - codec_i2c: 1792a@4c { 25 - compatible = "ti,pcm1792a"; 26 - reg = <0x4c>; 27 - };
-13
Documentation/devicetree/bindings/sound/pcm5102a.txt
··· 1 - PCM5102a audio CODECs 2 - 3 - These devices does not use I2C or SPI. 4 - 5 - Required properties: 6 - 7 - - compatible : set as "ti,pcm5102a" 8 - 9 - Examples: 10 - 11 - pcm5102a: pcm5102a { 12 - compatible = "ti,pcm5102a"; 13 - };
+79
Documentation/devicetree/bindings/sound/trivial-codec.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/trivial-codec.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Trivial Audio Codec 8 + 9 + maintainers: 10 + - Rob Herring <robh@kernel.org> 11 + 12 + allOf: 13 + - $ref: dai-common.yaml# 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + # Analog Devices SSM2602 I2S audio CODEC devices 19 + - adi,ssm2602 20 + - adi,ssm2603 21 + - adi,ssm2604 22 + - adi,ssm3515 23 + # Cirrus Logic CS4265 audio DAC 24 + - cirrus,cs4265 25 + - cirrus,cs4341a 26 + - cirrus,cs4349 27 + - dlg,da9055-codec 28 + # Nuvoton Technology Corporation NAU85L40 Audio CODEC 29 + - nuvoton,nau8540 30 + - nuvoton,nau8810 31 + - nuvoton,nau8812 32 + - nuvoton,nau8814 33 + # NXP TFA9879 class-D audio amplifier 34 + - nxp,tfa9879 35 + - nxp,uda1342 36 + - sdw3019f836300 37 + - ti,pcm1789 38 + - ti,pcm1792a 39 + - ti,pcm5102a 40 + - wlf,wm8510 41 + - wlf,wm8523 42 + - wlf,wm8580 43 + - wlf,wm8581 44 + - wlf,wm8711 45 + - wlf,wm8728 46 + - wlf,wm8737 47 + - wlf,wm8750 48 + - wlf,wm8753 49 + - wlf,wm8770 50 + - wlf,wm8776 51 + - wlf,wm8961 52 + - wlf,wm8974 53 + - wlf,wm8987 54 + 55 + reg: 56 + maxItems: 1 57 + 58 + "#sound-dai-cells": 59 + const: 0 60 + 61 + reset-gpios: 62 + maxItems: 1 63 + 64 + required: 65 + - compatible 66 + - reg 67 + 68 + unevaluatedProperties: false 69 + 70 + examples: 71 + - | 72 + i2c { 73 + #address-cells = <1>; 74 + #size-cells = <0>; 75 + codec@1a { 76 + compatible = "wlf,wm8523"; 77 + reg = <0x1a>; 78 + }; 79 + };
-41
Documentation/devicetree/bindings/sound/wlf,wm8510.yaml
··· 1 - # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/wlf,wm8510.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: WM8510 audio CODEC 8 - 9 - maintainers: 10 - - patches@opensource.cirrus.com 11 - 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 - properties: 16 - compatible: 17 - const: wlf,wm8510 18 - 19 - reg: 20 - maxItems: 1 21 - 22 - "#sound-dai-cells": 23 - const: 0 24 - 25 - required: 26 - - compatible 27 - - reg 28 - 29 - unevaluatedProperties: false 30 - 31 - examples: 32 - - | 33 - i2c { 34 - #address-cells = <1>; 35 - #size-cells = <0>; 36 - 37 - codec@1a { 38 - compatible = "wlf,wm8510"; 39 - reg = <0x1a>; 40 - }; 41 - };
-40
Documentation/devicetree/bindings/sound/wlf,wm8523.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/wlf,wm8523.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: WM8523 audio CODEC 8 - 9 - maintainers: 10 - - patches@opensource.cirrus.com 11 - 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 - properties: 16 - compatible: 17 - const: wlf,wm8523 18 - 19 - reg: 20 - maxItems: 1 21 - 22 - "#sound-dai-cells": 23 - const: 0 24 - 25 - required: 26 - - compatible 27 - - reg 28 - 29 - unevaluatedProperties: false 30 - 31 - examples: 32 - - | 33 - i2c { 34 - #address-cells = <1>; 35 - #size-cells = <0>; 36 - codec@1a { 37 - compatible = "wlf,wm8523"; 38 - reg = <0x1a>; 39 - }; 40 - };
-42
Documentation/devicetree/bindings/sound/wlf,wm8580.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/wlf,wm8580.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: WM8580 and WM8581 audio CODEC 8 - 9 - maintainers: 10 - - patches@opensource.cirrus.com 11 - 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 - properties: 16 - compatible: 17 - enum: 18 - - wlf,wm8580 19 - - wlf,wm8581 20 - 21 - reg: 22 - maxItems: 1 23 - 24 - "#sound-dai-cells": 25 - const: 0 26 - 27 - required: 28 - - compatible 29 - - reg 30 - 31 - unevaluatedProperties: false 32 - 33 - examples: 34 - - | 35 - i2c { 36 - #address-cells = <1>; 37 - #size-cells = <0>; 38 - codec@1a { 39 - compatible = "wlf,wm8580"; 40 - reg = <0x1a>; 41 - }; 42 - };
-40
Documentation/devicetree/bindings/sound/wlf,wm8711.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/wlf,wm8711.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: WM8711 audio CODEC 8 - 9 - maintainers: 10 - - patches@opensource.cirrus.com 11 - 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 - properties: 16 - compatible: 17 - const: wlf,wm8711 18 - 19 - reg: 20 - maxItems: 1 21 - 22 - "#sound-dai-cells": 23 - const: 0 24 - 25 - required: 26 - - compatible 27 - - reg 28 - 29 - unevaluatedProperties: false 30 - 31 - examples: 32 - - | 33 - i2c { 34 - #address-cells = <1>; 35 - #size-cells = <0>; 36 - codec@1a { 37 - compatible = "wlf,wm8711"; 38 - reg = <0x1a>; 39 - }; 40 - };
-40
Documentation/devicetree/bindings/sound/wlf,wm8728.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/wlf,wm8728.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: WM8728 audio CODEC 8 - 9 - maintainers: 10 - - patches@opensource.cirrus.com 11 - 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 - properties: 16 - compatible: 17 - const: wlf,wm8728 18 - 19 - reg: 20 - maxItems: 1 21 - 22 - "#sound-dai-cells": 23 - const: 0 24 - 25 - required: 26 - - compatible 27 - - reg 28 - 29 - unevaluatedProperties: false 30 - 31 - examples: 32 - - | 33 - i2c { 34 - #address-cells = <1>; 35 - #size-cells = <0>; 36 - codec@1a { 37 - compatible = "wlf,wm8728"; 38 - reg = <0x1a>; 39 - }; 40 - };
-40
Documentation/devicetree/bindings/sound/wlf,wm8737.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/wlf,wm8737.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: WM8737 audio CODEC 8 - 9 - maintainers: 10 - - patches@opensource.cirrus.com 11 - 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 - properties: 16 - compatible: 17 - const: wlf,wm8737 18 - 19 - reg: 20 - maxItems: 1 21 - 22 - "#sound-dai-cells": 23 - const: 0 24 - 25 - required: 26 - - compatible 27 - - reg 28 - 29 - unevaluatedProperties: false 30 - 31 - examples: 32 - - | 33 - i2c { 34 - #address-cells = <1>; 35 - #size-cells = <0>; 36 - codec@1a { 37 - compatible = "wlf,wm8737"; 38 - reg = <0x1a>; 39 - }; 40 - };
-42
Documentation/devicetree/bindings/sound/wlf,wm8750.yaml
··· 1 - # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/wlf,wm8750.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: WM8750 and WM8987 audio CODECs 8 - 9 - description: | 10 - These devices support both I2C and SPI (configured with pin strapping 11 - on the board). 12 - 13 - maintainers: 14 - - Mark Brown <broonie@kernel.org> 15 - 16 - properties: 17 - compatible: 18 - enum: 19 - - wlf,wm8750 20 - - wlf,wm8987 21 - 22 - reg: 23 - description: 24 - The I2C address of the device for I2C, the chip select number for SPI 25 - maxItems: 1 26 - 27 - additionalProperties: false 28 - 29 - required: 30 - - reg 31 - 32 - examples: 33 - - | 34 - i2c { 35 - #address-cells = <1>; 36 - #size-cells = <0>; 37 - 38 - codec@1a { 39 - compatible = "wlf,wm8750"; 40 - reg = <0x1a>; 41 - }; 42 - };
-62
Documentation/devicetree/bindings/sound/wlf,wm8753.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/wlf,wm8753.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: WM8753 audio CODEC 8 - 9 - description: | 10 - Pins on the device (for linking into audio routes): 11 - * LOUT1 12 - * LOUT2 13 - * ROUT1 14 - * ROUT2 15 - * MONO1 16 - * MONO2 17 - * OUT3 18 - * OUT4 19 - * LINE1 20 - * LINE2 21 - * RXP 22 - * RXN 23 - * ACIN 24 - * ACOP 25 - * MIC1N 26 - * MIC1 27 - * MIC2N 28 - * MIC2 29 - * Mic Bias 30 - 31 - maintainers: 32 - - patches@opensource.cirrus.com 33 - 34 - allOf: 35 - - $ref: dai-common.yaml# 36 - 37 - properties: 38 - compatible: 39 - const: wlf,wm8753 40 - 41 - reg: 42 - maxItems: 1 43 - 44 - "#sound-dai-cells": 45 - const: 0 46 - 47 - required: 48 - - compatible 49 - - reg 50 - 51 - unevaluatedProperties: false 52 - 53 - examples: 54 - - | 55 - i2c { 56 - #address-cells = <1>; 57 - #size-cells = <0>; 58 - codec@1a { 59 - compatible = "wlf,wm8753"; 60 - reg = <0x1a>; 61 - }; 62 - };
-41
Documentation/devicetree/bindings/sound/wlf,wm8776.yaml
··· 1 - # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/wlf,wm8776.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: WM8776 audio CODEC 8 - 9 - maintainers: 10 - - patches@opensource.cirrus.com 11 - 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 - properties: 16 - compatible: 17 - const: wlf,wm8776 18 - 19 - reg: 20 - maxItems: 1 21 - 22 - "#sound-dai-cells": 23 - const: 0 24 - 25 - required: 26 - - compatible 27 - - reg 28 - 29 - unevaluatedProperties: false 30 - 31 - examples: 32 - - | 33 - i2c { 34 - #address-cells = <1>; 35 - #size-cells = <0>; 36 - 37 - codec@1a { 38 - compatible = "wlf,wm8776"; 39 - reg = <0x1a>; 40 - }; 41 - };
-43
Documentation/devicetree/bindings/sound/wlf,wm8961.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/wlf,wm8961.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: Wolfson WM8961 Ultra-Low Power Stereo CODEC 8 - 9 - maintainers: 10 - - patches@opensource.cirrus.com 11 - 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 - properties: 16 - compatible: 17 - const: wlf,wm8961 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 - i2c { 35 - #address-cells = <1>; 36 - #size-cells = <0>; 37 - 38 - wm8961: codec@4a { 39 - compatible = "wlf,wm8961"; 40 - reg = <0x4a>; 41 - #sound-dai-cells = <0>; 42 - }; 43 - };
-41
Documentation/devicetree/bindings/sound/wlf,wm8974.yaml
··· 1 - # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/sound/wlf,wm8974.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: WM8974 audio CODEC 8 - 9 - maintainers: 10 - - patches@opensource.cirrus.com 11 - 12 - allOf: 13 - - $ref: dai-common.yaml# 14 - 15 - properties: 16 - compatible: 17 - const: wlf,wm8974 18 - 19 - reg: 20 - maxItems: 1 21 - 22 - "#sound-dai-cells": 23 - const: 0 24 - 25 - required: 26 - - compatible 27 - - reg 28 - 29 - unevaluatedProperties: false 30 - 31 - examples: 32 - - | 33 - i2c { 34 - #address-cells = <1>; 35 - #size-cells = <0>; 36 - 37 - codec@1a { 38 - compatible = "wlf,wm8974"; 39 - reg = <0x1a>; 40 - }; 41 - };
-16
Documentation/devicetree/bindings/sound/wm8770.txt
··· 1 - WM8770 audio CODEC 2 - 3 - This device supports SPI. 4 - 5 - Required properties: 6 - 7 - - compatible : "wlf,wm8770" 8 - 9 - - reg : the chip select number. 10 - 11 - Example: 12 - 13 - wm8770: codec@1 { 14 - compatible = "wlf,wm8770"; 15 - reg = <1>; 16 - };