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

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.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221203160442.69594-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
3fda8532 b5d50519

+26 -24
+1 -1
Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml
··· 11 11 - Neil Armstrong <neil.armstrong@linaro.org> 12 12 13 13 allOf: 14 - - $ref: /schemas/sound/name-prefix.yaml# 14 + - $ref: /schemas/sound/dai-common.yaml# 15 15 16 16 description: | 17 17 The Amlogic Meson Synopsys Designware Integration is composed of
+1 -1
Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
··· 10 10 - Jerome Brunet <jbrunet@baylibre.com> 11 11 12 12 allOf: 13 - - $ref: name-prefix.yaml# 13 + - $ref: dai-common.yaml# 14 14 15 15 properties: 16 16 $nodename:
+1 -1
Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml
··· 10 10 - Jerome Brunet <jbrunet@baylibre.com> 11 11 12 12 allOf: 13 - - $ref: name-prefix.yaml# 13 + - $ref: dai-common.yaml# 14 14 15 15 properties: 16 16 $nodename:
+1 -1
Documentation/devicetree/bindings/sound/amlogic,t9015.yaml
··· 10 10 - Jerome Brunet <jbrunet@baylibre.com> 11 11 12 12 allOf: 13 - - $ref: name-prefix.yaml# 13 + - $ref: dai-common.yaml# 14 14 15 15 properties: 16 16 $nodename:
+1 -1
Documentation/devicetree/bindings/sound/awinic,aw8738.yaml
··· 15 15 function (primarily the power limit for the amplifier). 16 16 17 17 allOf: 18 - - $ref: name-prefix.yaml# 18 + - $ref: dai-common.yaml# 19 19 20 20 properties: 21 21 compatible:
+1 -1
Documentation/devicetree/bindings/sound/dmic-codec.yaml
··· 10 10 - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> 11 11 12 12 allOf: 13 - - $ref: name-prefix.yaml# 13 + - $ref: dai-common.yaml# 14 14 15 15 properties: 16 16 compatible:
+1 -1
Documentation/devicetree/bindings/sound/linux,spdif-dit.yaml
··· 10 10 - Mark Brown <broonie@kernel.org> 11 11 12 12 allOf: 13 - - $ref: name-prefix.yaml# 13 + - $ref: dai-common.yaml# 14 14 15 15 properties: 16 16 compatible:
+4 -2
Documentation/devicetree/bindings/sound/name-prefix.yaml Documentation/devicetree/bindings/sound/dai-common.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 2 %YAML 1.2 3 3 --- 4 - $id: http://devicetree.org/schemas/sound/name-prefix.yaml# 4 + $id: http://devicetree.org/schemas/sound/dai-common.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 - title: Component sound name prefix 7 + title: Digital Audio Interface Common Properties 8 8 9 9 maintainers: 10 10 - Jerome Brunet <jbrunet@baylibre.com> ··· 17 17 audio components as list of string pair. Component using the same 18 18 sink/source names may use this property to prepend the name of their 19 19 sinks/sources with the provided string. 20 + 21 + '#sound-dai-cells': true 20 22 21 23 additionalProperties: true
+1 -1
Documentation/devicetree/bindings/sound/nvidia,tegra186-asrc.yaml
··· 23 23 - Sameer Pujar <spujar@nvidia.com> 24 24 25 25 allOf: 26 - - $ref: name-prefix.yaml# 26 + - $ref: dai-common.yaml# 27 27 28 28 properties: 29 29 $nodename:
+1 -1
Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml
··· 18 18 - Sameer Pujar <spujar@nvidia.com> 19 19 20 20 allOf: 21 - - $ref: name-prefix.yaml# 21 + - $ref: dai-common.yaml# 22 22 23 23 properties: 24 24 $nodename:
+1 -1
Documentation/devicetree/bindings/sound/nvidia,tegra210-adx.yaml
··· 19 19 - Sameer Pujar <spujar@nvidia.com> 20 20 21 21 allOf: 22 - - $ref: name-prefix.yaml# 22 + - $ref: dai-common.yaml# 23 23 24 24 properties: 25 25 $nodename:
+1 -1
Documentation/devicetree/bindings/sound/nvidia,tegra210-amx.yaml
··· 18 18 - Sameer Pujar <spujar@nvidia.com> 19 19 20 20 allOf: 21 - - $ref: name-prefix.yaml# 21 + - $ref: dai-common.yaml# 22 22 23 23 properties: 24 24 $nodename:
+1 -1
Documentation/devicetree/bindings/sound/nvidia,tegra210-dmic.yaml
··· 17 17 - Sameer Pujar <spujar@nvidia.com> 18 18 19 19 allOf: 20 - - $ref: name-prefix.yaml# 20 + - $ref: dai-common.yaml# 21 21 22 22 properties: 23 23 $nodename:
+1 -1
Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml
··· 17 17 - Sameer Pujar <spujar@nvidia.com> 18 18 19 19 allOf: 20 - - $ref: name-prefix.yaml# 20 + - $ref: dai-common.yaml# 21 21 22 22 properties: 23 23 $nodename:
+1 -1
Documentation/devicetree/bindings/sound/nvidia,tegra210-mixer.yaml
··· 17 17 - Sameer Pujar <spujar@nvidia.com> 18 18 19 19 allOf: 20 - - $ref: name-prefix.yaml# 20 + - $ref: dai-common.yaml# 21 21 22 22 properties: 23 23 $nodename:
+1 -1
Documentation/devicetree/bindings/sound/nvidia,tegra210-mvc.yaml
··· 20 20 - Sameer Pujar <spujar@nvidia.com> 21 21 22 22 allOf: 23 - - $ref: name-prefix.yaml# 23 + - $ref: dai-common.yaml# 24 24 25 25 properties: 26 26 $nodename:
+1 -1
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml
··· 17 17 - Sameer Pujar <spujar@nvidia.com> 18 18 19 19 allOf: 20 - - $ref: name-prefix.yaml# 20 + - $ref: dai-common.yaml# 21 21 22 22 properties: 23 23 compatible:
+1 -1
Documentation/devicetree/bindings/sound/nvidia,tegra210-sfc.yaml
··· 17 17 - Sameer Pujar <spujar@nvidia.com> 18 18 19 19 allOf: 20 - - $ref: name-prefix.yaml# 20 + - $ref: dai-common.yaml# 21 21 22 22 properties: 23 23 $nodename:
+1 -1
Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml
··· 10 10 - Stephan Gerhold <stephan@gerhold.net> 11 11 12 12 allOf: 13 - - $ref: name-prefix.yaml# 13 + - $ref: dai-common.yaml# 14 14 15 15 properties: 16 16 compatible:
+1 -1
Documentation/devicetree/bindings/sound/rt5659.txt
··· 42 42 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. 43 43 - realtek,reset-gpios : The GPIO that controls the CODEC's RESET pin. 44 44 45 - - sound-name-prefix: Please refer to name-prefix.yaml 45 + - sound-name-prefix: Please refer to dai-common.yaml 46 46 47 47 - ports: A Codec may have a single or multiple I2S interfaces. These 48 48 interfaces on Codec side can be described under 'ports' or 'port'.
+1 -1
Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml
··· 10 10 - Jerome Brunet <jbrunet@baylibre.com> 11 11 12 12 allOf: 13 - - $ref: name-prefix.yaml# 13 + - $ref: dai-common.yaml# 14 14 15 15 properties: 16 16 compatible:
+1 -1
Documentation/devicetree/bindings/sound/simple-audio-mux.yaml
··· 14 14 their input line is connected to the output line. 15 15 16 16 allOf: 17 - - $ref: name-prefix.yaml# 17 + - $ref: dai-common.yaml# 18 18 19 19 properties: 20 20 compatible:
+1 -1
Documentation/devicetree/bindings/sound/ti,src4xxx.yaml
··· 14 14 - Matt Flax <flatmax@flatmax.com> 15 15 16 16 allOf: 17 - - $ref: name-prefix.yaml# 17 + - $ref: dai-common.yaml# 18 18 19 19 properties: 20 20 compatible: