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

Commit 3f2424f1 authored by Shilpa Suresh's avatar Shilpa Suresh
Browse files

ARM: dts: msm: Use spmi-gpio driver for pm8909



Use spmi-gpio driver instead of qpnp-pin driver for adding
pinctrl devices. This allows consumers to manage the GPIOS
using pinctrl configurations.

Change-Id: Ica9962d7c8e8837670b1f71b53aa034e3fde43b4
Signed-off-by: default avatarShilpa Suresh <sbsure@codeaurora.org>
parent b969f68e
Loading
Loading
Loading
Loading
+6 −25
Original line number Diff line number Diff line
@@ -81,33 +81,14 @@
		};

		pm8909_gpios: gpios {
			compatible = "qcom,qpnp-pin";
			spmi-dev-container;
			compatible = "qcom,spmi-gpio";
			reg = <0xc000 0x400>;
			interrupts = <0x0 0xc1 0 IRQ_TYPE_NONE>,
				<0x0 0xc3 0 IRQ_TYPE_NONE>;
			interrupt-names = "pm8909_gpio2", "pm8909_gpio4";
			gpio-controller;
			#gpio-cells = <2>;
			#address-cells = <1>;
			#size-cells = <1>;
			label = "pm8909-gpio";

			gpio@c000 {
				reg = <0xc000 0x100>;
				qcom,pin-num = <1>;
			};

			gpio@c100 {
				reg = <0xc100 0x100>;
				qcom,pin-num = <2>;
			};

			gpio@c200 {
				reg = <0xc200 0x100>;
				qcom,pin-num = <3>;
			};

			gpio@c300 {
				reg = <0xc300 0x100>;
				qcom,pin-num = <4>;
			};
			qcom,gpios-disallowed = <1 3>;
		};

		pm8909_vadc: vadc@3100 {