]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/platform/geode: switch GPIO buttons and LEDs to software properties
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Aug 2024 05:25:04 +0000 (22:25 -0700)
committerHans de Goede <hdegoede@redhat.com>
Wed, 4 Sep 2024 18:17:30 +0000 (20:17 +0200)
commit298c9babadb83844632144369cc6bb2a43221aea
tree47e0962ebfae0730960096b536bafe102fd34385
parent1bda29aef6e19662496244b2b3f7eb2a6edf0cd5
x86/platform/geode: switch GPIO buttons and LEDs to software properties

Convert GPIO-connected buttons and LEDs in Geode boards to software
nodes/properties, so that support for platform data can be removed from
gpio-keys driver (which will rely purely on generic device properties
for configuration).

To avoid repeating the same data structures over and over and over
factor them out into a new geode-common.c file.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/ZsV6MNS_tUPPSffJ@google.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/x86/Kconfig
arch/x86/platform/geode/Makefile
arch/x86/platform/geode/alix.c
arch/x86/platform/geode/geode-common.c [new file with mode: 0644]
arch/x86/platform/geode/geode-common.h [new file with mode: 0644]
arch/x86/platform/geode/geos.c
arch/x86/platform/geode/net5501.c