Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43cf6336 authored by Abhimanyu Kapur's avatar Abhimanyu Kapur Committed by Matt Wagantall
Browse files

pinctrl: mdm9640: Add pinctrl driver for mdm9640



Add pinctrl driver for MDM9640 by providing the
hardware description for pins on the MDM9640
chipset. Also update the documentation with the
pinctrl compat string.

Change-Id: I415450c00979d7fe0243d019472273cfa666f330
Signed-off-by: default avatarAbhimanyu Kapur <abhimany@codeaurora.org>
parent b683680c
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
MSM Pinctrl Bindings

Required properties:
- compatible: "qcom,msm8996-pinctrl"
	       "qcom,mdm9640-pinctrl"
- reg: Should be the base address and length of the TLMM block.
- interrupts: Should be the parent IRQ of the TLMM block.
- interrupt-controller: Marks the device node as an interrupt controller.
- #interrupt-cells: Should be two.
- gpio-controller: Marks the device node as a GPIO controller.
- #gpio-cells : Should be two.
                The first cell is the gpio pin number and the
                second cell is used for optional parameters.
+18 −951

File changed.

Preview size limit exceeded, changes collapsed.

+1 −0
Original line number Diff line number Diff line
@@ -58,5 +58,6 @@ IRQCHIP_DECLARE(tlmmv3_irq, "qcom,msm-tlmm-gp", irq_msm_gpio_init);
IRQCHIP_DECLARE(tlmm_irq, "qcom,msm-gpio", irq_msm_gpio_init);
#endif
IRQCHIP_DECLARE(8996_pinctrl, "qcom,msm8996-pinctrl", pinctrl_irq_dummy);
IRQCHIP_DECLARE(9640_pinctrl, "qcom,mdm9640-pinctrl", pinctrl_irq_dummy);
IRQCHIP_DECLARE(qpnp_irq, "qcom,spmi-pmic-arb", qpnpint_of_init);
IRQCHIP_DECLARE(wcd9xxx_irq, "qcom,wcd9xxx-irq", wcd9xxx_irq_of_init);
+8 −0
Original line number Diff line number Diff line
@@ -15,6 +15,14 @@ config PINCTRL_APQ8064
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm APQ8064 platform.

config PINCTRL_MDM9640
	tristate "Qualcomm MDM9640 pin controller driver"
	depends on GPIOLIB && OF
	select PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm 9640 platform.

config PINCTRL_APQ8084
	tristate "Qualcomm APQ8084 pin controller driver"
	depends on GPIOLIB && OF
+1 −0
Original line number Diff line number Diff line
# Qualcomm pin control drivers
obj-$(CONFIG_PINCTRL_MSM)	+= pinctrl-msm.o
obj-$(CONFIG_PINCTRL_MDM9640)	+= pinctrl-mdm9640.o
obj-$(CONFIG_PINCTRL_APQ8064)	+= pinctrl-apq8064.o
obj-$(CONFIG_PINCTRL_APQ8084)	+= pinctrl-apq8084.o
obj-$(CONFIG_PINCTRL_IPQ8064)	+= pinctrl-ipq8064.o
Loading