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
7title: Allwinner A23 Analog Codec Device Tree Bindings
8
9maintainers:
10  - Chen-Yu Tsai <wens@csie.org>
11  - Maxime Ripard <mripard@kernel.org>
12
13properties:
14  compatible:
15    enum:
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      - allwinner,sun8i-h3-codec-analog
20      - allwinner,sun8i-v3s-codec-analog
21
22  reg:
23    maxItems: 1
24
25required:
26  - compatible
27  - reg
28
29additionalProperties: false
30
31examples:
32  - |
33    codec_analog: codec-analog@1f015c0 {
34      compatible = "allwinner,sun8i-h3-codec-analog";
35      reg = <0x01f015c0 0x4>;
36    };
37
38...
39