ASoC: dt-bindings: consolidate simple audio codec to trivial-codec.yaml
Subsystems (9)
Frank Li
maintainerPATCH v2 1/1 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.
---
change in v2
- update title to Trivial Audio Codecs
- update maintainer to rob
- add reset-gpios
- add charles keepax reviewed-by tag.
- add below
cirrus,cs4349
cirrus,cs4341a
cirrus,cs4265
"adi,ssm2602", "adi,ssm2603", "adi,ssm2604"
ti,pcm1792a
ti,pcm1789 (Add reset-gpios)
ti,pcm5102a
dlg,da9055-codec (already added v1).
--- .../bindings/sound/adi,max98363.yaml | 60 -------------- .../devicetree/bindings/sound/adi,ssm2602.txt | 19 ----- .../bindings/sound/adi,ssm3515.yaml | 49 ------------ .../devicetree/bindings/sound/cs4265.txt | 29 ------- .../devicetree/bindings/sound/cs4341.txt | 22 ------ .../devicetree/bindings/sound/cs4349.txt | 19 ----- .../devicetree/bindings/sound/da9055.txt | 22 ------ .../bindings/sound/nuvoton,nau8540.yaml | 40 ---------- .../bindings/sound/nuvoton,nau8810.yaml | 45 ----------- .../bindings/sound/nxp,tfa9879.yaml | 44 ----------- .../bindings/sound/nxp,uda1342.yaml | 42 ---------- .../devicetree/bindings/sound/pcm1789.txt | 22 ------ .../devicetree/bindings/sound/pcm179x.txt | 27 ------- .../devicetree/bindings/sound/pcm5102a.txt | 13 --- .../bindings/sound/trivial-codec.yaml | 79 +++++++++++++++++++ .../devicetree/bindings/sound/wlf,wm8510.yaml | 41 ---------- .../devicetree/bindings/sound/wlf,wm8523.yaml | 40 ---------- .../devicetree/bindings/sound/wlf,wm8580.yaml | 42 ---------- .../devicetree/bindings/sound/wlf,wm8711.yaml | 40 ---------- .../devicetree/bindings/sound/wlf,wm8728.yaml | 40 ---------- .../devicetree/bindings/sound/wlf,wm8737.yaml | 40 ---------- .../devicetree/bindings/sound/wlf,wm8750.yaml | 42 ---------- .../devicetree/bindings/sound/wlf,wm8753.yaml | 62 --------------- .../devicetree/bindings/sound/wlf,wm8776.yaml | 41 ---------- .../devicetree/bindings/sound/wlf,wm8961.yaml | 43 ---------- .../devicetree/bindings/sound/wlf,wm8974.yaml | 41 ---------- .../devicetree/bindings/sound/wm8770.txt | 16 ---- 27 files changed, 79 insertions(+), 941 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/adi,max98363.yaml delete mode 100644 Documentation/devicetree/bindings/sound/adi,ssm2602.txt delete mode 100644 Documentation/devicetree/bindings/sound/adi,ssm3515.yaml delete mode 100644 Documentation/devicetree/bindings/sound/cs4265.txt delete mode 100644 Documentation/devicetree/bindings/sound/cs4341.txt delete mode 100644 Documentation/devicetree/bindings/sound/cs4349.txt delete mode 100644 Documentation/devicetree/bindings/sound/da9055.txt delete mode 100644 Documentation/devicetree/bindings/sound/nuvoton,nau8540.yaml delete mode 100644 Documentation/devicetree/bindings/sound/nuvoton,nau8810.yaml delete mode 100644 Documentation/devicetree/bindings/sound/nxp,tfa9879.yaml delete mode 100644 Documentation/devicetree/bindings/sound/nxp,uda1342.yaml delete mode 100644 Documentation/devicetree/bindings/sound/pcm1789.txt delete mode 100644 Documentation/devicetree/bindings/sound/pcm179x.txt delete mode 100644 Documentation/devicetree/bindings/sound/pcm5102a.txt create mode 100644 Documentation/devicetree/bindings/sound/trivial-codec.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8510.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8523.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8580.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8711.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8728.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8737.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8750.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8753.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8776.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8961.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8974.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wm8770.txt
Documentation/devicetree/bindings/sound/adi,max98363.yaml deleted +0 -60
@@ -1,60 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/adi,max98363.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices MAX98363 SoundWire Amplifier - -maintainers: - - Ryan Lee <[email protected]> - -description: - The MAX98363 is a SoundWire input Class D mono amplifier that - supports MIPI SoundWire v1.2-compatible digital interface for - audio and control data. - SoundWire peripheral device ID of MAX98363 is 0x3*019f836300 - where * is the peripheral device unique ID decoded from pin. - It supports up to 10 peripheral devices(0x0 to 0x9). - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: sdw3019f836300 - - reg: - maxItems: 1 - - '#sound-dai-cells': - const: 0 - -required: - - compatible - - reg - - "#sound-dai-cells" - -unevaluatedProperties: false - -examples: - - | - soundwire@3250000 { - #address-cells = <2>; - #size-cells = <0>; - reg = <0x3250000 0x2000>; - - speaker@0,0 { - compatible = "sdw3019f836300"; - reg = <0 0>; - #sound-dai-cells = <0>; - sound-name-prefix = "Speaker Left"; - }; - - speaker@0,1 { - compatible = "sdw3019f836300"; - reg = <0 1>; - #sound-dai-cells = <0>; - sound-name-prefix = "Speaker Right"; - }; - };
Documentation/devicetree/bindings/sound/adi,ssm2602.txt deleted +0 -19
@@ -1,19 +0,0 @@ -Analog Devices SSM2602, SSM2603 and SSM2604 I2S audio CODEC devices - -SSM2602 support both I2C and SPI as the configuration interface, -the selection is made by the MODE strap-in pin. -SSM2603 and SSM2604 only support I2C as the configuration interface. - -Required properties: - - - compatible : One of "adi,ssm2602", "adi,ssm2603" or "adi,ssm2604" - - - reg : the I2C address of the device for I2C, the chip select - number for SPI. - - Example: - - ssm2602: ssm2602@1a { - compatible = "adi,ssm2602"; - reg = <0x1a>; - };
Documentation/devicetree/bindings/sound/adi,ssm3515.yaml deleted +0 -49
49 lines not on this page · raw message
Documentation/devicetree/bindings/sound/cs4265.txt deleted +0 -29
@@ -1,29 +0,0 @@ -CS4265 audio CODEC - -This device supports I2C only. - -Required properties: - - - compatible : "cirrus,cs4265" - - - reg : the I2C address of the device for I2C. The I2C address depends on - the state of the AD0 pin. If AD0 is high, the i2c address is 0x4f. - If it is low, the i2c address is 0x4e. - -Optional properties: - - - reset-gpios : a GPIO spec for the reset pin. If specified, it will be - deasserted before communication to the codec starts. - -Examples: - -codec_ad0_high: cs4265@4f { /* AD0 Pin is high */ - compatible = "cirrus,cs4265"; - reg = <0x4f>; -}; - - -codec_ad0_low: cs4265@4e { /* AD0 Pin is low */ - compatible = "cirrus,cs4265"; - reg = <0x4e>; -};
Documentation/devicetree/bindings/sound/cs4341.txt deleted +0 -22
@@ -1,22 +0,0 @@ -Cirrus Logic CS4341 audio DAC - -This device supports both I2C and SPI (configured with pin strapping -on the board). - -Required properties: - - compatible: "cirrus,cs4341a" - - reg : the I2C address of the device for I2C, the chip select - number for SPI. - -For required properties on I2C-bus, please consult -dtschema schemas/i2c/i2c-controller.yaml -For required properties on SPI-bus, please consult -Documentation/devicetree/bindings/spi/spi-bus.txt - -Example: - codec: cs4341@0 { - #sound-dai-cells = <0>; - compatible = "cirrus,cs4341a"; - reg = <0>; - spi-max-frequency = <6000000>; - };
Documentation/devicetree/bindings/sound/cs4349.txt deleted +0 -19
@@ -1,19 +0,0 @@ -CS4349 audio CODEC - -Required properties: - - - compatible : "cirrus,cs4349" - - - reg : the I2C address of the device for I2C - -Optional properties: - - - reset-gpios : a GPIO spec for the reset pin. - -Example: - -codec: cs4349@48 { - compatible = "cirrus,cs4349"; - reg = <0x48>; - reset-gpios = <&gpio 54 0>; -};
Documentation/devicetree/bindings/sound/da9055.txt deleted +0 -22
@@ -1,22 +0,0 @@ -* Dialog DA9055 Audio CODEC - -DA9055 provides Audio CODEC support (I2C only). - -The Audio CODEC device in DA9055 has its own I2C address which is configurable, -so the device is instantiated separately from the PMIC (MFD) device. - -For details on accompanying PMIC I2C device, see the following: -Documentation/devicetree/bindings/mfd/da9055.txt - -Required properties: - - - compatible: "dlg,da9055-codec" - - reg: Specifies the I2C slave address - - -Example: - - codec: da9055-codec@1a { - compatible = "dlg,da9055-codec"; - reg = <0x1a>; - };
Documentation/devicetree/bindings/sound/nuvoton,nau8540.yaml deleted +0 -40
@@ -1,40 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nuvoton,nau8540.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton Technology Corporation NAU85L40 Audio CODEC - -maintainers: - - John Hsu <[email protected]> - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: nuvoton,nau8540 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@1c { - compatible = "nuvoton,nau8540"; - reg = <0x1c>; - }; - };
Documentation/devicetree/bindings/sound/nuvoton,nau8810.yaml deleted +0 -45
45 lines not on this page · raw message
Documentation/devicetree/bindings/sound/nxp,tfa9879.yaml deleted +0 -44
44 lines not on this page · raw message
Documentation/devicetree/bindings/sound/nxp,uda1342.yaml deleted +0 -42
42 lines not on this page · raw message
Documentation/devicetree/bindings/sound/pcm1789.txt deleted +0 -22
@@ -1,22 +0,0 @@ -Texas Instruments pcm1789 DT bindings - -PCM1789 is a simple audio codec that can be connected via -I2C or SPI. Currently, only I2C bus is supported. - -Required properties: - - - compatible: "ti,pcm1789" - -Required properties on I2C: - - - reg: the I2C address - - reset-gpios: GPIO to control the RESET pin - -Examples: - - audio-codec@4c { - compatible = "ti,pcm1789"; - reg = <0x4c>; - reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>; - #sound-dai-cells = <0>; - };
Documentation/devicetree/bindings/sound/pcm179x.txt deleted +0 -27
@@ -1,27 +0,0 @@ -Texas Instruments pcm179x DT bindings - -This driver supports both the I2C and SPI bus. - -Required properties: - - - compatible: "ti,pcm1792a" - -For required properties on SPI, please consult -Documentation/devicetree/bindings/spi/spi-bus.txt - -Required properties on I2C: - - - reg: the I2C address - - -Examples: - - codec_spi: 1792a@0 { - compatible = "ti,pcm1792a"; - spi-max-frequency = <600000>; - }; - - codec_i2c: 1792a@4c { - compatible = "ti,pcm1792a"; - reg = <0x4c>; - };
Documentation/devicetree/bindings/sound/pcm5102a.txt deleted +0 -13
@@ -1,13 +0,0 @@ -PCM5102a audio CODECs - -These devices does not use I2C or SPI. - -Required properties: - - - compatible : set as "ti,pcm5102a" - -Examples: - - pcm5102a: pcm5102a { - compatible = "ti,pcm5102a"; - };
Documentation/devicetree/bindings/sound/trivial-codec.yaml new file +79 -0
79 lines not on this page · raw message
Documentation/devicetree/bindings/sound/wlf,wm8510.yaml deleted +0 -41
41 lines not on this page · raw message
Documentation/devicetree/bindings/sound/wlf,wm8523.yaml deleted +0 -40
@@ -1,40 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8523.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8523 audio CODEC - -maintainers: - - [email protected] - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8523 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@1a { - compatible = "wlf,wm8523"; - reg = <0x1a>; - }; - };
Documentation/devicetree/bindings/sound/wlf,wm8580.yaml deleted +0 -42
42 lines not on this page · raw message
Documentation/devicetree/bindings/sound/wlf,wm8711.yaml deleted +0 -40
@@ -1,40 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8711.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8711 audio CODEC - -maintainers: - - [email protected] - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8711 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@1a { - compatible = "wlf,wm8711"; - reg = <0x1a>; - }; - };
Documentation/devicetree/bindings/sound/wlf,wm8728.yaml deleted +0 -40
@@ -1,40 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8728.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8728 audio CODEC - -maintainers: - - [email protected] - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8728 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@1a { - compatible = "wlf,wm8728"; - reg = <0x1a>; - }; - };
Documentation/devicetree/bindings/sound/wlf,wm8737.yaml deleted +0 -40
@@ -1,40 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8737.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8737 audio CODEC - -maintainers: - - [email protected] - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8737 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@1a { - compatible = "wlf,wm8737"; - reg = <0x1a>; - }; - };
Documentation/devicetree/bindings/sound/wlf,wm8750.yaml deleted +0 -42
42 lines not on this page · raw message
Documentation/devicetree/bindings/sound/wlf,wm8753.yaml deleted +0 -62
62 lines not on this page · raw message
Documentation/devicetree/bindings/sound/wlf,wm8776.yaml deleted +0 -41
41 lines not on this page · raw message
Documentation/devicetree/bindings/sound/wlf,wm8961.yaml deleted +0 -43
43 lines not on this page · raw message
Documentation/devicetree/bindings/sound/wlf,wm8974.yaml deleted +0 -41
41 lines not on this page · raw message
Documentation/devicetree/bindings/sound/wm8770.txt deleted +0 -16
@@ -1,16 +0,0 @@ -WM8770 audio CODEC - -This device supports SPI. - -Required properties: - - - compatible : "wlf,wm8770" - - - reg : the chip select number. - -Example: - -wm8770: codec@1 { - compatible = "wlf,wm8770"; - reg = <1>; -};
Signature · 1 line
2.34.1
Quoted 67 lines · Frank Li
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 <[email protected]>---
change in v2
- update title to Trivial Audio Codecs
- update maintainer to rob
- add reset-gpios
- add charles keepax reviewed-by tag.
- add below
cirrus,cs4349
cirrus,cs4341a
cirrus,cs4265
"adi,ssm2602", "adi,ssm2603", "adi,ssm2604"
ti,pcm1792a
ti,pcm1789 (Add reset-gpios)
ti,pcm5102a
dlg,da9055-codec (already added v1).--- .../bindings/sound/adi,max98363.yaml | 60 -------------- .../devicetree/bindings/sound/adi,ssm2602.txt | 19 ----- .../bindings/sound/adi,ssm3515.yaml | 49 ------------ .../devicetree/bindings/sound/cs4265.txt | 29 ------- .../devicetree/bindings/sound/cs4341.txt | 22 ------ .../devicetree/bindings/sound/cs4349.txt | 19 ----- .../devicetree/bindings/sound/da9055.txt | 22 ------ .../bindings/sound/nuvoton,nau8540.yaml | 40 ---------- .../bindings/sound/nuvoton,nau8810.yaml | 45 ----------- .../bindings/sound/nxp,tfa9879.yaml | 44 ----------- .../bindings/sound/nxp,uda1342.yaml | 42 ---------- .../devicetree/bindings/sound/pcm1789.txt | 22 ------ .../devicetree/bindings/sound/pcm179x.txt | 27 ------- .../devicetree/bindings/sound/pcm5102a.txt | 13 --- .../bindings/sound/trivial-codec.yaml | 79 +++++++++++++++++++ .../devicetree/bindings/sound/wlf,wm8510.yaml | 41 ---------- .../devicetree/bindings/sound/wlf,wm8523.yaml | 40 ---------- .../devicetree/bindings/sound/wlf,wm8580.yaml | 42 ---------- .../devicetree/bindings/sound/wlf,wm8711.yaml | 40 ---------- .../devicetree/bindings/sound/wlf,wm8728.yaml | 40 ---------- .../devicetree/bindings/sound/wlf,wm8737.yaml | 40 ---------- .../devicetree/bindings/sound/wlf,wm8750.yaml | 42 ---------- .../devicetree/bindings/sound/wlf,wm8753.yaml | 62 --------------- .../devicetree/bindings/sound/wlf,wm8776.yaml | 41 ---------- .../devicetree/bindings/sound/wlf,wm8961.yaml | 43 ---------- .../devicetree/bindings/sound/wlf,wm8974.yaml | 41 ---------- .../devicetree/bindings/sound/wm8770.txt | 16 ---- 27 files changed, 79 insertions(+), 941 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/adi,max98363.yaml delete mode 100644 Documentation/devicetree/bindings/sound/adi,ssm2602.txt delete mode 100644 Documentation/devicetree/bindings/sound/adi,ssm3515.yaml delete mode 100644 Documentation/devicetree/bindings/sound/cs4265.txt delete mode 100644 Documentation/devicetree/bindings/sound/cs4341.txt delete mode 100644 Documentation/devicetree/bindings/sound/cs4349.txt delete mode 100644 Documentation/devicetree/bindings/sound/da9055.txt delete mode 100644 Documentation/devicetree/bindings/sound/nuvoton,nau8540.yaml delete mode 100644 Documentation/devicetree/bindings/sound/nuvoton,nau8810.yaml delete mode 100644 Documentation/devicetree/bindings/sound/nxp,tfa9879.yaml delete mode 100644 Documentation/devicetree/bindings/sound/nxp,uda1342.yaml delete mode 100644 Documentation/devicetree/bindings/sound/pcm1789.txt delete mode 100644 Documentation/devicetree/bindings/sound/pcm179x.txt delete mode 100644 Documentation/devicetree/bindings/sound/pcm5102a.txt create mode 100644 Documentation/devicetree/bindings/sound/trivial-codec.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8510.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8523.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8580.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8711.yaml
Quoted 9 lines
delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8728.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8737.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8750.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8753.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8776.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8961.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8974.yaml delete mode 100644 Documentation/devicetree/bindings/sound/wm8770.txt
Mark Brown
maintainerQuoted 4 lines · Frank Li
Consolidate simple audio codec (one compatible string, one reg, one optional reset-gpios and '#sound-dai-cells' 0) to a
trivial-codec.yaml.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: dt-bindings: consolidate simple audio codec to trivial-codec.yaml
commit: 4acbfcf11cbe6c46c42091b49875c7002b0bff3d
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark