diff options
author | Olof Johansson <olof@lixom.net> | 2013-06-15 03:26:26 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-06-15 03:28:02 +0200 |
commit | e45600107b6700237f22f2d1d853bd49d8168f68 (patch) | |
tree | 078d1d011e9e197b3758ba22b7e11621fccab13f /Documentation/devicetree/bindings/gpio/gpio-msm.txt | |
parent | Merge tag 'msm-fix-for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
parent | mfd: ssbi: Use devm_* and simplify code (diff) | |
download | linux-e45600107b6700237f22f2d1d853bd49d8168f68.tar.xz linux-e45600107b6700237f22f2d1d853bd49d8168f68.zip |
Merge tag 'msm-cleanup-for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm into next/cleanup
From David Brown:
Cleanups for MSM for 3.11
These are a handful of cleanups to the MSM tree. The gpio cleanups
get us closer to having proper pinmux and gpio support.
* tag 'msm-cleanup-for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm:
mfd: ssbi: Use devm_* and simplify code
gpio: msm: Add device tree and irqdomain support for gpio-msm-v2
ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs
msm: iomap: Remove unused bases and mappings
msm: Remove unused file core.h
ARM: msm: Remove init_irq declaration in machine description
Signed-off-by: Olof Johansson <olof@lixom.net>
Conflicts:
arch/arm/boot/dts/msm8660-surf.dts
arch/arm/boot/dts/msm8960-cdp.dts
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/gpio-msm.txt')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-msm.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-msm.txt b/Documentation/devicetree/bindings/gpio/gpio-msm.txt new file mode 100644 index 000000000000..ac20e68a004e --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio-msm.txt @@ -0,0 +1,26 @@ +MSM GPIO controller bindings + +Required properties: +- compatible: + - "qcom,msm-gpio" for MSM controllers +- #gpio-cells : Should be two. + - first cell is the pin number + - second cell is used to specify optional parameters (unused) +- gpio-controller : Marks the device node as a GPIO controller. +- #interrupt-cells : Should be 2. +- interrupt-controller: Mark the device node as an interrupt controller +- interrupts : Specify the TLMM summary interrupt number +- ngpio : Specify the number of MSM GPIOs + +Example: + + msmgpio: gpio@fd510000 { + compatible = "qcom,msm-gpio"; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + reg = <0xfd510000 0x4000>; + interrupts = <0 208 0>; + ngpio = <150>; + }; |