Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966016AbbKEXqe (ORCPT ); Thu, 5 Nov 2015 18:46:34 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:35991 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965893AbbKEXlf (ORCPT ); Thu, 5 Nov 2015 18:41:35 -0500 From: Moritz Fischer To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org, Moritz Fischer Subject: [RFC 1/3] Documentation: dt: Add devicetree bindings for NI USRP E3xx pinconf Date: Thu, 5 Nov 2015 15:41:21 -0800 Message-Id: <1446766883-25703-2-git-send-email-moritz.fischer@ettus.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1446766883-25703-1-git-send-email-moritz.fischer@ettus.com> References: <1446766883-25703-1-git-send-email-moritz.fischer@ettus.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1509 Lines: 47 Signed-off-by: Moritz Fischer --- .../devicetree/bindings/pinctrl/pinctrl-e3xx.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-e3xx.txt diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-e3xx.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-e3xx.txt new file mode 100644 index 0000000..2bfbd21 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-e3xx.txt @@ -0,0 +1,27 @@ +USRP E3xx Pincontrol bindings + +The pins of the NI Ettus Research USRP E3xx idle image can be configured for different +daughterboard configurations. This pinmux is implemented in an FPGA as soft core. + +Required properties: +- compatible: Must be one of the following: + - "ettus,pinctrl-e3xx-1.0" +- clocks: The clock driving the pinmux + +Example: + + e3xx_pinctrl: e3xx-pinctrl@40200a00 { + compatible = "ettus,e3xx-pinctrl-1.0"; + reg = <0x40200a00 0x1000>; + clocks = <&clkc 15>; + + foo_state: pinconf { + conf { + pins = E31X_LED_RX1_RX; + output-low; + }; + }; + }; + +Note: Constants that facilitate creation of devicetree files are available in + include/dt-bindings/pinctrl/pinctrl-e3xx.h -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/