Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1537374

[PATCH 15/16] drivers/fsi: Add documentation for GPIO bindings

From Chris Bostic <christopher.lee.bostic@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 15/16] drivers/fsi: Add documentation for GPIO bindings
Date 2016-12-07 01:20 +0100
Message-ID <sLy7M-GS-35@gated-at.bofh.it> (permalink)
References <sLy7L-GS-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Chris Bostic <cbostic@us.ibm.com>

Add fsi master gpio device tree binding documentation

Signed-off-by: Chris Bostic <cbostic@us.ibm.com>
---
 .../devicetree/bindings/fsi/fsi-master-gpio.txt     | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/fsi/fsi-master-gpio.txt

diff --git a/Documentation/devicetree/bindings/fsi/fsi-master-gpio.txt b/Documentation/devicetree/bindings/fsi/fsi-master-gpio.txt
new file mode 100644
index 0000000..ff3a62e
--- /dev/null
+++ b/Documentation/devicetree/bindings/fsi/fsi-master-gpio.txt
@@ -0,0 +1,21 @@
+Device-tree bindings for gpio-based FSI master driver
+-----------------------------------------------------
+
+Required properties:
+	- compatible = "ibm,fsi-master-gpio";
+	- clk-gpios;
+	- data-gpios;
+
+Optional properties:
+	- enable-gpios;
+	- trans-gpios;
+	- mux-gpios;
+
+fsi-master {
+	compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";
+	clk-gpios = <&gpio 0 &gpio 6>;
+	data-gpios = <&gpio 1 &gpio 7>;
+	enable-gpios = <&gpio 2 &gpio 8>;	/* Enable FSI data in/out */
+	trans-gpios = <&gpio 3 &gpio 9>;	/* Volts translator direction */
+	mux-gpios = <&gpio 4> &gpio 10>;	/* Multiplexer for FSI pins */
+}
-- 
1.8.2.2

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/16] FSI device driver introduction Chris Bostic <christopher.lee.bostic@gmail.com> - 2016-12-07 01:20 +0100
  [PATCH 03/16] drivers/fsi: add driver to device matches Chris Bostic <christopher.lee.bostic@gmail.com> - 2016-12-07 01:20 +0100
  [PATCH 15/16] drivers/fsi: Add documentation for GPIO bindings Chris Bostic <christopher.lee.bostic@gmail.com> - 2016-12-07 01:20 +0100
    Re: [PATCH 15/16] drivers/fsi: Add documentation for GPIO bindings Mark Rutland <mark.rutland@arm.com> - 2016-12-07 13:10 +0100
  [PATCH 06/16] drivers/fsi: Add slave definition Chris Bostic <christopher.lee.bostic@gmail.com> - 2016-12-07 01:20 +0100
  [PATCH 10/16] drivers/fsi: scan slaves & register devices Chris Bostic <christopher.lee.bostic@gmail.com> - 2016-12-07 01:20 +0100
  Re: [PATCH 00/16] FSI device driver introduction Sebastian Reichel <sre@kernel.org> - 2016-12-07 03:00 +0100

csiph-web