devicetree: Add ARM pl061 gpio controller binding doc
Subsystems (3)
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.
Signed-off-by Rob Herring <[email protected]>
--- .../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
@@ -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
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.
Signed-off-by Rob Herring <[email protected]>
--- .../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
@@ -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