ARM: dts: imx27-eukrea-mbimxsd27: Fix ADS7846 interrupt
Subsystems (2)
Fabio Estevam
reviewerPATCH 1/1 ARM: dts: imx27-eukrea-mbimxsd27: Fix ADS7846 interrupt
From: Fabio Estevam <[email protected]>
According to ti,ads7843.yaml the ADS7846 interrupt should be described via interrupt-parent and interrupts properties.
Do it accordingly to fix the following dt-schema warning:
ads7846@0: interrupts: [[9], [25], [8]] is too long
--- arch/arm/boot/dts/nxp/imx/imx27-eukrea-mbimxsd27-baseboard.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx27-eukrea-mbimxsd27-baseboard.dts +2 -1
@@ -76,7 +76,8 @@ ads7846@0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_touch>; reg = <0>; - interrupts = <&gpio4 25 IRQ_TYPE_LEVEL_LOW>; + interrupt-parent = <&gpio4>; + interrupts = <25 IRQ_TYPE_LEVEL_LOW>; spi-cpol; spi-max-frequency = <1500000>; ti,keep-vref-on;
Signature · 1 line
2.34.1
Quoted 3 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
According to ti,ads7843.yaml the ADS7846 interrupt should be described
That's not true. Above binding does not tell it at all. Nothing about parent.
Quoted 5 lines
via interrupt-parent and interrupts properties.
Do it accordingly to fix the following dt-schema warning:
ads7846@0: interrupts: [[9], [25], [8]] is too long
Not entirely. Your reasons are just not correct. There is different error there - wrong interrupt specifier because you have some specific interrupt controller (GPIO). Author probably wanted interrupts extended.
Best regards,
Krzysztof