All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: rt5677: Add gpio-controller DTS documentation
@ 2014-09-24 18:31 Anatol Pomozov
  2014-09-25 13:06 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Anatol Pomozov @ 2014-09-24 18:31 UTC (permalink / raw)
  To: broonie, lgirdwood; +Cc: oder_chiou, alsa-devel, Anatol Pomozov

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

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>;
 };
-- 
2.1.0.rc2.206.gedb03e5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: rt5677: Add gpio-controller DTS documentation
  2014-09-24 18:31 [PATCH] ASoC: rt5677: Add gpio-controller DTS documentation Anatol Pomozov
@ 2014-09-25 13:06 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-09-25 13:06 UTC (permalink / raw)
  To: Anatol Pomozov; +Cc: oder_chiou, alsa-devel, lgirdwood


[-- Attachment #1.1: Type: text/plain, Size: 141 bytes --]

On Wed, Sep 24, 2014 at 11:31:58AM -0700, Anatol Pomozov wrote:
> Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-25 13:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-24 18:31 [PATCH] ASoC: rt5677: Add gpio-controller DTS documentation Anatol Pomozov
2014-09-25 13:06 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.