summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound
diff options
context:
space:
mode:
authorLeon Romanovsky <leon@leon.nu>2012-01-31 08:29:45 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-31 20:36:17 +0100
commit919c1e541dd766085546a620bd5569506d9033ce (patch)
tree2cad467e410f62295056aa15fb37ecc009dc0561 /Documentation/devicetree/bindings/sound
parentASoC: Tegra+ALC5632: Implement device tree support in board file (diff)
downloadlinux-919c1e541dd766085546a620bd5569506d9033ce.tar.xz
linux-919c1e541dd766085546a620bd5569506d9033ce.zip
ASoC: ALC5632: Add device tree binding documentation
Document the device tree binding for the ALC5632 codec and update vendor specific prefix for the Realtek. Signed-off-by: Leon Romanovsky <leon@leon.nu> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation/devicetree/bindings/sound')
-rw-r--r--Documentation/devicetree/bindings/sound/alc5632.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/alc5632.txt b/Documentation/devicetree/bindings/sound/alc5632.txt
new file mode 100644
index 000000000000..8608f747dcfe
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/alc5632.txt
@@ -0,0 +1,24 @@
+ALC5632 audio CODEC
+
+This device supports I2C only.
+
+Required properties:
+
+ - compatible : "realtek,alc5632"
+
+ - reg : the I2C address of the device.
+
+ - gpio-controller : Indicates this device is a GPIO controller.
+
+ - #gpio-cells : Should be two. The first cell is the pin number and the
+ second cell is used to specify optional parameters (currently unused).
+
+Example:
+
+alc5632: alc5632@1e {
+ compatible = "realtek,alc5632";
+ reg = <0x1a>;
+
+ gpio-controller;
+ #gpio-cells = <2>;
+};