devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] devicetree: add a binding for GPIOs going though a level shifter
@ 2014-11-24 14:01 Alban Bedel
  2014-11-24 14:01 ` [PATCH 2/2] gpio: add a driver for GPIOs going through " Alban Bedel
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alban Bedel @ 2014-11-24 14:01 UTC (permalink / raw)
  To: linux-gpio
  Cc: linux-kernel, devicetree, Alban Bedel, Grant Likely,
	Alexandre Courbot, Linus Walleij, Kumar Gala, Ian Campbell,
	Mark Rutland, Pawel Moll, Rob Herring

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
---
 .../devicetree/bindings/gpio/gpio-level-shifter.txt       | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-level-shifter.txt

diff --git a/Documentation/devicetree/bindings/gpio/gpio-level-shifter.txt b/Documentation/devicetree/bindings/gpio/gpio-level-shifter.txt
new file mode 100644
index 0000000..e108c43
--- /dev/null
+++ b/Documentation/devicetree/bindings/gpio/gpio-level-shifter.txt
@@ -0,0 +1,15 @@
+GPIO level shifter
+
+This binding allow supporting GPIOs going though a level shifter.
+
+Required properties:
+- compatible : should be "gpio-level-shifter"
+- data-gpios : list of the data GPIO phandles
+- #gpio-cells : should be 2
+- gpio-controller : marks the device node as a GPIO controller
+
+Optional properties:
+- enable-gpio : phandle of the GPIO that control the level shifter enable pin
+- direction-gpio : phandle of the GPIO that control the level shifter direction
+- vcca-supply : phandle of the regulator for side A of the level shifter
+- vccb-supply : phandle of the regulator for side B of the level shifter
-- 
2.1.3


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

end of thread, other threads:[~2014-11-28 13:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24 14:01 [PATCH 1/2] devicetree: add a binding for GPIOs going though a level shifter Alban Bedel
2014-11-24 14:01 ` [PATCH 2/2] gpio: add a driver for GPIOs going through " Alban Bedel
2014-11-28 13:37   ` Linus Walleij
2014-11-24 21:01 ` [PATCH 1/2] devicetree: add a binding for GPIOs going though " Rob Herring
2014-11-28 13:39 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).