Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753844AbcLGAPf (ORCPT ); Tue, 6 Dec 2016 19:15:35 -0500 Received: from mail-oi0-f68.google.com ([209.85.218.68]:35578 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753209AbcLGAPZ (ORCPT ); Tue, 6 Dec 2016 19:15:25 -0500 From: Chris Bostic To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, gregkh@linuxfoundation.org, sre@kernel.org, mturquette@baylibre.com, geert+renesas@glider.be, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Chris Bostic , joel@jms.id.au, jk@ozlabs.org, linux-kernel@vger.kernel.org, andrew@aj.id.au, alistair@popple.id.au, benh@kernel.crashing.org Subject: [PATCH 15/16] drivers/fsi: Add documentation for GPIO bindings Date: Tue, 6 Dec 2016 18:14:36 -0600 Message-Id: <1481069677-53660-16-git-send-email-christopher.lee.bostic@gmail.com> X-Mailer: git-send-email 2.7.4 (Apple Git-66) In-Reply-To: <1481069677-53660-1-git-send-email-christopher.lee.bostic@gmail.com> References: <1481069677-53660-1-git-send-email-christopher.lee.bostic@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1244 Lines: 39 From: Chris Bostic Add fsi master gpio device tree binding documentation Signed-off-by: Chris Bostic --- .../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