Skip to contentSkip to conversation

devicetree: Add ARM pl061 gpio controller binding doc

PATCH New Rob Herring 1 participant 2 messages Sep 28, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 devicetree: Add ARM pl061 gpio controller binding doc

From: Rob Herring <[email protected]>

Add binding documentation for ARM's Primecell PL061 GPIO controller.

---
 .../devicetree/bindings/gpio/pl061-gpio.txt        |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/gpio/pl061-gpio.txt
Documentation/devicetree/bindings/gpio/pl061-gpio.txt new file +10 -0
new file mode 100644
index 0000000..a2c416b
@@ -0,0 +1,10 @@
+ARM PL061 GPIO controller
+
+Required properties:
+- compatible : "arm,pl061", "arm,primecell"
+- #gpio-cells : Should be two. The first cell is the pin number and the
+  second cell is used to specify optional parameters:
+  - bit 0 specifies polarity (0 for normal, 1 for inverted)
+- gpio-controller : Marks the device node as a GPIO controller.
+- interrupts : Interrupt mapping for GPIO IRQ.
+
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 2/2 devicetree: Add ARM pl022 spi controller binding doc

From: Rob Herring <[email protected]>

Add binding documentation for ARM's Primecell PL022 SPI controller.

---
 .../devicetree/bindings/spi/spi_pl022.txt          |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/spi/spi_pl022.txt
Documentation/devicetree/bindings/spi/spi_pl022.txt new file +12 -0
new file mode 100644
index 0000000..306ec3f
@@ -0,0 +1,12 @@
+ARM PL022 SPI controller
+
+Required properties:
+- compatible : "arm,pl022", "arm,primecell"
+- reg : Offset and length of the register set for the device
+- interrupts : Should contain SPI controller interrupt
+
+Optional properties:
+- cs-gpios : should specify GPIOs used for chipselects.
+  The gpios will be referred to as reg = <index> in the SPI child nodes.
+  If unspecified, a single SPI device without a chip select can be used.
+
Signature · 1 line
1.7.5.4