[alsa-devel] [PATCH 2/2] sgtl5000.txt: Explain the required and optional power supplies

Fabio Estevam fabio.estevam at freescale.com
Mon May 13 17:39:20 CEST 2013


sgtl5000 has two power supplies that are mandatory: VDDA and VDDIO.

VDDD is an optional supply and can be left unconnected and in this case an 
internal regulator is used.

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 .../devicetree/bindings/sound/sgtl5000.txt         |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/sgtl5000.txt b/Documentation/devicetree/bindings/sound/sgtl5000.txt
index 9cc4444..3537a7d 100644
--- a/Documentation/devicetree/bindings/sound/sgtl5000.txt
+++ b/Documentation/devicetree/bindings/sound/sgtl5000.txt
@@ -5,9 +5,19 @@ Required properties:
 
 - reg : the I2C address of the device
 
+- VDDA-supply: the regulator for VDDA supply
+
+- VDDIO-supply: the regulator for VDDIO supply
+
+Optional properties:
+
+- VDDD-supply: the regulator for VDDD supply
+
 Example:
 
 codec: sgtl5000 at 0a {
 	compatible = "fsl,sgtl5000";
 	reg = <0x0a>;
+	VDDA-supply = <&vdda_reg>;
+	VDDIO-supply = <&vddio_reg>;
 };
-- 
1.7.9.5




More information about the Alsa-devel mailing list