ASoC: adau1701: add regulator consumer support
Subsystems (4)
PATCH RESEND 1/1 ASoC: adau1701: add regulator consumer support
From: Pascal Huerst <[email protected]>
The adau1701 has two power domains, DVDD and AVDD. Enable them both as long as the codec is in use.
Signed-off-by Pascal Huerst <[email protected]>
--- .../devicetree/bindings/sound/adi,adau1701.txt | 4 + sound/soc/codecs/adau1701.c | 125 ++++++++++++++++++--- 2 files changed, 114 insertions(+), 15 deletions(-)
Documentation/devicetree/bindings/sound/adi,adau1701.txt +4 -0
@@ -20,6 +20,8 @@ Optional properties: pin configurations as described in the datasheet, table 53. Note that the value of this property has to be prefixed with '/bits/ 8'. + - avdd-supply: Power supply for AVDD, providing 3.3V + - dvdd-supply: Power supply for DVDD, providing 3.3V Examples:
@@ -28,6 +30,8 @@ Examples: compatible = "adi,adau1701"; reg = <0x34>; reset-gpio = <&gpio 23 0>; + avdd-supply = <&vdd_3v3_reg>; + dvdd-supply = <&vdd_3v3_reg>; adi,pll-mode-gpios = <&gpio 24 0 &gpio 25 0>; adi,pin-config = /bits/ 8 <0x4 0x7 0x5 0x5 0x4 0x4 0x4 0x4 0x4 0x4 0x4 0x4>;
sound/soc/codecs/adau1701.c +110 -15
214 lines not on this page · raw message
--
1.9.3
Quoted 6 lines · On 04/20/2015 11:12 AM, [email protected] wrote:
From: Pascal Huerst <[email protected]>
The adau1701 has two power domains, DVDD and AVDD. Enable them both as long as the codec is in use.
Signed-off-by Pascal Huerst <[email protected]>
Thanks.
Quoted 4 lines · On Mon, Apr 20, 2015 at 11:12:03AM +0200, [email protected] wrote:
From: Pascal Huerst <[email protected]>
The adau1701 has two power domains, DVDD and AVDD. Enable them both as long as the codec is in use.
Applied, thanks.