ASoC: dt-bindings: Extend name-prefix.yaml into common DAI properties
Subsystems (31)
PATCH 1/3 ASoC: dt-bindings: Extend name-prefix.yaml into common DAI properties
Rename name-prefix.yaml into common DAI schema and document '#sound-dai-cells' for completeness. The '#sound-dai-cells' cannot be really constrained, as there are users with value of 0, 1 and 2, but at least it brings definition to one common place.
---
This is an output of discussion here:
https://lore.kernel.org/all/[email protected]/
---
.../devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml | 2 +-
Documentation/devicetree/bindings/sound/amlogic,aiu.yaml | 2 +-
.../devicetree/bindings/sound/amlogic,g12a-toacodec.yaml | 2 +-
Documentation/devicetree/bindings/sound/amlogic,t9015.yaml | 2 +-
Documentation/devicetree/bindings/sound/awinic,aw8738.yaml | 2 +-
.../bindings/sound/{name-prefix.yaml => dai-common.yaml} | 6 ++++--
Documentation/devicetree/bindings/sound/dmic-codec.yaml | 2 +-
.../devicetree/bindings/sound/linux,spdif-dit.yaml | 2 +-
.../devicetree/bindings/sound/nvidia,tegra186-asrc.yaml | 2 +-
.../devicetree/bindings/sound/nvidia,tegra186-dspk.yaml | 2 +-
.../devicetree/bindings/sound/nvidia,tegra210-adx.yaml | 2 +-
.../devicetree/bindings/sound/nvidia,tegra210-amx.yaml | 2 +-
.../devicetree/bindings/sound/nvidia,tegra210-dmic.yaml | 2 +-
.../devicetree/bindings/sound/nvidia,tegra210-i2s.yaml | 2 +-
.../devicetree/bindings/sound/nvidia,tegra210-mixer.yaml | 2 +-
.../devicetree/bindings/sound/nvidia,tegra210-mvc.yaml | 2 +-
.../devicetree/bindings/sound/nvidia,tegra210-ope.yaml | 2 +-
.../devicetree/bindings/sound/nvidia,tegra210-sfc.yaml | 2 +-
Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml | 2 +-
Documentation/devicetree/bindings/sound/rt5659.txt | 2 +-
.../devicetree/bindings/sound/simple-audio-amplifier.yaml | 2 +-
.../devicetree/bindings/sound/simple-audio-mux.yaml | 2 +-
Documentation/devicetree/bindings/sound/ti,src4xxx.yaml | 2 +-
23 files changed, 26 insertions(+), 24 deletions(-)
rename Documentation/devicetree/bindings/sound/{name-prefix.yaml => dai-common.yaml} (81%)Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml +1 -1
@@ -11,7 +11,7 @@ maintainers: - Neil Armstrong <[email protected]> allOf: - - $ref: /schemas/sound/name-prefix.yaml# + - $ref: /schemas/sound/dai-common.yaml# description: | The Amlogic Meson Synopsys Designware Integration is composed of
Documentation/devicetree/bindings/sound/amlogic,aiu.yaml +1 -1
@@ -10,7 +10,7 @@ maintainers: - Jerome Brunet <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: $nodename:
Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml +1 -1
@@ -10,7 +10,7 @@ maintainers: - Jerome Brunet <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: $nodename:
Documentation/devicetree/bindings/sound/amlogic,t9015.yaml +1 -1
@@ -10,7 +10,7 @@ maintainers: - Jerome Brunet <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: $nodename:
Documentation/devicetree/bindings/sound/awinic,aw8738.yaml +1 -1
@@ -15,7 +15,7 @@ description: function (primarily the power limit for the amplifier). allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: compatible:
Documentation/devicetree/bindings/sound/dai-common.yaml renamed from Documentation/devicetree/bindings/sound/name-prefix.yaml +4 -2
@@ -1,10 +1,10 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/sound/name-prefix.yaml# +$id: http://devicetree.org/schemas/sound/dai-common.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Component sound name prefix +title: Digital Audio Interface Common Properties maintainers: - Jerome Brunet <[email protected]>
@@ -18,4 +18,6 @@ properties: sink/source names may use this property to prepend the name of their sinks/sources with the provided string. + '#sound-dai-cells': true + additionalProperties: true
Documentation/devicetree/bindings/sound/dmic-codec.yaml +1 -1
@@ -10,7 +10,7 @@ maintainers: - Arnaud Pouliquen <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: compatible:
Documentation/devicetree/bindings/sound/linux,spdif-dit.yaml +1 -1
@@ -10,7 +10,7 @@ maintainers: - Mark Brown <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: compatible:
Documentation/devicetree/bindings/sound/nvidia,tegra186-asrc.yaml +1 -1
@@ -23,7 +23,7 @@ maintainers: - Sameer Pujar <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: $nodename:
Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml +1 -1
@@ -18,7 +18,7 @@ maintainers: - Sameer Pujar <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: $nodename:
Documentation/devicetree/bindings/sound/nvidia,tegra210-adx.yaml +1 -1
@@ -19,7 +19,7 @@ maintainers: - Sameer Pujar <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: $nodename:
Documentation/devicetree/bindings/sound/nvidia,tegra210-amx.yaml +1 -1
@@ -18,7 +18,7 @@ maintainers: - Sameer Pujar <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: $nodename:
Documentation/devicetree/bindings/sound/nvidia,tegra210-dmic.yaml +1 -1
@@ -17,7 +17,7 @@ maintainers: - Sameer Pujar <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: $nodename:
Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml +1 -1
@@ -17,7 +17,7 @@ maintainers: - Sameer Pujar <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: $nodename:
Documentation/devicetree/bindings/sound/nvidia,tegra210-mixer.yaml +1 -1
@@ -17,7 +17,7 @@ maintainers: - Sameer Pujar <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: $nodename:
Documentation/devicetree/bindings/sound/nvidia,tegra210-mvc.yaml +1 -1
@@ -20,7 +20,7 @@ maintainers: - Sameer Pujar <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: $nodename:
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml +1 -1
@@ -17,7 +17,7 @@ maintainers: - Sameer Pujar <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: compatible:
Documentation/devicetree/bindings/sound/nvidia,tegra210-sfc.yaml +1 -1
@@ -17,7 +17,7 @@ maintainers: - Sameer Pujar <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: $nodename:
Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml +1 -1
@@ -10,7 +10,7 @@ maintainers: - Stephan Gerhold <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: compatible:
Documentation/devicetree/bindings/sound/rt5659.txt +1 -1
@@ -42,7 +42,7 @@ Optional properties: - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. - realtek,reset-gpios : The GPIO that controls the CODEC's RESET pin. -- sound-name-prefix: Please refer to name-prefix.yaml +- sound-name-prefix: Please refer to dai-common.yaml - ports: A Codec may have a single or multiple I2S interfaces. These interfaces on Codec side can be described under 'ports' or 'port'.
Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml +1 -1
@@ -10,7 +10,7 @@ maintainers: - Jerome Brunet <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: compatible:
Documentation/devicetree/bindings/sound/simple-audio-mux.yaml +1 -1
@@ -14,7 +14,7 @@ description: | their input line is connected to the output line. allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: compatible:
Documentation/devicetree/bindings/sound/ti,src4xxx.yaml +1 -1
@@ -14,7 +14,7 @@ maintainers: - Matt Flax <[email protected]> allOf: - - $ref: name-prefix.yaml# + - $ref: dai-common.yaml# properties: compatible:
Signature · 1 line
2.34.1
PATCH 2/3 ASoC: dt-bindings: Reference common DAI properties
Reference in all sound components which have '#sound-dai-cells' the dai-common.yaml schema, which allows to use 'sound-name-prefix' property.
---
This is an output of discussion here:
https://lore.kernel.org/all/[email protected]/
This patch supersedes previous WSA883x one.
--- .../bindings/sound/adi,adau1372.yaml | 5 +++- .../bindings/sound/adi,adau1977.yaml | 1 + .../bindings/sound/adi,adau7118.yaml | 5 +++- .../devicetree/bindings/sound/ak4375.yaml | 5 +++- .../devicetree/bindings/sound/ak4613.yaml | 5 +++- .../devicetree/bindings/sound/ak4642.yaml | 5 +++- .../sound/allwinner,sun4i-a10-codec.yaml | 3 +- .../sound/allwinner,sun4i-a10-i2s.yaml | 3 +- .../sound/allwinner,sun4i-a10-spdif.yaml | 3 +- .../sound/allwinner,sun50i-h6-dmic.yaml | 5 +++- .../sound/allwinner,sun8i-a33-codec.yaml | 5 +++- .../devicetree/bindings/sound/apple,mca.yaml | 5 +++- .../bindings/sound/cirrus,cs35l41.yaml | 3 +- .../bindings/sound/cirrus,cs35l45.yaml | 5 +++- .../bindings/sound/cirrus,cs42l51.yaml | 5 +++- .../bindings/sound/cirrus,lochnagar.yaml | 5 +++- .../bindings/sound/cirrus,madera.yaml | 3 ++ .../bindings/sound/davinci-mcasp-audio.yaml | 3 +- .../bindings/sound/everest,es8316.yaml | 5 +++- .../devicetree/bindings/sound/fsl,sai.yaml | 3 +- .../bindings/sound/google,cros-ec-codec.yaml | 5 +++- .../bindings/sound/ingenic,aic.yaml | 5 +++- .../bindings/sound/ingenic,codec.yaml | 5 +++- .../bindings/sound/intel,keembay-i2s.yaml | 5 +++- .../bindings/sound/linux,bt-sco.yaml | 5 +++- .../bindings/sound/marvell,mmp-sspa.yaml | 5 +++- .../bindings/sound/mchp,i2s-mcc.yaml | 18 ++++++----- .../bindings/sound/mchp,spdiftx.yaml | 5 +++- .../bindings/sound/microchip,pdmc.yaml | 5 +++- .../bindings/sound/nvidia,tegra20-spdif.yaml | 5 +++- .../bindings/sound/qcom,lpass-cpu.yaml | 3 +- .../bindings/sound/qcom,lpass-rx-macro.yaml | 5 +++- .../bindings/sound/qcom,lpass-tx-macro.yaml | 5 +++- .../bindings/sound/qcom,lpass-va-macro.yaml | 5 +++- .../bindings/sound/qcom,lpass-wsa-macro.yaml | 5 +++- .../bindings/sound/qcom,q6adm-routing.yaml | 5 +++- .../bindings/sound/qcom,q6apm-lpass-dais.yaml | 5 +++- .../devicetree/bindings/sound/qcom,q6apm.yaml | 1 + .../bindings/sound/qcom,wcd938x.yaml | 5 +++- .../bindings/sound/qcom,wsa883x.yaml | 7 ++++- .../bindings/sound/realtek,rt5682s.yaml | 5 +++- .../bindings/sound/renesas,fsi.yaml | 5 +++- .../bindings/sound/renesas,rsnd.yaml | 3 +- .../bindings/sound/renesas,rz-ssi.yaml | 5 +++- .../bindings/sound/richtek,rt9120.yaml | 5 +++- .../bindings/sound/rockchip,i2s-tdm.yaml | 5 +++- .../bindings/sound/rockchip,pdm.yaml | 5 +++- .../bindings/sound/rockchip,rk3328-codec.yaml | 5 +++- .../bindings/sound/rockchip-i2s.yaml | 5 +++- .../bindings/sound/rockchip-spdif.yaml | 23 +++++++------- .../bindings/sound/rohm,bd28623.yaml | 5 +++- .../bindings/sound/samsung-i2s.yaml | 5 +++- .../devicetree/bindings/sound/sgtl5000.yaml | 5 +++- .../bindings/sound/snps,designware-i2s.yaml | 30 +++++++++---------- .../sound/socionext,uniphier-aio.yaml | 5 +++- .../sound/socionext,uniphier-evea.yaml | 5 +++- .../bindings/sound/st,stm32-i2s.yaml | 5 +++- .../bindings/sound/st,stm32-spdifrx.yaml | 5 +++- .../devicetree/bindings/sound/tas2562.yaml | 5 +++- .../devicetree/bindings/sound/tas2770.yaml | 5 +++- .../devicetree/bindings/sound/tas27xx.yaml | 5 +++- .../bindings/sound/ti,tlv320adc3xxx.yaml | 5 +++- .../bindings/sound/wlf,arizona.yaml | 3 ++ .../devicetree/bindings/sound/wlf,wm8731.yaml | 1 + .../devicetree/bindings/sound/wlf,wm8940.yaml | 5 +++- .../devicetree/bindings/sound/wlf,wm8961.yaml | 5 +++- .../devicetree/bindings/sound/wlf,wm8962.yaml | 5 +++- .../devicetree/bindings/sound/wlf,wm8978.yaml | 5 +++- .../devicetree/bindings/sound/zl38060.yaml | 5 +++- 69 files changed, 276 insertions(+), 95 deletions(-)
Documentation/devicetree/bindings/sound/adi,adau1372.yaml +4 -1
@@ -14,6 +14,9 @@ description: | Analog Devices ADAU1372 four inputs and two outputs codec. https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.pdf +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -42,7 +45,7 @@ required: - clocks - clock-names -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/adi,adau1977.yaml +1 -0
@@ -51,6 +51,7 @@ required: - AVDD-supply allOf: + - $ref: dai-common.yaml# - $ref: /schemas/spi/spi-peripheral-props.yaml# unevaluatedProperties: false
Documentation/devicetree/bindings/sound/adi,adau7118.yaml +4 -1
@@ -15,6 +15,9 @@ description: | standalone mode. https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU7118.pdf +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -57,7 +60,7 @@ required: - iovdd-supply - dvdd-supply -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/ak4375.yaml +4 -1
@@ -9,6 +9,9 @@ title: AK4375 DAC and headphones amplifier maintainers: - Vincent Knecht <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: asahi-kasei,ak4375
@@ -35,7 +38,7 @@ required: - avdd-supply - tvdd-supply -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/ak4613.yaml +4 -1
@@ -9,6 +9,9 @@ title: AK4613 I2C transmitter maintainers: - Kuninori Morimoto <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: asahi-kasei,ak4613
@@ -35,7 +38,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/ak4642.yaml +4 -1
@@ -9,6 +9,9 @@ title: AK4642 I2C transmitter maintainers: - Kuninori Morimoto <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -37,7 +40,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-codec.yaml +2 -1
@@ -102,6 +102,7 @@ required: - dma-names allOf: + - $ref: dai-common.yaml# - if: properties: compatible:
@@ -228,7 +229,7 @@ allOf: - Mic - Speaker -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml +2 -1
@@ -61,6 +61,7 @@ properties: maxItems: 1 allOf: + - $ref: dai-common.yaml# - if: properties: compatible:
@@ -128,7 +129,7 @@ required: - dmas - dma-names -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml +2 -1
@@ -54,6 +54,7 @@ properties: maxItems: 1 allOf: + - $ref: dai-common.yaml# - if: properties: compatible:
@@ -104,7 +105,7 @@ required: - dmas - dma-names -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml +4 -1
@@ -9,6 +9,9 @@ title: Allwinner H6 DMIC maintainers: - Ban Tao <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: oneOf:
@@ -59,7 +62,7 @@ required: - dma-names - resets -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/allwinner,sun8i-a33-codec.yaml +4 -1
@@ -10,6 +10,9 @@ maintainers: - Chen-Yu Tsai <[email protected]> - Maxime Ripard <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: "#sound-dai-cells": minimum: 0
@@ -49,7 +52,7 @@ required: - clocks - clock-names -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/apple,mca.yaml +4 -1
@@ -14,6 +14,9 @@ description: | maintainers: - Martin Povišer <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: items:
@@ -106,7 +109,7 @@ required: - power-domains - '#sound-dai-cells' -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml +2 -1
@@ -146,6 +146,7 @@ required: - "#sound-dai-cells" allOf: + - $ref: dai-common.yaml# - if: properties: cirrus,boost-type:
@@ -171,7 +172,7 @@ allOf: cirrus,gpio1-src-select: enum: [1] -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/cirrus,cs35l45.yaml +4 -1
@@ -14,6 +14,9 @@ description: | CS35L45 is a Boosted Mono Class D Amplifier with DSP Speaker Protection and Adaptive Battery Management. +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -52,7 +55,7 @@ required: - reg - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml +4 -1
@@ -9,6 +9,9 @@ title: CS42L51 audio codec DT bindings maintainers: - Olivier Moysan <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: cirrus,cs42l51
@@ -46,7 +49,7 @@ required: - reg - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/cirrus,lochnagar.yaml +4 -1
@@ -24,6 +24,9 @@ description: | This binding must be part of the Lochnagar MFD binding: [1] ../mfd/cirrus,lochnagar.yaml +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -49,4 +52,4 @@ required: - clocks - clock-names -additionalProperties: false +unevaluatedProperties: false
Documentation/devicetree/bindings/sound/cirrus,madera.yaml +3 -0
@@ -22,6 +22,9 @@ description: | The properties are all contained in the parent MFD node. +allOf: + - $ref: dai-common.yaml# + properties: '#sound-dai-cells': description:
Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml +2 -1
@@ -167,6 +167,7 @@ required: - interrupt-names allOf: + - $ref: dai-common.yaml# - if: properties: opmode:
@@ -177,7 +178,7 @@ allOf: required: - tdm-slots -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/everest,es8316.yaml +4 -1
@@ -10,6 +10,9 @@ maintainers: - Daniel Drake <[email protected]> - Katsuhiro Suzuki <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: everest,es8316
@@ -33,7 +36,7 @@ required: - reg - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/fsl,sai.yaml +2 -1
@@ -140,6 +140,7 @@ properties: description: optional, some dts node didn't add it. allOf: + - $ref: dai-common.yaml# - if: properties: compatible:
@@ -181,7 +182,7 @@ required: - dma-names - interrupts -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml +4 -1
@@ -17,6 +17,9 @@ description: | subnode of a cros-ec node. (see Documentation/devicetree/bindings/mfd/google,cros-ec.yaml). +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: google,cros-ec-codec
@@ -42,7 +45,7 @@ required: - compatible - '#sound-dai-cells' -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/ingenic,aic.yaml +4 -1
@@ -9,6 +9,9 @@ title: Ingenic SoCs AC97 / I2S Controller (AIC) DT bindings maintainers: - Paul Cercueil <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: $nodename: pattern: '^audio-controller@'
@@ -53,7 +56,7 @@ properties: - const: rx - const: tx -additionalProperties: false +unevaluatedProperties: false required: - compatible
Documentation/devicetree/bindings/sound/ingenic,codec.yaml +4 -1
@@ -9,6 +9,9 @@ title: Ingenic JZ47xx internal codec DT bindings maintainers: - Paul Cercueil <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: $nodename: pattern: '^audio-codec@.*'
@@ -37,7 +40,7 @@ properties: '#sound-dai-cells': const: 0 -additionalProperties: false +unevaluatedProperties: false required: - compatible
Documentation/devicetree/bindings/sound/intel,keembay-i2s.yaml +4 -1
@@ -13,6 +13,9 @@ maintainers: description: | Intel KeemBay I2S +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -64,7 +67,7 @@ required: - clock-names - interrupts -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/linux,bt-sco.yaml +4 -1
@@ -9,6 +9,9 @@ title: Bluetooth SCO Audio Codec maintainers: - Mark Brown <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: '#sound-dai-cells': enum:
@@ -26,7 +29,7 @@ required: - '#sound-dai-cells' - compatible -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/marvell,mmp-sspa.yaml +4 -1
@@ -9,6 +9,9 @@ title: Marvel SSPA Digital Audio Interface Bindings maintainers: - Lubomir Rintel <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: $nodename: pattern: "^audio-controller(@.*)?$"
@@ -73,7 +76,7 @@ required: - dma-names - port -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/mchp,i2s-mcc.yaml +10 -8
@@ -66,13 +66,15 @@ properties: enum: [0, 1, 2, 3] default: 0 -if: - properties: - compatible: - const: microchip,sam9x60-i2smcc -then: - properties: - microchip,tdm-data-pair: false +allOf: + - $ref: dai-common.yaml# + - if: + properties: + compatible: + const: microchip,sam9x60-i2smcc + then: + properties: + microchip,tdm-data-pair: false required: - "#sound-dai-cells"
@@ -84,7 +86,7 @@ required: - dmas - dma-names -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/mchp,spdiftx.yaml +4 -1
@@ -13,6 +13,9 @@ description: The Microchip Sony/Philips Digital Interface Transmitter is a serial port compliant with the IEC-60958 standard. +allOf: + - $ref: dai-common.yaml# + properties: "#sound-dai-cells": const: 0
@@ -53,7 +56,7 @@ required: - dmas - dma-names -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/microchip,pdmc.yaml +4 -1
@@ -13,6 +13,9 @@ description: The Microchip Pulse Density Microphone Controller (PDMC) interfaces up to 4 digital microphones having Pulse Density Modulated (PDM) outputs. +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: microchip,sama7g5-pdmc
@@ -75,7 +78,7 @@ required: - dma-names - microchip,mic-pos -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/nvidia,tegra20-spdif.yaml +4 -1
@@ -16,6 +16,9 @@ maintainers: - Thierry Reding <[email protected]> - Jon Hunter <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: nvidia,tegra20-spdif
@@ -66,7 +69,7 @@ required: - dma-names - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml +2 -1
@@ -109,9 +109,10 @@ required: - interrupt-names - '#sound-dai-cells' -additionalProperties: false +unevaluatedProperties: false allOf: + - $ref: dai-common.yaml# - if: properties: compatible:
Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml +4 -1
@@ -9,6 +9,9 @@ title: LPASS(Low Power Audio Subsystem) RX Macro audio codec DT bindings maintainers: - Srinivas Kandagatla <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -58,7 +61,7 @@ required: - reg - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml +4 -1
@@ -9,6 +9,9 @@ title: LPASS(Low Power Audio Subsystem) TX Macro audio codec DT bindings maintainers: - Srinivas Kandagatla <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -62,7 +65,7 @@ required: - reg - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml +4 -1
@@ -9,6 +9,9 @@ title: LPASS(Low Power Audio Subsystem) VA Macro audio codec DT bindings maintainers: - Srinivas Kandagatla <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -61,7 +64,7 @@ required: - reg - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml +4 -1
@@ -9,6 +9,9 @@ title: LPASS(Low Power Audio Subsystem) VA Macro audio codec DT bindings maintainers: - Srinivas Kandagatla <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -52,7 +55,7 @@ required: - reg - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/qcom,q6adm-routing.yaml +4 -1
@@ -14,6 +14,9 @@ description: Qualcomm Audio Device Manager (Q6ADM) routing node represents routing specific configuration. +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -26,7 +29,7 @@ required: - compatible - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/qcom,q6apm-lpass-dais.yaml +4 -1
@@ -10,6 +10,9 @@ maintainers: - Krzysztof Kozlowski <[email protected]> - Srinivas Kandagatla <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -22,7 +25,7 @@ required: - compatible - '#sound-dai-cells' -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/qcom,q6apm.yaml +1 -0
@@ -11,6 +11,7 @@ maintainers: - Srinivas Kandagatla <[email protected]> allOf: + - $ref: dai-common.yaml# - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# properties:
Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml +4 -1
@@ -13,6 +13,9 @@ description: | Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC. It has RX and TX Soundwire slave devices. +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -106,7 +109,7 @@ required: - qcom,micbias4-microvolt - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml +6 -1
@@ -15,6 +15,9 @@ description: | Their primary operating mode uses a SoundWire digital audio interface. This binding is for SoundWire interface. +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: sdw10217020200
@@ -43,7 +46,7 @@ required: - "#thermal-sensor-cells" - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
@@ -61,6 +64,7 @@ examples: vdd-supply = <&vreg_s10b_1p8>; #thermal-sensor-cells = <0>; #sound-dai-cells = <0>; + sound-name-prefix = "SpkrLeft"; }; speaker@0,2 {
@@ -70,6 +74,7 @@ examples: vdd-supply = <&vreg_s10b_1p8>; #thermal-sensor-cells = <0>; #sound-dai-cells = <0>; + sound-name-prefix = "SpkrRight"; }; };
Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml +4 -1
@@ -12,6 +12,9 @@ maintainers: description: | Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only. +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: realtek,rt5682s
@@ -104,7 +107,7 @@ properties: description: Regulator supplying power to the digital core and charge pump through the LDO1_IN pin. -additionalProperties: false +unevaluatedProperties: false required: - compatible
Documentation/devicetree/bindings/sound/renesas,fsi.yaml +4 -1
@@ -9,6 +9,9 @@ title: Renesas FIFO-buffered Serial Interface (FSI) maintainers: - Kuninori Morimoto <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: $nodename: pattern: "^sound@.*"
@@ -64,7 +67,7 @@ required: - power-domains - '#sound-dai-cells' -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/renesas,rsnd.yaml +2 -1
@@ -274,6 +274,7 @@ required: - "#sound-dai-cells" allOf: + - $ref: dai-common.yaml# - if: properties: compatible:
@@ -304,7 +305,7 @@ allOf: - ssi - audmapp -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/renesas,rz-ssi.yaml +4 -1
@@ -9,6 +9,9 @@ title: Renesas RZ/{G2L,V2L} ASoC Sound Serial Interface (SSIF-2) maintainers: - Biju Das <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: items:
@@ -90,7 +93,7 @@ required: - resets - '#sound-dai-cells' -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/richtek,rt9120.yaml +4 -1
@@ -16,6 +16,9 @@ description: | applications like as TV, monitors. home entertainment, electronic music equipment. +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -42,7 +45,7 @@ required: - dvdd-supply - '#sound-dai-cells' -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yaml +4 -1
@@ -14,6 +14,9 @@ description: maintainers: - Nicolas Frattaroli <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -138,7 +141,7 @@ required: - reset-names - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/rockchip,pdm.yaml +4 -1
@@ -16,6 +16,9 @@ description: maintainers: - Heiko Stuebner <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -83,7 +86,7 @@ required: - dma-names - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/rockchip,rk3328-codec.yaml +4 -1
@@ -8,6 +8,9 @@ title: Rockchip rk3328 internal codec maintainers: - Heiko Stuebner <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible:
@@ -53,7 +56,7 @@ required: - rockchip,grf - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/rockchip-i2s.yaml +4 -1
@@ -13,6 +13,9 @@ description: maintainers: - Heiko Stuebner <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: oneOf:
@@ -111,7 +114,7 @@ required: - dma-names - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/rockchip-spdif.yaml +12 -11
@@ -75,17 +75,18 @@ required: - dma-names - "#sound-dai-cells" -if: - properties: - compatible: - contains: - const: rockchip,rk3288-spdif - -then: - required: - - rockchip,grf - -additionalProperties: false +allOf: + - $ref: dai-common.yaml# + - if: + properties: + compatible: + contains: + const: rockchip,rk3288-spdif + then: + required: + - rockchip,grf + +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/rohm,bd28623.yaml +4 -1
@@ -14,6 +14,9 @@ description: maintainers: - Katsuhiro Suzuki <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: rohm,bd28623
@@ -50,7 +53,7 @@ required: - VCCP2-supply - "#sound-dai-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/samsung-i2s.yaml +4 -1
@@ -10,6 +10,9 @@ maintainers: - Krzysztof Kozlowski <[email protected]> - Sylwester Nawrocki <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: description: |
@@ -124,7 +127,7 @@ required: - clocks - clock-names -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/sgtl5000.yaml +4 -1
@@ -9,6 +9,9 @@ title: Freescale SGTL5000 Stereo Codec maintainers: - Fabio Estevam <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: fsl,sgtl5000
@@ -88,7 +91,7 @@ required: - VDDA-supply - VDDIO-supply -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/snps,designware-i2s.yaml +15 -15
@@ -50,21 +50,21 @@ properties: - const: rx minItems: 1 -if: - properties: - compatible: - contains: - const: canaan,k210-i2s - -then: - properties: - "#sound-dai-cells": - const: 1 - -else: - properties: - "#sound-dai-cells": - const: 0 +allOf: + - $ref: dai-common.yaml# + - if: + properties: + compatible: + contains: + const: canaan,k210-i2s + then: + properties: + "#sound-dai-cells": + const: 1 + else: + properties: + "#sound-dai-cells": + const: 0 required: - compatible
Documentation/devicetree/bindings/sound/socionext,uniphier-aio.yaml +4 -1
@@ -9,6 +9,9 @@ title: UniPhier AIO audio system maintainers: - <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -70,7 +73,7 @@ patternProperties: $ref: audio-graph-port.yaml# unevaluatedProperties: false -additionalProperties: false +unevaluatedProperties: false required: - compatible
Documentation/devicetree/bindings/sound/socionext,uniphier-evea.yaml +4 -1
@@ -9,6 +9,9 @@ title: UniPhier EVEA SoC-internal sound codec maintainers: - <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: socionext,uniphier-evea
@@ -48,7 +51,7 @@ patternProperties: $ref: audio-graph-port.yaml# unevaluatedProperties: false -additionalProperties: false +unevaluatedProperties: false required: - compatible
Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml +4 -1
@@ -13,6 +13,9 @@ description: The SPI/I2S block supports I2S/PCM protocols when configured on I2S mode. Only some SPI instances support I2S. +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -68,7 +71,7 @@ required: - dmas - dma-names -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/st,stm32-spdifrx.yaml +4 -1
@@ -13,6 +13,9 @@ description: | The SPDIFRX peripheral, is designed to receive an S/PDIF flow compliant with IEC-60958 and IEC-61937. +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -57,7 +60,7 @@ required: - dmas - dma-names -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/tas2562.yaml +4 -1
@@ -22,6 +22,9 @@ description: | https://www.ti.com/lit/gpn/tas2564 https://www.ti.com/lit/gpn/tas2110 +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -58,7 +61,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/tas2770.yaml +4 -1
@@ -16,6 +16,9 @@ description: | Integrated speaker voltage and current sense provides for real time monitoring of loudspeaker behavior. +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -60,7 +63,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/tas27xx.yaml +4 -1
@@ -16,6 +16,9 @@ description: | loudspeakers. Integrated speaker voltage and current sense provides for real time monitoring of loudspeaker behavior. +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -53,7 +56,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/ti,tlv320adc3xxx.yaml +4 -1
@@ -14,6 +14,9 @@ description: | https://www.ti.com/product/TLV320ADC3001 https://www.ti.com/product/TLV320ADC3101 +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -106,7 +109,7 @@ required: - reg - clocks -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/wlf,arizona.yaml +3 -0
@@ -16,6 +16,9 @@ description: | This document lists sound specific bindings, see the primary binding document ../mfd/arizona.yaml +allOf: + - $ref: dai-common.yaml# + properties: '#sound-dai-cells': description:
Documentation/devicetree/bindings/sound/wlf,wm8731.yaml +1 -0
@@ -61,6 +61,7 @@ required: - DCVDD-supply allOf: + - $ref: dai-common.yaml# - $ref: /schemas/spi/spi-peripheral-props.yaml# unevaluatedProperties: false
Documentation/devicetree/bindings/sound/wlf,wm8940.yaml +4 -1
@@ -9,6 +9,9 @@ title: Wolfson WM8940 Codec maintainers: - [email protected] +allOf: + - $ref: dai-common.yaml# + properties: '#sound-dai-cells': const: 0
@@ -27,7 +30,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/wlf,wm8961.yaml +4 -1
@@ -9,6 +9,9 @@ title: Wolfson WM8961 Ultra-Low Power Stereo CODEC maintainers: - [email protected] +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: wlf,wm8961
@@ -24,7 +27,7 @@ required: - reg - '#sound-dai-cells' -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/wlf,wm8962.yaml +4 -1
@@ -9,6 +9,9 @@ title: Wolfson WM8962 Ultra-Low Power Stereo CODEC maintainers: - [email protected] +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: wlf,wm8962
@@ -87,7 +90,7 @@ required: - SPKVDD1-supply - SPKVDD2-supply -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/wlf,wm8978.yaml +4 -1
@@ -9,6 +9,9 @@ title: Wolfson WM8978 Codec maintainers: - [email protected] +allOf: + - $ref: dai-common.yaml# + properties: '#sound-dai-cells': const: 0
@@ -27,7 +30,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/zl38060.yaml +4 -1
@@ -15,6 +15,9 @@ maintainers: - Jaroslav Kysela <[email protected]> - Takashi Iwai <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: mscc,zl38060
@@ -48,7 +51,7 @@ required: - gpio-controller - '#sound-dai-cells' -additionalProperties: false +unevaluatedProperties: false examples: - |
Signature · 1 line
2.34.1
Nicolas Frattaroli
maintainerRe: [PATCH 2/3] ASoC: dt-bindings: Reference common DAI properties
Quoted 6 lines · On Samstag, 3. Dezember 2022 17:04:41 CET Krzysztof Kozlowski wrote:
Reference in all sound components which have '#sound-dai-cells' the
dai-common.yamlschema, which allows to use 'sound-name-prefix' property.Signed-off-by Krzysztof Kozlowski <[email protected]>
Quoted 7 lines
---
This is an output of discussion here:
https://lore.kernel.org/all/[email protected]/This patch supersedes previous WSA883x one.
---
Hello,
for rockchip,i2s-tdm, we get some (new?) warnings with W=1:
/home/fratti/Projekte/linux/arch/arm64/boot/dts/rockchip/rk3566-pinenote-v1.1.dtb: i2s@fe420000: reset-names:0: 'm' is not one of ['tx-m', 'rx-m']
From schema: /home/fratti/Projekte/linux/Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yaml
DTC_CHK arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dtb
/home/fratti/Projekte/linux/arch/arm64/boot/dts/rockchip/rk3566-pinenote-v1.2.dtb: i2s@fe420000: reset-names:0: 'm' is not one of ['tx-m', 'rx-m']
From schema: /home/fratti/Projekte/linux/Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yaml
DTC_CHK arch/arm64/boot/dts/rockchip/rk3566-soquartz-model-a.dtb
/home/fratti/Projekte/linux/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dtb: i2s@fe420000: reset-names:0: 'm' is not one of ['tx-m', 'rx-m']
From schema: /home/fratti/Projekte/linux/Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yaml
/home/fratti/Projekte/linux/arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dtb: i2s@fe420000: reset-names:0: 'm' is not one of ['tx-m', 'rx-m']
From schema: /home/fratti/Projekte/linux/Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yaml
/home/fratti/Projekte/linux/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dtb: i2s@fe420000: reset-names:0: 'm' is not one of ['tx-m', 'rx-m']
From schema: /home/fratti/Projekte/linux/Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yaml
DTC_CHK arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dtb
/home/fratti/Projekte/linux/arch/arm64/boot/dts/rockchip/rk3566-soquartz-blade.dtb: i2s@fe420000: reset-names:0: 'm' is not one of ['tx-m', 'rx-m']
From schema: /home/fratti/Projekte/linux/Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yaml
DTC_CHK arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dtb
/home/fratti/Projekte/linux/arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dtb: i2s@fe420000: reset-names:0: 'm' is not one of ['tx-m', 'rx-m']
From schema: /home/fratti/Projekte/linux/Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yaml
/home/fratti/Projekte/linux/arch/arm64/boot/dts/rockchip/rk3566-soquartz-model-a.dtb: i2s@fe420000: reset-names:0: 'm' is not one of ['tx-m', 'rx-m']
From schema: /home/fratti/Projekte/linux/Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yamlApparently we don't have separate resets for tx/rx on i2s2 on this hardware. Should we add 'm' to the allowed reset-names for this case?
Cheers,
Nicolas Frattaroli
Re: [PATCH 2/3] ASoC: dt-bindings: Reference common DAI properties
Quoted 15 lines · Nicolas Frattaroli
Quoted 6 lines · On Samstag, 3. Dezember 2022 17:04:41 CET Krzysztof Kozlowski wrote:
Reference in all sound components which have '#sound-dai-cells' the
dai-common.yamlschema, which allows to use 'sound-name-prefix' property.Signed-off-by Krzysztof Kozlowski <[email protected]>Quoted 7 lines
---
This is an output of discussion here:
https://lore.kernel.org/all/[email protected]/This patch supersedes previous WSA883x one.
---
Quoted 6 lines
Hello,
for rockchip,i2s-tdm, we get some (new?) warnings with W=1:
/home/fratti/Projekte/linux/arch/arm64/boot/dts/rockchip/rk3566-pinenote-v1.1.dtb: i2s@fe420000: reset-names:0: 'm' is not one of ['tx-m', 'rx-m']
From schema:/home/fratti/Projekte/linux/Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yaml
I did not touch reset names, so are you sure these are not old warnings?
Best regards,
Krzysztof
Re: [PATCH 2/3] ASoC: dt-bindings: Reference common DAI properties
Quoted 20 lines · On Sonntag, 4. Dezember 2022 17:47:05 CET Krzysztof Kozlowski wrote:
Quoted 19 lines · Nicolas Frattaroli
Quoted 6 lines · On Samstag, 3. Dezember 2022 17:04:41 CET Krzysztof Kozlowski wrote:
Reference in all sound components which have '#sound-dai-cells' the
dai-common.yamlschema, which allows to use 'sound-name-prefix' property.Signed-off-by Krzysztof Kozlowski <[email protected]>Quoted 7 lines
---
This is an output of discussion here:
https://lore.kernel.org/all/[email protected]/This patch supersedes previous WSA883x one.
---Hello,
for rockchip,i2s-tdm, we get some (new?) warnings with W=1:
Quoted 10 lines
Quoted 2 lines
/home/fratti/Projekte/linux/arch/arm64/boot/dts/rockchip/rk3566-pinenote-v1.1.dtb: i2s@fe420000: reset-names:0: 'm' is not one of ['tx-m', 'rx-m']
From schema:/home/fratti/Projekte/linux/Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yamlI did not touch reset names, so are you sure these are not old warnings?
Best regards,
Krzysztof
You are correct, these aren't new, I thought they were due to it now actually checking reset-names or something. However, checking with linux-next/master shows that these were already there. Apologies for the noise.
For rockchip,i2s-tdm:
Kind regards,
Nicolas Frattaroli
PATCH 3/3 ASoC: dt-bindings: maxim,max98357a: Convert to DT schema
In reply to Krzysztof KozlowskiConvert the Maxim Integrated MAX98357A/MAX98360A amplifier bindings to DT schema. Add missing properties ('#sound-dai-cells' and 'sound-name-prefix' from common DAI properties).
---
As a maintainer I added recent contributor to this driver/bindings:
Tzung-Bi Shih. Please ack if you agree to keep an eye on the bindings.
--- .../devicetree/bindings/sound/max98357a.txt | 28 ---------- .../bindings/sound/maxim,max98357a.yaml | 52 +++++++++++++++++++ 2 files changed, 52 insertions(+), 28 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/max98357a.txt create mode 100644 Documentation/devicetree/bindings/sound/maxim,max98357a.yaml
Documentation/devicetree/bindings/sound/max98357a.txt deleted +0 -28
@@ -1,28 +0,0 @@ -Maxim MAX98357A/MAX98360A audio DAC - -This node models the Maxim MAX98357A/MAX98360A DAC. - -Required properties: -- compatible : "maxim,max98357a" for MAX98357A. - "maxim,max98360a" for MAX98360A. - -Optional properties: -- sdmode-gpios : GPIO specifier for the chip's SD_MODE pin. - If this option is not specified then driver does not manage - the pin state (e.g. chip is always on). -- sdmode-delay : specify delay time for SD_MODE pin. - If this option is specified, which means it's required i2s clocks - ready before SD_MODE is unmuted in order to avoid the speaker pop noise. - It's observed that 5ms is sufficient. - -Example: - -max98357a { - compatible = "maxim,max98357a"; - sdmode-gpios = <&qcom_pinmux 25 0>; -}; - -max98360a { - compatible = "maxim,max98360a"; - sdmode-gpios = <&qcom_pinmux 25 0>; -};
Documentation/devicetree/bindings/sound/maxim,max98357a.yaml new file +52 -0
52 lines not on this page · raw message
Signature · 1 line
2.34.1
Mark Brown
maintainerQuoted 6 lines · Krzysztof Kozlowski
Rename
name-prefix.yamlinto common DAI schema and document '#sound-dai-cells' for completeness. The '#sound-dai-cells' cannot be really constrained, as there are users with value of 0, 1 and 2, but at least it brings definition to one common place.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/3] ASoC: dt-bindings: Extend name-prefix.yaml into common DAI properties
commit: 3fda85324b8d7aa01ccfa1bb82c46befc6af518f
[2/3] ASoC: dt-bindings: Reference common DAI properties
commit: 58ae9a2aca6f883dd6fd7b8bfc2e1b1b21a2f03e
[3/3] ASoC: dt-bindings: maxim,max98357a: Convert to DT schema
commit: 8a5a05583a04fcfa094072147eb8f6c9bb2af852All 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
This series was applied to chrome-platform/linux.git (for-kernelci) by Mark Brown <[email protected]>:
Hello:
This series was applied to chrome-platform/linux.git (for-kernelci) by Mark Brown <[email protected]>:
Quoted 8 lines · On Sat, 3 Dec 2022 17:04:40 +0100 you wrote:
Rename
name-prefix.yamlinto common DAI schema and document '#sound-dai-cells' for completeness. The '#sound-dai-cells' cannot be really constrained, as there are users with value of 0, 1 and 2, but at least it brings definition to one common place.Signed-off-by Krzysztof Kozlowski <[email protected]>[...]
Here is the summary with links:
- [1/3] ASoC: dt-bindings: Extend name-prefix.yaml into common DAI properties
https://git.kernel.org/chrome-platform/c/3fda85324b8d - [2/3] ASoC: dt-bindings: Reference common DAI properties https://git.kernel.org/chrome-platform/c/58ae9a2aca6f - [3/3] ASoC: dt-bindings: maxim,max98357a: Convert to DT schema https://git.kernel.org/chrome-platform/c/8a5a05583a04
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
This series was applied to chrome-platform/linux.git (for-next) by Mark Brown <[email protected]>:
Hello:
This series was applied to chrome-platform/linux.git (for-next) by Mark Brown <[email protected]>:
Quoted 8 lines · On Sat, 3 Dec 2022 17:04:40 +0100 you wrote:
Rename
name-prefix.yamlinto common DAI schema and document '#sound-dai-cells' for completeness. The '#sound-dai-cells' cannot be really constrained, as there are users with value of 0, 1 and 2, but at least it brings definition to one common place.Signed-off-by Krzysztof Kozlowski <[email protected]>[...]
Here is the summary with links:
- [1/3] ASoC: dt-bindings: Extend name-prefix.yaml into common DAI properties
https://git.kernel.org/chrome-platform/c/3fda85324b8d - [2/3] ASoC: dt-bindings: Reference common DAI properties https://git.kernel.org/chrome-platform/c/58ae9a2aca6f - [3/3] ASoC: dt-bindings: maxim,max98357a: Convert to DT schema https://git.kernel.org/chrome-platform/c/8a5a05583a04
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html