WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / sound / allwinner,sun8i-a33-codec.yaml
blob67405e6d816857c80b06160337fbacd006690733
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/allwinner,sun8i-a33-codec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A33 Codec Device Tree Bindings
9 maintainers:
10   - Chen-Yu Tsai <wens@csie.org>
11   - Maxime Ripard <mripard@kernel.org>
13 properties:
14   "#sound-dai-cells":
15     const: 0
17   compatible:
18     oneOf:
19       - items:
20           - const: allwinner,sun50i-a64-codec
21           - const: allwinner,sun8i-a33-codec
22       - const: allwinner,sun8i-a33-codec
24   reg:
25     maxItems: 1
27   interrupts:
28     maxItems: 1
30   clocks:
31     items:
32       - description: Bus Clock
33       - description: Module Clock
35   clock-names:
36     items:
37       - const: bus
38       - const: mod
40 required:
41   - "#sound-dai-cells"
42   - compatible
43   - reg
44   - interrupts
45   - clocks
46   - clock-names
48 additionalProperties: false
50 examples:
51   - |
52     audio-codec@1c22e00 {
53       #sound-dai-cells = <0>;
54       compatible = "allwinner,sun8i-a33-codec";
55       reg = <0x01c22e00 0x400>;
56       interrupts = <0 29 4>;
57       clocks = <&ccu 47>, <&ccu 92>;
58       clock-names = "bus", "mod";
59     };
61 ...