xref: /freebsd/sys/contrib/device-tree/Bindings/sound/allwinner,sun50i-a64-codec-analog.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/allwinner,sun50i-a64-codec-analog.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: Allwinner A64 Analog Codec
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Chen-Yu Tsai <wens@csie.org>
11c66ec88fSEmmanuel Vadot  - Maxime Ripard <mripard@kernel.org>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotproperties:
14c66ec88fSEmmanuel Vadot  compatible:
15c66ec88fSEmmanuel Vadot    const: allwinner,sun50i-a64-codec-analog
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadot  reg:
18c66ec88fSEmmanuel Vadot    maxItems: 1
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadot  cpvdd-supply:
21c66ec88fSEmmanuel Vadot    description:
22c66ec88fSEmmanuel Vadot      Regulator for the headphone amplifier
23c66ec88fSEmmanuel Vadot
24b97ee269SEmmanuel Vadot  allwinner,internal-bias-resistor:
25b97ee269SEmmanuel Vadot    description:
26b97ee269SEmmanuel Vadot      Enable the internal 2.2K bias resistor between HBIAS and MICDET pins
27b97ee269SEmmanuel Vadot    type: boolean
28b97ee269SEmmanuel Vadot
29c66ec88fSEmmanuel Vadotrequired:
30c66ec88fSEmmanuel Vadot  - compatible
31c66ec88fSEmmanuel Vadot  - reg
32c66ec88fSEmmanuel Vadot  - cpvdd-supply
33c66ec88fSEmmanuel Vadot
34c66ec88fSEmmanuel VadotadditionalProperties: false
35c66ec88fSEmmanuel Vadot
36c66ec88fSEmmanuel Vadotexamples:
37c66ec88fSEmmanuel Vadot  - |
38c66ec88fSEmmanuel Vadot    codec_analog: codec-analog@1f015c0 {
39c66ec88fSEmmanuel Vadot      compatible = "allwinner,sun50i-a64-codec-analog";
40c66ec88fSEmmanuel Vadot      reg = <0x01f015c0 0x4>;
41c66ec88fSEmmanuel Vadot      cpvdd-supply = <&reg_eldo1>;
42c66ec88fSEmmanuel Vadot    };
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel Vadot...
45