Skip to content

Commit

Permalink
ASoC: ALC5632: Add device tree binding documentation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Leon Romanovsky authored and Mark Brown committed Jan 31, 2012
1 parent b4dc0a7 commit 919c1e5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Documentation/devicetree/bindings/sound/alc5632.txt
Original file line number Diff line number Diff line change
@@ -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>;
};
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/vendor-prefixes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 919c1e5

Please sign in to comment.