]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: renesas: r9a09g047e57-smarc: Fix gpio key's pin control node
authorBiju Das <biju.das.jz@bp.renesas.com>
Sun, 17 Aug 2025 14:51:30 +0000 (15:51 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 12 Sep 2025 09:15:00 +0000 (11:15 +0200)
Adding pin control node to the child won't parse the pins during driver
bind. Fix the issue by moving it to parent node.

This issue is observed while adding Schmitt input enable for PS0 pin on
later patch. Currently the reset value of the PIN is set to NMI function
and hence there is no breakage.

Fixes: 9e95446b0cf9 ("arm64: dts: renesas: r9a09g047e57-smarc: Add gpio keys")
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20250817145135.166591-2-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a09g047e57-smarc.dts

index 1e67f0a2a945c929da51b09c2c7c4862b950bc03..9f6716fa108600a9566261d6f8f0d16162abdff6 100644 (file)
 };
 
 &keys {
-       key-sleep {
-               pinctrl-0 = <&nmi_pins>;
-               pinctrl-names = "default";
+       pinctrl-0 = <&nmi_pins>;
+       pinctrl-names = "default";
 
+       key-sleep {
                interrupts-extended = <&icu 0 IRQ_TYPE_EDGE_FALLING>;
                linux,code = <KEY_SLEEP>;
                label = "SLEEP";