Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: qcom: msm8974: add gpio-ranges

This adds the gpio-ranges property to pm8941_gpios so that the GPIO
pins are initialized by the GPIO framework and not pinctrl. This fixes
a circular dependency so GPIO hogging can be used on this board.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>

authored by

Brian Masney and committed by
Andy Gross
cdd3d64d ec4c6c57

+1
+1
arch/arm/boot/dts/qcom-pm8941.dtsi
··· 63 63 compatible = "qcom,pm8941-gpio", "qcom,spmi-gpio"; 64 64 reg = <0xc000>; 65 65 gpio-controller; 66 + gpio-ranges = <&pm8941_gpios 0 0 36>; 66 67 #gpio-cells = <2>; 67 68 interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, 68 69 <0 0xc1 0 IRQ_TYPE_NONE>,