summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2013-10-23 14:03:28 +0200
committerMark Brown <broonie@linaro.org>2013-10-23 16:46:39 +0100
commitf95a48834cb9c581eec952215666a323136f339f (patch)
tree7bd36ede35798b84e261244980bfbb246e34cce6 /Documentation/devicetree/bindings/sound
parent31d141e3a666269a3b6fcccddb0351caf7454240 (diff)
downloadtalos-obmc-linux-f95a48834cb9c581eec952215666a323136f339f.tar.gz
talos-obmc-linux-f95a48834cb9c581eec952215666a323136f339f.zip
ASoC: tpa6130a2: Add device tree support
Add device tree support to tpa6130a2 driver and document the bindings. Signed-off-by: Sebastian Reichel <sre@debian.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound')
-rw-r--r--Documentation/devicetree/bindings/sound/tpa6130a2.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/tpa6130a2.txt b/Documentation/devicetree/bindings/sound/tpa6130a2.txt
new file mode 100644
index 000000000000..6dfa740e4b2d
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/tpa6130a2.txt
@@ -0,0 +1,27 @@
+Texas Instruments - tpa6130a2 Codec module
+
+The tpa6130a2 serial control bus communicates through I2C protocols
+
+Required properties:
+
+- compatible - "string" - One of:
+ "ti,tpa6130a2" - TPA6130A2
+ "ti,tpa6140a2" - TPA6140A2
+
+
+- reg - <int> - I2C slave address
+
+- Vdd-supply - <phandle> - power supply regulator
+
+Optional properties:
+
+- power-gpio - gpio pin to power the device
+
+Example:
+
+tpa6130a2: tpa6130a2@60 {
+ compatible = "ti,tpa6130a2";
+ reg = <0x60>;
+ Vdd-supply = <&vmmc2>;
+ power-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>;
+};
OpenPOWER on IntegriCloud