gpio: msm: Remove unused driver
Subsystems (3)
PATCH 1/1 gpio: msm: Remove unused driver
Remove this driver now that Bjorn has introduced a pinctrl driver for msm8660 and the dts files have been updated with the pinctrl compatibles.
Cc Bjorn Andersson <[email protected]>
Cc Andy Gross <[email protected]>
Signed-off-by Stephen Boyd <[email protected]>
--- .../devicetree/bindings/gpio/gpio-msm.txt | 26 -- drivers/gpio/Kconfig | 8 - drivers/gpio/Makefile | 1 - drivers/gpio/gpio-msm-v2.c | 453 --------------------- 4 files changed, 488 deletions(-) delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-msm.txt delete mode 100644 drivers/gpio/gpio-msm-v2.c
Documentation/devicetree/bindings/gpio/gpio-msm.txt deleted +0 -26
@@ -1,26 +0,0 @@ -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 at fd510000 { - compatible = "qcom,msm-gpio"; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0xfd510000 0x4000>; - interrupts = <0 208 0>; - ngpio = <150>; - };
drivers/gpio/Kconfig +0 -8
@@ -297,14 +297,6 @@ config GPIO_MPC8XXX Say Y here if you're going to use hardware that connects to the MPC512x/831x/834x/837x/8572/8610 GPIOs. -config GPIO_MSM_V2 - tristate "Qualcomm MSM GPIO v2" - depends on GPIOLIB && OF && ARCH_QCOM - help - Say yes here to support the GPIO interface on ARM v7 based - Qualcomm MSM chips. Most of the pins on the MSM can be - selected for GPIO, and are controlled by this driver. - config GPIO_MVEBU def_bool y depends on PLAT_ORION
drivers/gpio/Makefile +0 -1
@@ -64,7 +64,6 @@ obj-$(CONFIG_GPIO_MOXART) += gpio-moxart.o obj-$(CONFIG_GPIO_MPC5200) += gpio-mpc5200.o obj-$(CONFIG_GPIO_MPC8XXX) += gpio-mpc8xxx.o obj-$(CONFIG_GPIO_MSIC) += gpio-msic.o -obj-$(CONFIG_GPIO_MSM_V2) += gpio-msm-v2.o obj-$(CONFIG_GPIO_MVEBU) += gpio-mvebu.o obj-$(CONFIG_GPIO_MXC) += gpio-mxc.o obj-$(CONFIG_GPIO_MXS) += gpio-mxs.o
drivers/gpio/gpio-msm-v2.c deleted +0 -453
453 lines not on this page · raw message
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Quoted 4 lines · Stephen Boyd
Remove this driver now that Bjorn has introduced a pinctrl driver for msm8660 and the dts files have been updated with the pinctrl compatibles.
Reviewed-by Bjorn Andersson <[email protected]>
Quoted 3 lines
Cc Andy Gross <[email protected]>Signed-off-by Stephen Boyd <[email protected]>---
Regards,
Bjorn
Quoted 7 lines · Stephen Boyd
Remove this driver now that Bjorn has introduced a pinctrl driver for msm8660 and the dts files have been updated with the pinctrl compatibles.
Cc Bjorn Andersson <[email protected]>Cc Andy Gross <[email protected]>Signed-off-by Stephen Boyd <[email protected]>
Patch rebased and applied, thanks!
This concludes the modernization of the MSM GPIO and pin control, awesome!
Yours,
Linus Walleij