gpio: msm: Add device tree and irqdomain support for gpio-msm-v2
authorRohit Vaswani <rvaswani@codeaurora.org>
Mon, 10 Jun 2013 22:50:21 +0000 (15:50 -0700)
committerDavid Brown <davidb@codeaurora.org>
Wed, 12 Jun 2013 21:50:12 +0000 (14:50 -0700)
commit43f68444bce70e360ff6ce3653a54e511625f651
tree31a695accad61e88f5f584acca4d9abc0d708eea
parenteda9dcfa56f4864e0e4340f5af3f3e39f514b726
gpio: msm: Add device tree and irqdomain support for gpio-msm-v2

This cleans up the gpio-msm-v2 driver of all the global define usage.
The number of gpios are now defined in the device tree. This enables
adding irqdomain support as well.

Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Documentation/devicetree/bindings/gpio/gpio-msm.txt [new file with mode: 0644]
arch/arm/boot/dts/msm8660-surf.dts
arch/arm/boot/dts/msm8960-cdp.dts
drivers/gpio/Kconfig
drivers/gpio/gpio-msm-v2.c