RE: [PATCH v2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M

From: Vaittinen, Matti
Date: Mon Jul 22 2019 - 13:40:49 EST


Sorry for top posting. I'm replying using mobile phone and outlook web app...

gpio_intr is not needed. Irq must be given using the standard irq property. gpio_intr has been used in an old draft driver - I assume the dts originates from NXP bsp which used the old driver.

Br,
Matti Vaittinen

--
Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND

~~~ "I don't think so," said Rene Descartes. Just then, he vanished ~~~


________________________________________
From: Shawn Guo [shawnguo@xxxxxxxxxx]
Sent: Monday, July 22, 2019 5:03 AM
To: Andra Danciu
Cc: robh+dt@xxxxxxxxxx; mark.rutland@xxxxxxx; leoyang.li@xxxxxxx; Fabio Estevam; aisheng.dong@xxxxxxx; l.stach@xxxxxxxxxxxxxx; angus@xxxxxxxx; vabhav.sharma@xxxxxxx; pankaj.bansal@xxxxxxx; bhaskar.upadhaya@xxxxxxx; ping.bai@xxxxxxx; Manivannan Sadhasivam; Richard Hu; devicetree@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Vaittinen, Matti; linux-imx@xxxxxxx; Daniel Baluta
Subject: Re: [PATCH v2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M

On Thu, Jul 18, 2019 at 02:12:10PM +0300, Andra Danciu wrote:
...
> > > + pmic: pmic@4b {
> > > + reg = <0x4b>;
> > > + compatible = "rohm,bd71837";
> > > + /* PMIC BD71837 PMIC_nINT GPIO1_IO12 */
> > > + pinctrl-0 = <&pinctrl_pmic>;
> > > + gpio_intr = <&gpio1 3 GPIO_ACTIVE_LOW>;
> >
> > Where is the bindings for this property?
> Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt

I do not see property 'gpio_intr' in there.

Shawn