diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2014-09-24 14:31:58 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-25 09:06:36 -0400 |
commit | 0e612ff10c86241683f0a77e3dd0a6631b640009 (patch) | |
tree | 30610be944af175fdbe34aa0c620e12da634a6c9 | |
parent | f9f6a592cf4f35e7b614f1fb2e8d73969ee39a6d (diff) |
ASoC: rt5677: Add gpio-controller DTS documentation
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/sound/rt5677.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rt5677.txt b/Documentation/devicetree/bindings/sound/rt5677.txt index 98509fb7481b..bd28df604b7b 100644 --- a/Documentation/devicetree/bindings/sound/rt5677.txt +++ b/Documentation/devicetree/bindings/sound/rt5677.txt | |||
@@ -10,6 +10,11 @@ Required properties: | |||
10 | 10 | ||
11 | - interrupts : The CODEC's interrupt output. | 11 | - interrupts : The CODEC's interrupt output. |
12 | 12 | ||
13 | - gpio-controller : Indicates this device is a GPIO controller. | ||
14 | |||
15 | - #gpio-cells : Should be two. The first cell is the pin number and the | ||
16 | second cell is used to specify optional parameters (currently unused). | ||
17 | |||
13 | Optional properties: | 18 | Optional properties: |
14 | 19 | ||
15 | - realtek,pow-ldo2-gpio : The GPIO that controls the CODEC's POW_LDO2 pin. | 20 | - realtek,pow-ldo2-gpio : The GPIO that controls the CODEC's POW_LDO2 pin. |
@@ -36,6 +41,10 @@ rt5677 { | |||
36 | reg = <0x2c>; | 41 | reg = <0x2c>; |
37 | interrupt-parent = <&gpio>; | 42 | interrupt-parent = <&gpio>; |
38 | interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>; | 43 | interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>; |
44 | |||
45 | gpio-controller; | ||
46 | #gpio-cells = <2>; | ||
47 | |||
39 | realtek,pow-ldo2-gpio = | 48 | realtek,pow-ldo2-gpio = |
40 | <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>; | 49 | <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>; |
41 | }; | 50 | }; |