ASoC: ALC5632: Add device tree binding documentation
authorLeon Romanovsky <leon@leon.nu>
Tue, 31 Jan 2012 07:29:45 +0000 (09:29 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 31 Jan 2012 19:36:17 +0000 (19:36 +0000)
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>
Documentation/devicetree/bindings/sound/alc5632.txt [new file with mode: 0644]
Documentation/devicetree/bindings/vendor-prefixes.txt

diff --git a/Documentation/devicetree/bindings/sound/alc5632.txt b/Documentation/devicetree/bindings/sound/alc5632.txt
new file mode 100644 (file)
index 0000000..8608f74
--- /dev/null
@@ -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>;
+};
index ecc6a6cd26c198ff412ce2af839cc3b602d73a29..ca8ee14bf00449b0fa6540c25ce11415fc532a3d 100644 (file)
@@ -33,6 +33,7 @@ nxp   NXP Semiconductors
 powervr        Imagination Technologies
 qcom   Qualcomm, Inc.
 ramtron        Ramtron International
+realtek Realtek Semiconductor Corp.
 samsung        Samsung Semiconductor
 sbs    Smart Battery System
 schindler      Schindler