[alsa-devel] [PATCH] sgtl5000.txt: Include supplies as required properties

Fabio Estevam festevam at gmail.com
Thu Apr 18 02:10:39 CEST 2013


From: Fabio Estevam <fabio.estevam at freescale.com>

sgtl5000 driver cannot probe succesfully if VDDA and VDDIO regulators are not
provided.

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

diff --git a/Documentation/devicetree/bindings/sound/sgtl5000.txt b/Documentation/devicetree/bindings/sound/sgtl5000.txt
index 9cc4444..520eb98 100644
--- a/Documentation/devicetree/bindings/sound/sgtl5000.txt
+++ b/Documentation/devicetree/bindings/sound/sgtl5000.txt
@@ -5,9 +5,15 @@ Required properties:
 
 - reg : the I2C address of the device
 
+- VDDA-supply: regulator that provides VDDA voltage
+
+- VDDIO-supply: regulator that provides VDDIO voltage
+
 Example:
 
 codec: sgtl5000 at 0a {
 	compatible = "fsl,sgtl5000";
 	reg = <0x0a>;
+	VDDA-supply = <&reg_2p5v>;
+	VDDIO-supply = <&reg_3p3v>;
 };
-- 
1.7.9.5



More information about the Alsa-devel mailing list