diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-07-06 20:14:01 -0700 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2026-07-24 19:07:41 +0200 |
| commit | ea07a154791e7e95525f843beaa72402a4fcf88a (patch) | |
| tree | 9590480de15b1978c00af4fa5e57a22daf59a5fc /tools/perf/scripts/python/libxed.py | |
| parent | e4671f292ebb363fdea08ae3b0cd18ba7a2b486f (diff) | |
ARM: sa1100: assabet: convert gpio-keys to use software nodes
Convert the legacy gpio-keys platform device on the StrongARM SA-1100
Assabet evaluation board to use software nodes and device properties.
This allows describing the buttons and their GPIO bindings via software
nodes so that platform data support can eventually be removed from the
gpio-keys driver.
Define static software nodes for the gpio-keys device and the two button
child nodes at file scope, referencing the SA-1100 GPIO controller node
directly. In assabet_init(), register the software node group and use
platform_device_register_full() to register the gpio-keys device.
Assisted-by: Antigravity:gemini-3.5-flash
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20260706-sa1100-swnode-v1-2-332759bbd930@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
