[1/3] ASoC: dt-bindings: Extend name-prefix.yaml into common DAI properties
Commit Message
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>
---
This is an output of discussion here:
https://lore.kernel.org/all/Y255C+TGNVJ9fs8A@sirena.org.uk/
---
.../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%)
Comments
Hello:
This series was applied to chrome-platform/linux.git (for-kernelci)
by Mark Brown <broonie@kernel.org>:
On Sat, 3 Dec 2022 17:04:40 +0100 you wrote:
> 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>
>
> [...]
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!
Hello:
This series was applied to chrome-platform/linux.git (for-next)
by Mark Brown <broonie@kernel.org>:
On Sat, 3 Dec 2022 17:04:40 +0100 you wrote:
> 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>
>
> [...]
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!
@@ -11,7 +11,7 @@ maintainers:
- Neil Armstrong <neil.armstrong@linaro.org>
allOf:
- - $ref: /schemas/sound/name-prefix.yaml#
+ - $ref: /schemas/sound/dai-common.yaml#
description: |
The Amlogic Meson Synopsys Designware Integration is composed of
@@ -10,7 +10,7 @@ maintainers:
- Jerome Brunet <jbrunet@baylibre.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
$nodename:
@@ -10,7 +10,7 @@ maintainers:
- Jerome Brunet <jbrunet@baylibre.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
$nodename:
@@ -10,7 +10,7 @@ maintainers:
- Jerome Brunet <jbrunet@baylibre.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
$nodename:
@@ -15,7 +15,7 @@ description:
function (primarily the power limit for the amplifier).
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
compatible:
similarity index 81%
rename from Documentation/devicetree/bindings/sound/name-prefix.yaml
rename to Documentation/devicetree/bindings/sound/dai-common.yaml
@@ -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 <jbrunet@baylibre.com>
@@ -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
@@ -10,7 +10,7 @@ maintainers:
- Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
compatible:
@@ -10,7 +10,7 @@ maintainers:
- Mark Brown <broonie@kernel.org>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
compatible:
@@ -23,7 +23,7 @@ maintainers:
- Sameer Pujar <spujar@nvidia.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
$nodename:
@@ -18,7 +18,7 @@ maintainers:
- Sameer Pujar <spujar@nvidia.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
$nodename:
@@ -19,7 +19,7 @@ maintainers:
- Sameer Pujar <spujar@nvidia.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
$nodename:
@@ -18,7 +18,7 @@ maintainers:
- Sameer Pujar <spujar@nvidia.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
$nodename:
@@ -17,7 +17,7 @@ maintainers:
- Sameer Pujar <spujar@nvidia.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
$nodename:
@@ -17,7 +17,7 @@ maintainers:
- Sameer Pujar <spujar@nvidia.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
$nodename:
@@ -17,7 +17,7 @@ maintainers:
- Sameer Pujar <spujar@nvidia.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
$nodename:
@@ -20,7 +20,7 @@ maintainers:
- Sameer Pujar <spujar@nvidia.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
$nodename:
@@ -17,7 +17,7 @@ maintainers:
- Sameer Pujar <spujar@nvidia.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
compatible:
@@ -17,7 +17,7 @@ maintainers:
- Sameer Pujar <spujar@nvidia.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
$nodename:
@@ -10,7 +10,7 @@ maintainers:
- Stephan Gerhold <stephan@gerhold.net>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
compatible:
@@ -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'.
@@ -10,7 +10,7 @@ maintainers:
- Jerome Brunet <jbrunet@baylibre.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
compatible:
@@ -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:
@@ -14,7 +14,7 @@ maintainers:
- Matt Flax <flatmax@flatmax.com>
allOf:
- - $ref: name-prefix.yaml#
+ - $ref: dai-common.yaml#
properties:
compatible: