From patchwork Wed Dec 7 00:14:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Bostic X-Patchwork-Id: 9463605 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8753260459 for ; Wed, 7 Dec 2016 00:21:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76BF2284D0 for ; Wed, 7 Dec 2016 00:21:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 68ED1284F2; Wed, 7 Dec 2016 00:21:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 03485284D0 for ; Wed, 7 Dec 2016 00:21:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEPxO-0008QI-1I; Wed, 07 Dec 2016 00:19:34 +0000 Received: from mail-oi0-x244.google.com ([2607:f8b0:4003:c06::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEPtf-0005iz-Iw for linux-arm-kernel@lists.infradead.org; Wed, 07 Dec 2016 00:15:45 +0000 Received: by mail-oi0-x244.google.com with SMTP id u15so43564135oie.3 for ; Tue, 06 Dec 2016 16:15:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BVbc4Z9MZostoM1s+wyB+c+nBmK1ylZ500NxH/4vqzs=; b=MoTTpJtDYJ2WdPXrtXnDKNoaQgnNhSD69rYzKverkw5na19AEFGCdQKGtKBo5V4dup qqA5lliFiy+wiVNtulBZ7N6ExGjXaWl/Wq2W+MOV8ezRutKmqcjFSiZ/5gMn707G2TfW IRM4NWq9fGDPh/BVi9zJwt8VHmwpRM65WHioJ8jU3hFFrozKliYcsC+icJdKPXpJXsn3 psK2FGyEuWoCtXxq6w+PFVpd1jSFpGlTP5zWxKZDjZyBSmUsD82hyEcvwt8v3Lz+fbYr fUXVPHtvZpo9HbLJNxNYSVvrbrR7sNdNi05ML4AYGilr/G1i3vRQWxCoNibPdKhPO+xJ fNLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BVbc4Z9MZostoM1s+wyB+c+nBmK1ylZ500NxH/4vqzs=; b=Dqo07aQ2IhsLyAiwwI2c3QRwiaJ8kROJha24XHpNM+Y4KJH1umOBEYZc9ICw2wgz2F 07R246puHranyY0Z0VqCKyjucX5VtW+Z8J5NkdQLT7HIhcgFZWxznv3+fzdf4pxNJ9aB uLR2rGfb+x6Hop/NcRr6JpoW1mwBa7+o9kMHv9I/Zd3yDMzhsalF1F1WtvM9tdmWOsbz UbQe6QhFqusO8qjAm5Z4EDSZY7nGDidXUyF8xGwa5DvHuO7l+5fvncklb9vOdA1tjahl Ddqh0EZeOzfVms8SwZpBODhiJk7c81RyHlJFNzo3EyCXI7F0tiUFQ0FoJR4B3Q5MQd7n Cs4g== X-Gm-Message-State: AKaTC02tUDSnDAOGHAKtjHAk5y9m8TWuU/aAChUow2FFWyX43XgEdA164xR3viZcaIWtwg== X-Received: by 10.202.68.67 with SMTP id r64mr33124579oia.59.1481069725251; Tue, 06 Dec 2016 16:15:25 -0800 (PST) Received: from Christophers-MacBook-Pro.local.com (45-20-192-79.lightspeed.austtx.sbcglobal.net. [45.20.192.79]) by smtp.gmail.com with ESMTPSA id r102sm8568294ota.11.2016.12.06.16.15.23 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 06 Dec 2016 16:15:24 -0800 (PST) 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161206_161543_828264_E5DBF66F X-CRM114-Status: GOOD ( 11.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew@aj.id.au, alistair@popple.id.au, linux-kernel@vger.kernel.org, Chris Bostic , joel@jms.id.au, benh@kernel.crashing.org, jk@ozlabs.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 */ +}