xref: /freebsd/sys/contrib/device-tree/Bindings/sound/allwinner,sun50i-a64-codec-analog.yaml (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/allwinner,sun50i-a64-codec-analog.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A64 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    const: allwinner,sun50i-a64-codec-analog
16
17  reg:
18    maxItems: 1
19
20  cpvdd-supply:
21    description:
22      Regulator for the headphone amplifier
23
24required:
25  - compatible
26  - reg
27  - cpvdd-supply
28
29additionalProperties: false
30
31examples:
32  - |
33    codec_analog: codec-analog@1f015c0 {
34      compatible = "allwinner,sun50i-a64-codec-analog";
35      reg = <0x01f015c0 0x4>;
36      cpvdd-supply = <&reg_eldo1>;
37    };
38
39...
40