mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
f95a48834c
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>
28 lines
538 B
Plaintext
28 lines
538 B
Plaintext
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>;
|
|
};
|