bmips: pinctrl-bcm63268: add gpio function
authorKyle Hendry <kylehendrydev@gmail.com>
Sun, 24 Nov 2024 19:29:33 +0000 (11:29 -0800)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 28 Dec 2024 17:07:41 +0000 (18:07 +0100)
commit684223c4a43387e73f01b42c6ce1343a7774b9cf
tree4b0744171d7b8cffd52c69de2f211895f9e49232
parent4b4f319931cf241aaa0ecb51b3a68d4e0bf738f7
bmips: pinctrl-bcm63268: add gpio function

Right now there's no way to know what state CFE will leave the pinctrl
registers in, so they should be explicitly set by linux on boot. This
patch adds a gpio configuration for drivers that need it, i.e. gpio-leds.

Signed-off-by: Kyle Hendry <kylehendrydev@gmail.com>
[improve patch and fix warnings]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit e44daa4fa5ab8d7ad8e23f61fac0286417fdd5e7)
target/linux/bmips/patches-6.6/110-pinctrl-bcm63268-add-gpio-function.patch [new file with mode: 0644]