summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorLinus Walleij <linusw@kernel.org>2026-03-28 16:55:47 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2026-04-13 15:41:56 +0200
commit42671e9c1e40032f982d2163ba4867dc85e23832 (patch)
tree5683e253f2455d2d203f6af6f2a8161478d81ad1 /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parentf992846d0b45691a02d0a9775c5c2a50956e62a5 (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 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions