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


Groups > linux.kernel > #1263617 > unrolled thread

[RFC 1/3] Documentation: dt: Add devicetree bindings for NI USRP E3xx pinconf

Started byMoritz Fischer <moritz.fischer@ettus.com>
First post2015-11-06 00:50 +0100
Last post2015-11-06 10:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [RFC 1/3] Documentation: dt: Add devicetree bindings for NI USRP E3xx pinconf Moritz Fischer <moritz.fischer@ettus.com> - 2015-11-06 00:50 +0100
    Re: [RFC 1/3] Documentation: dt: Add devicetree bindings for NI USRP E3xx pinconf Arnd Bergmann <arnd@arndb.de> - 2015-11-06 10:00 +0100

#1263617 — [RFC 1/3] Documentation: dt: Add devicetree bindings for NI USRP E3xx pinconf

FromMoritz Fischer <moritz.fischer@ettus.com>
Date2015-11-06 00:50 +0100
Subject[RFC 1/3] Documentation: dt: Add devicetree bindings for NI USRP E3xx pinconf
Message-ID<qrCs2-5az-3@gated-at.bofh.it>
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
---
 .../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/

[toc] | [next] | [standalone]


#1263848

FromArnd Bergmann <arnd@arndb.de>
Date2015-11-06 10:00 +0100
Message-ID<qrL2h-2eY-5@gated-at.bofh.it>
In reply to#1263617
On Thursday 05 November 2015 15:41:21 Moritz Fischer wrote:
> +       e3xx_pinctrl: e3xx-pinctrl@40200a00 {

Just "pinctrl@40200a00"

> +               compatible = "ettus,e3xx-pinctrl-1.0";

no wildcards in the name, use exact chip revisions here. If two chips
use the same one, add a fallback to the older version in the dts file
of the newer one.

	Arnd
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web