Merge commit '81fd23e2b3ccf71c807e671444e8accaba98ca53' of https://git.pengutronix...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / allwinner,sun8i-a23-codec-analog.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/allwinner,sun8i-a23-codec-analog.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Allwinner A23 Analog Codec Device Tree Bindings
8
9 maintainers:
10   - Chen-Yu Tsai <wens@csie.org>
11   - Maxime Ripard <mripard@kernel.org>
12
13 properties:
14   compatible:
15     oneOf:
16       # FIXME: This is documented in the PRCM binding, but needs to be
17       # migrated here at some point
18       # - allwinner,sun8i-a23-codec-analog
19       - const: allwinner,sun8i-h3-codec-analog
20       - items:
21           - const: allwinner,sun8i-v3-codec-analog
22           - const: allwinner,sun8i-h3-codec-analog
23       - const: allwinner,sun8i-v3s-codec-analog
24
25   reg:
26     maxItems: 1
27
28 required:
29   - compatible
30   - reg
31
32 additionalProperties: false
33
34 examples:
35   - |
36     codec_analog: codec-analog@1f015c0 {
37       compatible = "allwinner,sun8i-h3-codec-analog";
38       reg = <0x01f015c0 0x4>;
39     };
40
41 ...