ASoC: dt-bindings: Add/Update #sound-dai-cells to Tegra related codecs
Subsystems (5)
v2 cover ASoC: dt-bindings: Add/Update #sound-dai-cells to Tegra related codecs
Add/Update #sound-dai-cells to some codecs often used by Tegra devices. Document #sound-dai-cells property for i2s and ac97 nodes of Tegra20 and Tegra30 devices since they all provide a single dai cell. Add these properties to SoC level Tegra audio-related nodes. This is required for creating more complex audio paths.
---
- fix dai cells in wlf,wm8994
- fix commit message in maxim,max98088
---
Svyatoslav Ryhel (7):
ASoC: dt-bindings: maxim,max98088: Document #sound-dai-cells property
ASoC: dt-bindings: realtek,alc5632: Document #sound-dai-cells property
ASoC: dt-bindings: realtek,rt5631: Document #sound-dai-cells property
ASoC: dt-bindings: wlf,wm8903: Document #sound-dai-cells property
ASoC: dt-bindings: wlf,wm8994: Update #sound-dai-cells property
ASoC: dt-bindings: nvidia,tegra20/tegra30: Document #sound-dai-cells
property
ARM: tegra: Add '#sound-dai-cells' property for audio-related nodes
.../devicetree/bindings/sound/maxim,max98088.yaml | 8 +++++++- .../devicetree/bindings/sound/nvidia,tegra20-ac97.yaml | 8 +++++++- .../devicetree/bindings/sound/nvidia,tegra20-i2s.yaml | 8 +++++++- .../devicetree/bindings/sound/nvidia,tegra30-i2s.yaml | 8 +++++++- .../devicetree/bindings/sound/realtek,alc5632.yaml | 8 +++++++- .../devicetree/bindings/sound/realtek,rt5631.yaml | 8 +++++++- .../devicetree/bindings/sound/wlf,wm8903.yaml | 8 +++++++- .../devicetree/bindings/sound/wlf,wm8994.yaml | 2 +- arch/arm/boot/dts/nvidia/tegra114.dtsi | 10 ++++++++++ arch/arm/boot/dts/nvidia/tegra124.dtsi | 10 ++++++++++ arch/arm/boot/dts/nvidia/tegra20.dtsi | 7 +++++++ arch/arm/boot/dts/nvidia/tegra30.dtsi | 10 ++++++++++ 12 files changed, 87 insertions(+), 8 deletions(-)
Signature · 1 line
2.53.0
PATCH v2 1/7 ASoC: dt-bindings: maxim,max98088: Document #sound-dai-cells property
The Maxim MAX98088 codec provides two DAI cells.
--- .../devicetree/bindings/sound/maxim,max98088.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/sound/maxim,max98088.yaml +7 -1
@@ -9,6 +9,9 @@ title: MAX98088 audio CODEC maintainers: - Abdulrasaq Lawani <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -26,11 +29,14 @@ properties: items: - const: mclk + '#sound-dai-cells': + const: 1 + required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - |
Signature · 1 line
2.53.0
PATCH v2 2/7 ASoC: dt-bindings: realtek,alc5632: Document #sound-dai-cells property
In reply to Svyatoslav RyhelThe Realtek ALC5632 codec provides a single DAI cell.
--- .../devicetree/bindings/sound/realtek,alc5632.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/sound/realtek,alc5632.yaml +7 -1
@@ -28,6 +28,9 @@ description: | maintainers: - Leon Romanovsky <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: realtek,alc5632
@@ -40,13 +43,16 @@ properties: gpio-controller: true + '#sound-dai-cells': + const: 0 + required: - compatible - reg - '#gpio-cells' - gpio-controller -additionalProperties: false +unevaluatedProperties: false examples: - |
Signature · 1 line
2.53.0
Re: [PATCH v2 2/7] ASoC: dt-bindings: realtek,alc5632: Document #sound-dai-cells property
Quoted 7 lines · Svyatoslav Ryhel
The Realtek ALC5632 codec provides a single DAI cell.
Signed-off-by Svyatoslav Ryhel <[email protected]>--- .../devicetree/bindings/sound/realtek,alc5632.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
PATCH v2 3/7 ASoC: dt-bindings: realtek,rt5631: Document #sound-dai-cells property
In reply to Svyatoslav RyhelThe Realtek RT5631 codec provides a single DAI cell.
--- .../devicetree/bindings/sound/realtek,rt5631.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/sound/realtek,rt5631.yaml +7 -1
@@ -36,6 +36,9 @@ description: | * MICBIAS1 * MICBIAS2 +allOf: + - $ref: dai-common.yaml# + properties: compatible: enum:
@@ -49,11 +52,14 @@ properties: $ref: audio-graph-port.yaml# unevaluatedProperties: false + '#sound-dai-cells': + const: 0 + required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - |
Signature · 1 line
2.53.0
PATCH v2 4/7 ASoC: dt-bindings: wlf,wm8903: Document #sound-dai-cells property
In reply to Svyatoslav RyhelThe Wolfson Microelectronics WM8903 codec provides a single DAI cell.
--- Documentation/devicetree/bindings/sound/wlf,wm8903.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/sound/wlf,wm8903.yaml +7 -1
@@ -29,6 +29,9 @@ description: | maintainers: - [email protected] +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: wlf,wm8903
@@ -75,13 +78,16 @@ properties: DCVDD-supply: description: Digital core supply regulator for the DCVDD pin. + '#sound-dai-cells': + const: 0 + required: - compatible - reg - gpio-controller - '#gpio-cells' -additionalProperties: false +unevaluatedProperties: false examples: - |
Signature · 1 line
2.53.0
PATCH v2 5/7 ASoC: dt-bindings: wlf,wm8994: Update #sound-dai-cells property
In reply to Svyatoslav RyhelThe Wolfson Microelectronics WM8994 codec provides three DAI cells.
--- Documentation/devicetree/bindings/sound/wlf,wm8994.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/sound/wlf,wm8994.yaml +1 -1
@@ -69,7 +69,7 @@ properties: SPKVDD2-supply: true '#sound-dai-cells': - const: 0 + enum: [0, 1] wlf,gpio-cfg: $ref: /schemas/types.yaml#/definitions/uint32-array
Signature · 1 line
2.53.0
PATCH v2 6/7 ASoC: dt-bindings: nvidia,tegra20/tegra30: Document #sound-dai-cells property
In reply to Svyatoslav RyhelThe Tegra20 AC97, Tegra20 I2S, and Tegra30 I2S controllers each provide a single DAI cell.
--- .../devicetree/bindings/sound/nvidia,tegra20-ac97.yaml | 8 +++++++- .../devicetree/bindings/sound/nvidia,tegra20-i2s.yaml | 8 +++++++- .../devicetree/bindings/sound/nvidia,tegra30-i2s.yaml | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.yaml +7 -1
@@ -10,6 +10,9 @@ maintainers: - Thierry Reding <[email protected]> - Jon Hunter <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: nvidia,tegra20-ac97
@@ -45,6 +48,9 @@ properties: description: AC97 DAP _FS line maxItems: 1 + '#sound-dai-cells': + const: 0 + required: - compatible - reg
@@ -57,7 +63,7 @@ required: - nvidia,codec-reset-gpios - nvidia,codec-sync-gpios -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.yaml +7 -1
@@ -15,6 +15,9 @@ maintainers: - Thierry Reding <[email protected]> - Jon Hunter <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: nvidia,tegra20-i2s
@@ -49,6 +52,9 @@ properties: limiting number of supportable audio rates. type: boolean + '#sound-dai-cells': + const: 0 + required: - compatible - reg
@@ -59,7 +65,7 @@ required: - dmas - dma-names -additionalProperties: false +unevaluatedProperties: false examples: - |
Documentation/devicetree/bindings/sound/nvidia,tegra30-i2s.yaml +7 -1
@@ -10,6 +10,9 @@ maintainers: - Thierry Reding <[email protected]> - Jon Hunter <[email protected]> +allOf: + - $ref: dai-common.yaml# + properties: compatible: oneOf:
@@ -42,6 +45,9 @@ properties: - description: rx (playback) - description: tx (capture) + '#sound-dai-cells': + const: 0 + required: - compatible - reg
@@ -50,7 +56,7 @@ required: - reset-names - nvidia,ahub-cif-ids -additionalProperties: false +unevaluatedProperties: false examples: - |
Signature · 1 line
2.53.0
PATCH v2 7/7 ARM: tegra: Add '#sound-dai-cells' property for audio-related nodes
In reply to Svyatoslav RyhelAdd the '#sound-dai-cells' property to audio-related nodes to support more advanced audio routing configurations.
--- arch/arm/boot/dts/nvidia/tegra114.dtsi | 10 ++++++++++ arch/arm/boot/dts/nvidia/tegra124.dtsi | 10 ++++++++++ arch/arm/boot/dts/nvidia/tegra20.dtsi | 7 +++++++ arch/arm/boot/dts/nvidia/tegra30.dtsi | 10 ++++++++++ 4 files changed, 37 insertions(+)
arch/arm/boot/dts/nvidia/tegra114.dtsi +10 -0
@@ -881,6 +881,8 @@ tegra_i2s0: i2s@70080300 { clocks = <&tegra_car TEGRA114_CLK_I2S0>; resets = <&tegra_car 30>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -891,6 +893,8 @@ tegra_i2s1: i2s@70080400 { clocks = <&tegra_car TEGRA114_CLK_I2S1>; resets = <&tegra_car 11>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -901,6 +905,8 @@ tegra_i2s2: i2s@70080500 { clocks = <&tegra_car TEGRA114_CLK_I2S2>; resets = <&tegra_car 18>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -911,6 +917,8 @@ tegra_i2s3: i2s@70080600 { clocks = <&tegra_car TEGRA114_CLK_I2S3>; resets = <&tegra_car 101>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -921,6 +929,8 @@ tegra_i2s4: i2s@70080700 { clocks = <&tegra_car TEGRA114_CLK_I2S4>; resets = <&tegra_car 102>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; }; };
arch/arm/boot/dts/nvidia/tegra124.dtsi +10 -0
@@ -1125,6 +1125,8 @@ tegra_i2s0: i2s@70301000 { clocks = <&tegra_car TEGRA124_CLK_I2S0>; resets = <&tegra_car 30>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -1135,6 +1137,8 @@ tegra_i2s1: i2s@70301100 { clocks = <&tegra_car TEGRA124_CLK_I2S1>; resets = <&tegra_car 11>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -1145,6 +1149,8 @@ tegra_i2s2: i2s@70301200 { clocks = <&tegra_car TEGRA124_CLK_I2S2>; resets = <&tegra_car 18>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -1155,6 +1161,8 @@ tegra_i2s3: i2s@70301300 { clocks = <&tegra_car TEGRA124_CLK_I2S3>; resets = <&tegra_car 101>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -1165,6 +1173,8 @@ tegra_i2s4: i2s@70301400 { clocks = <&tegra_car TEGRA124_CLK_I2S4>; resets = <&tegra_car 102>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; }; };
arch/arm/boot/dts/nvidia/tegra20.dtsi +7 -0
@@ -405,6 +405,8 @@ tegra_ac97: ac97@70002000 { reset-names = "ac97"; dmas = <&apbdma 12>, <&apbdma 12>; dma-names = "rx", "tx"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -419,6 +421,7 @@ tegra_spdif: spdif@70002400 { dmas = <&apbdma 3>, <&apbdma 3>; dma-names = "rx", "tx"; #sound-dai-cells = <0>; + status = "disabled"; assigned-clocks = <&tegra_car TEGRA20_CLK_SPDIF_OUT>;
@@ -434,6 +437,8 @@ tegra_i2s1: i2s@70002800 { reset-names = "i2s"; dmas = <&apbdma 2>, <&apbdma 2>; dma-names = "rx", "tx"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -446,6 +451,8 @@ tegra_i2s2: i2s@70002a00 { reset-names = "i2s"; dmas = <&apbdma 1>, <&apbdma 1>; dma-names = "rx", "tx"; + #sound-dai-cells = <0>; + status = "disabled"; };
arch/arm/boot/dts/nvidia/tegra30.dtsi +10 -0
@@ -1043,6 +1043,8 @@ tegra_i2s0: i2s@70080300 { clocks = <&tegra_car TEGRA30_CLK_I2S0>; resets = <&tegra_car 30>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -1053,6 +1055,8 @@ tegra_i2s1: i2s@70080400 { clocks = <&tegra_car TEGRA30_CLK_I2S1>; resets = <&tegra_car 11>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -1063,6 +1067,8 @@ tegra_i2s2: i2s@70080500 { clocks = <&tegra_car TEGRA30_CLK_I2S2>; resets = <&tegra_car 18>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -1073,6 +1079,8 @@ tegra_i2s3: i2s@70080600 { clocks = <&tegra_car TEGRA30_CLK_I2S3>; resets = <&tegra_car 101>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; };
@@ -1083,6 +1091,8 @@ tegra_i2s4: i2s@70080700 { clocks = <&tegra_car TEGRA30_CLK_I2S4>; resets = <&tegra_car 102>; reset-names = "i2s"; + #sound-dai-cells = <0>; + status = "disabled"; }; };
Signature · 1 line
2.53.0
Mark Brown
maintainerRe: (subset) [PATCH v2 0/7] ASoC: dt-bindings: Add/Update #sound-dai-cells to Tegra related codecs
In reply to Svyatoslav RyhelQuoted 9 lines · Svyatoslav Ryhel
ASoC: dt-bindings: Add/Update #sound-dai-cells to Tegra related codecs
Add/Update #sound-dai-cells to some codecs often used by Tegra devices. Document #sound-dai-cells property for i2s and ac97 nodes of Tegra20 and Tegra30 devices since they all provide a single dai cell. Add these properties to SoC level Tegra audio-related nodes. This is required for creating more complex audio paths.
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.5
Thanks!
[1/7] ASoC: dt-bindings: maxim,max98088: Document #sound-dai-cells property
https://git.kernel.org/broonie/sound/c/062bf3ac1ff2 [3/7] ASoC: dt-bindings: realtek,rt5631: Document #sound-dai-cells property https://git.kernel.org/broonie/sound/c/084a4da7eee3 [4/7] ASoC: dt-bindings: wlf,wm8903: Document #sound-dai-cells property https://git.kernel.org/broonie/sound/c/0f4a5bcb3245 [5/7] ASoC: dt-bindings: wlf,wm8994: Update #sound-dai-cells property https://git.kernel.org/broonie/sound/c/c90862fdb96e [6/7] ASoC: dt-bindings: nvidia,tegra20/tegra30: Document #sound-dai-cells property https://git.kernel.org/broonie/sound/c/6ffb307005e8
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