]> git.ipfire.org Git - thirdparty/linux.git/commit
ARM: pxa/gumstix: convert vbus gpio to use software nodes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 28 Jun 2024 18:08:43 +0000 (11:08 -0700)
committerArnd Bergmann <arnd@arndb.de>
Tue, 9 Jul 2024 13:21:15 +0000 (15:21 +0200)
commitf1d6588af93b7115ed31d531dd8572556a43081f
tree1c32afde7c8df93afef66d39aaf3b6cafa215685
parent917195d6f8293c35fcf9ed4bfe18f52cc1c9d2e6
ARM: pxa/gumstix: convert vbus gpio to use software nodes

Switch vbus gpios from using a custom GPIO lookup table to software
properties using PROPERTY_ENTRY_GPIO() constructs which closely mimic
device tree gpio properties.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240628180852.1738922-4-dmitry.torokhov@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-pxa/devices.c
arch/arm/mach-pxa/devices.h
arch/arm/mach-pxa/gumstix.c
arch/arm/mach-pxa/pxa25x.c