On 03/01/2022 22:09, Sam Protsenko wrote: > On Thu, 30 Dec 2021 at 21:53, Krzysztof Kozlowski > <krzysztof.kozlowski@xxxxxxxxxxxxx> wrote: >> >> The pin controller device node is expected to have one (optional) >> interrupt. Its pin banks capable of external interrupts, should define >> interrupts for each pin, unless a muxed interrupt is used. >> >> Exynos850 defined the second part - interrupt for each pin in wake-up >> pin controller - but also added these interrupts in main device node, >> which is not correct. >> >> Fixes: e3493220fd3e ("arm64: dts: exynos: Add initial Exynos850 SoC support") >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx> >> --- > > Tested-by: Sam Protsenko <semen.protsenko@xxxxxxxxxx> > Reviewed-by: Sam Protsenko <semen.protsenko@xxxxxxxxxx> > > Despite some errors brought by this change: > > samsung-pinctrl 11850000.pinctrl: irq number not available > samsung-pinctrl 11c30000.pinctrl: irq number not available > > the interrupts seem to be functional still. Tested on E850-96 board, > by pressing buttons connected to gpa0..gpa1, and checking > /proc/interrupts info. I guess it's ok to merge this one as is, and > then work further to fix the driver (or dts?) accordingly. > > Also, I submitted related patch ("arm64: dts: exynos: Add missing gpm6 > and gpm7 nodes to Exynos850"), please take a look. > Several Exynos850 pinctrl banks use exynos_eint_gpio_init, so they need the interrupt property (for external interrupts). Otherwise external GPIO interrupts won't work. The ones you checked, could be the external wakeup interrupts which are not affected here. This change seems wrong. Instead one interrupt should be left. However I don't know which - should be described in reference manual in interrupt sources. Best regards, Krzysztof