diff options
| author | Linus Walleij <linusw@kernel.org> | 2026-03-28 16:55:47 +0100 |
|---|---|---|
| committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2026-04-13 15:41:56 +0200 |
| commit | 42671e9c1e40032f982d2163ba4867dc85e23832 (patch) | |
| tree | 5683e253f2455d2d203f6af6f2a8161478d81ad1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | f992846d0b45691a02d0a9775c5c2a50956e62a5 (diff) | |
MIPS/input: Move RB532 button to GPIO descriptors
Convert the Mikrotik RouterBoard RB532 to use GPIO descriptors
by defining a software node for the GPIO chip, then register
the button platform device with full info passing the GPIO
as a device property.
This can be used as a base to move more of the RB532 devices
over to passing GPIOs using device properties.
Use the GPIO_ACTIVE_LOW flag and drop the inversion in the
rb532_button_pressed() function.
Signed-off-by: Linus Walleij <linusw@kernel.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
