diff options
author | Sebastian Reichel <sre@debian.org> | 2013-10-23 08:03:28 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-23 11:46:39 -0400 |
commit | f95a48834cb9c581eec952215666a323136f339f (patch) | |
tree | 7bd36ede35798b84e261244980bfbb246e34cce6 /Documentation/devicetree | |
parent | 31d141e3a666269a3b6fcccddb0351caf7454240 (diff) |
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')
-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 @@ | |||
1 | Texas Instruments - tpa6130a2 Codec module | ||
2 | |||
3 | The tpa6130a2 serial control bus communicates through I2C protocols | ||
4 | |||
5 | Required properties: | ||
6 | |||
7 | - compatible - "string" - One of: | ||
8 | "ti,tpa6130a2" - TPA6130A2 | ||
9 | "ti,tpa6140a2" - TPA6140A2 | ||
10 | |||
11 | |||
12 | - reg - <int> - I2C slave address | ||
13 | |||
14 | - Vdd-supply - <phandle> - power supply regulator | ||
15 | |||
16 | Optional properties: | ||
17 | |||
18 | - power-gpio - gpio pin to power the device | ||
19 | |||
20 | Example: | ||
21 | |||
22 | tpa6130a2: tpa6130a2@60 { | ||
23 | compatible = "ti,tpa6130a2"; | ||
24 | reg = <0x60>; | ||
25 | Vdd-supply = <&vmmc2>; | ||
26 | power-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>; | ||
27 | }; | ||