ASoC: sunxi: sun50i-codec-analog: Add support for cpvdd regulator supply
authorChen-Yu Tsai <wens@csie.org>
Thu, 22 Nov 2018 10:23:19 +0000 (18:23 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 23 Nov 2018 14:01:34 +0000 (14:01 +0000)
commitca0412a05756cd0b94751ca4d54fe6522f00b1f4
tree85834163b06b6f6c695dbedf25fb408ad344e50f
parent21dd30200e3d350fe420d23a2a00b17633a3d1a2
ASoC: sunxi: sun50i-codec-analog: Add support for cpvdd regulator supply

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

This patch adds a DAPM widget for this supply, and ties it to the
headphone amp widget.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun50i-codec-analog.c