diff options
author | Brian Masney <masneyb@onstation.org> | 2018-10-31 20:11:48 -0400 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2019-01-22 15:04:49 -0600 |
commit | cdd3d64d843a2a4c658a182b744bfefbd021d542 (patch) | |
tree | aa3722ef51b9475fa69f71923c99f22cc5f71335 /arch/arm/boot/dts/qcom-pm8941.dtsi | |
parent | ec4c6c57af576e10c70547b782db04eb3602f5f4 (diff) | |
download | linux-cdd3d64d843a2a4c658a182b744bfefbd021d542.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/boot/dts/qcom-pm8941.dtsi')
-rw-r--r-- | arch/arm/boot/dts/qcom-pm8941.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-pm8941.dtsi b/arch/arm/boot/dts/qcom-pm8941.dtsi index 2515c5c217ac..9a91b758f7aa 100644 --- a/arch/arm/boot/dts/qcom-pm8941.dtsi +++ b/arch/arm/boot/dts/qcom-pm8941.dtsi @@ -63,6 +63,7 @@ compatible = "qcom,pm8941-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; + gpio-ranges = <&pm8941_gpios 0 0 36>; #gpio-cells = <2>; interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, <0 0xc1 0 IRQ_TYPE_NONE>, |