xref: /freebsd/sys/contrib/device-tree/Bindings/sound/allwinner,sun8i-a23-codec-analog.yaml (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
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
8
9maintainers:
10  - Chen-Yu Tsai <wens@csie.org>
11  - Maxime Ripard <mripard@kernel.org>
12
13properties:
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
28required:
29  - compatible
30  - reg
31
32additionalProperties: false
33
34examples:
35  - |
36    codec_analog: codec-analog@1f015c0 {
37      compatible = "allwinner,sun8i-h3-codec-analog";
38      reg = <0x01f015c0 0x4>;
39    };
40
41...
42