diff mbox

ASoC: rt5677: Add gpio-controller DTS documentation

Message ID 1411583518-32260-1-git-send-email-anatol.pomozov@gmail.com (mailing list archive)
State Accepted
Commit 0e612ff10c86241683f0a77e3dd0a6631b640009
Headers show

Commit Message

Anatol Pomozov Sept. 24, 2014, 6:31 p.m. UTC
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
---
 Documentation/devicetree/bindings/sound/rt5677.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Mark Brown Sept. 25, 2014, 1:06 p.m. UTC | #1
On Wed, Sep 24, 2014 at 11:31:58AM -0700, Anatol Pomozov wrote:
> Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>

Applied, thanks.
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/sound/rt5677.txt b/Documentation/devicetree/bindings/sound/rt5677.txt
index 98509fb..bd28df6 100644
--- a/Documentation/devicetree/bindings/sound/rt5677.txt
+++ b/Documentation/devicetree/bindings/sound/rt5677.txt
@@ -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.
@@ -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>;
 };