Commit 21dd3020 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Mark Brown

ASoC: dt-bindings: sun50i-codec-analog: Add headphone amp regulator supply

On the Allwinner A64 SoC, the audio codec has a built-in headphone
amplifier. This amplifier has a power supply separate from the rest of
the analog audio circuitry.

Add a regulator supply property to handle this.
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 33404f3f
...@@ -4,9 +4,11 @@ Required properties: ...@@ -4,9 +4,11 @@ Required properties:
- compatible: must be one of the following compatibles: - compatible: must be one of the following compatibles:
- "allwinner,sun50i-a64-codec-analog" - "allwinner,sun50i-a64-codec-analog"
- reg: must contain the registers location and length - reg: must contain the registers location and length
- cpvdd-supply: Regulator supply for the headphone amplifier
Example: Example:
codec_analog: codec-analog@1f015c0 { codec_analog: codec-analog@1f015c0 {
compatible = "allwinner,sun50i-a64-codec-analog"; compatible = "allwinner,sun50i-a64-codec-analog";
reg = <0x01f015c0 0x4>; reg = <0x01f015c0 0x4>;
cpvdd-supply = <&reg_eldo1>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment