1 From 4e72722bfb7dec028e11278a924bb8bef3e10897 Mon Sep 17 00:00:00 2001
2 From: Samuel Holland <samuel@sholland.org>
3 Date: Sat, 13 Nov 2021 10:48:24 -0600
4 Subject: [PATCH 067/117] ASoC: dt-bindings: sun4i-spdif: Add compatible for D1
6 D1 mostly keeps the existing register layout, but it separates the
7 module clock into separate clocks for the RX block and the TX block.
9 Signed-off-by: Samuel Holland <samuel@sholland.org>
11 .../sound/allwinner,sun4i-a10-spdif.yaml | 54 +++++++++++++++----
12 1 file changed, 44 insertions(+), 10 deletions(-)
14 --- a/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml
15 +++ b/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml
16 @@ -18,10 +18,12 @@ properties:
20 - - const: allwinner,sun4i-a10-spdif
21 - - const: allwinner,sun6i-a31-spdif
22 - - const: allwinner,sun8i-h3-spdif
23 - - const: allwinner,sun50i-h6-spdif
25 + - allwinner,sun4i-a10-spdif
26 + - allwinner,sun6i-a31-spdif
27 + - allwinner,sun8i-h3-spdif
28 + - allwinner,sun20i-d1-spdif
29 + - allwinner,sun50i-h6-spdif
31 - const: allwinner,sun8i-a83t-spdif
32 - const: allwinner,sun8i-h3-spdif
33 @@ -36,14 +38,12 @@ properties:
38 - - description: Bus Clock
39 - - description: Module Clock
50 # Even though it only applies to subschemas under the conditionals,
51 # not listing them here will trigger a warning because of the
52 @@ -59,8 +59,42 @@ allOf:
56 + - allwinner,sun20i-d1-spdif
62 + - description: Bus Clock
63 + - description: RX Module Clock
64 + - description: TX Module Clock
76 + - description: Bus Clock
77 + - description: Module Clock
89 - allwinner,sun6i-a31-spdif
90 - allwinner,sun8i-h3-spdif
91 + - allwinner,sun20i-d1-spdif
92 - allwinner,sun50i-h6-spdif