Unverified Commit 4d3c884c authored by Nícolas F. R. A. Prado's avatar Nícolas F. R. A. Prado Committed by Mark Brown
Browse files

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarNícolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20221102182002.255282-4-nfraprado@collabora.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ed20a9bf
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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>;
};