Skip to content

Commit 57b3c13

Browse files
wensbroonie
authored andcommitted
ASoC: sun4i-spdif: Fix requirements for H6
When the H6 was added to the bindings, only the TX DMA channel was added. As the hardware supports both transmit and receive functions, the binding is missing the RX DMA channel and is thus incorrect. Also, the reset control was not made mandatory. Add the RX DMA channel for SPDIF on H6 by removing the compatible from the list of compatibles that should only have a TX DMA channel. And add the H6 compatible to the list of compatibles that require the reset control to be present. Fixes: b204530 ("dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://msgid.link/r/20240127163247.384439-2-wens@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 0adf963 commit 57b3c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ allOf:
6262
enum:
6363
- allwinner,sun6i-a31-spdif
6464
- allwinner,sun8i-h3-spdif
65+
- allwinner,sun50i-h6-spdif
6566

6667
then:
6768
required:
@@ -73,7 +74,6 @@ allOf:
7374
contains:
7475
enum:
7576
- allwinner,sun8i-h3-spdif
76-
- allwinner,sun50i-h6-spdif
7777

7878
then:
7979
properties:

0 commit comments

Comments
 (0)