diff options
author | Sebastian Reichel <sre@debian.org> | 2013-10-23 14:03:28 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-23 16:46:39 +0100 |
commit | f95a48834cb9c581eec952215666a323136f339f (patch) | |
tree | 7bd36ede35798b84e261244980bfbb246e34cce6 /Documentation | |
parent | 31d141e3a666269a3b6fcccddb0351caf7454240 (diff) | |
download | linux-f95a48834cb9c581eec952215666a323136f339f.tar.gz linux-f95a48834cb9c581eec952215666a323136f339f.tar.bz2 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')
-rw-r--r-- | Documentation/devicetree/bindings/sound/tpa6130a2.txt | 27 |
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>; +}; |