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

Commit 6a22e59e authored by Shyam Kumar Thella's avatar Shyam Kumar Thella
Browse files

ARM: dts: msm: Change DT configuration for PMIC GPIO device

Couple of changes required to match with GPIO driver on msm-5.4 kernel
1. Compatible string should contain PMIC name
2. Need not explicitly list down all the PMIC GPIOs. It is provided as
   data in match table within the driver.

Change-Id: I1b661cffee893779d9233b76bf5cb15fbb19ebc3
parent 8d76c55a
Loading
Loading
Loading
Loading
+3 −18
Original line number Diff line number Diff line
@@ -157,27 +157,12 @@


		pm2250_gpios: pinctrl@c000 {
			compatible = "qcom,spmi-gpio";
			compatible = "qcom,pm2250-gpio";
			reg = <0xc000>;
			interrupts = <0x0 0xc0 0 IRQ_TYPE_NONE>,
					<0x0 0xc1 0 IRQ_TYPE_NONE>,
					<0x0 0xc2 0 IRQ_TYPE_NONE>,
					<0x0 0xc3 0 IRQ_TYPE_NONE>,
					<0x0 0xc4 0 IRQ_TYPE_NONE>,
					<0x0 0xc5 0 IRQ_TYPE_NONE>,
					<0x0 0xc6 0 IRQ_TYPE_NONE>,
					<0x0 0xc7 0 IRQ_TYPE_NONE>,
					<0x0 0xc8 0 IRQ_TYPE_NONE>,
					<0x0 0xc9 0 IRQ_TYPE_NONE>;

			interrupt-names = "pm2250_gpio1", "pm2250_gpio2",
					"pm2250_gpio3", "pm2250_gpio4",
					"pm2250_gpio5", "pm2250_gpio6",
					"pm2250_gpio7", "pm2250_gpio8",
					"pm2250_gpio9", "pm2250_gpio10";

			gpio-controller;
			#gpio-cells = <2>;
			interrupt-controller;
			#interrupt-cells = <2>;
		};

		pm2250_rtc: qcom,pm2250_rtc {