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
This commit is contained in:
Shyam Kumar Thella 2020-12-23 11:30:01 +05:30
commit 6a22e59ebb

View file

@ -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 {