From: NĂ­colas F. R. A. Prado Date: Wed, 2 Nov 2022 18:19:57 +0000 (-0400) Subject: ASoC: dt-bindings: rt5682: Add AVDD, MICVDD and VBAT supplies X-Git-Tag: v6.6.7~3823^2^2~126^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d3c884ca7fb8ea25555c9a4b5ab1f9acad22587;p=platform%2Fkernel%2Flinux-starfive.git ASoC: dt-bindings: rt5682: Add AVDD, MICVDD and VBAT supplies The rt5682 codec has three supplies - AVDD, MICVDD and VBAT - which are already used by sc7180-trogdor.dtsi. Document them in the binding. Acked-by: Krzysztof Kozlowski Signed-off-by: NĂ­colas F. R. A. Prado Link: https://lore.kernel.org/r/20221102182002.255282-4-nfraprado@collabora.com Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/sound/rt5682.txt b/Documentation/devicetree/bindings/sound/rt5682.txt index 6b87db6..89e6245 100644 --- a/Documentation/devicetree/bindings/sound/rt5682.txt +++ b/Documentation/devicetree/bindings/sound/rt5682.txt @@ -8,6 +8,15 @@ Required properties: - reg : The I2C address of the device. +- AVDD-supply: phandle to the regulator supplying analog power through the + AVDD pin + +- MICVDD-supply: phandle to the regulator supplying power for the microphone + bias through the MICVDD pin. Either MICVDD or VBAT should be present. + +- VBAT-supply: phandle to the regulator supplying battery power through the + VBAT pin. Either MICVDD or VBAT should be present. + Optional properties: - interrupts : The CODEC's interrupt output. @@ -75,4 +84,7 @@ rt5682 { clocks = <&osc>; clock-names = "mclk"; + + AVDD-supply = <&avdd_reg>; + MICVDD-supply = <&micvdd_reg>; };