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
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
24  allwinner,internal-bias-resistor:
25    description:
26      Enable the internal 2.2K bias resistor between HBIAS and MICDET pins
27    type: boolean
28
29required:
30  - compatible
31  - reg
32  - cpvdd-supply
33
34additionalProperties: false
35
36examples:
37  - |
38    codec_analog: codec-analog@1f015c0 {
39      compatible = "allwinner,sun50i-a64-codec-analog";
40      reg = <0x01f015c0 0x4>;
41      cpvdd-supply = <&reg_eldo1>;
42    };
43
44...
45