Skip to content

Commit

Permalink
ASoC: rt5677: Add gpio-controller DTS documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Anatol Pomozov <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
anatol authored and broonie committed Sep 25, 2014
1 parent f9f6a59 commit 0e612ff
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Documentation/devicetree/bindings/sound/rt5677.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ Required properties:

- interrupts : The CODEC's interrupt output.

- 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).

Optional properties:

- realtek,pow-ldo2-gpio : The GPIO that controls the CODEC's POW_LDO2 pin.
Expand All @@ -36,6 +41,10 @@ rt5677 {
reg = <0x2c>;
interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;

gpio-controller;
#gpio-cells = <2>;

realtek,pow-ldo2-gpio =
<&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
};

0 comments on commit 0e612ff

Please sign in to comment.