[PATCH 0/2] MIPS RB532 GPIO descriptor conversion
Thomas Bogendoerfer
tsbogend at alpha.franken.de
Mon Apr 13 06:43:01 PDT 2026
On Sat, Mar 28, 2026 at 04:55:46PM +0100, Linus Walleij wrote:
> This moves the MIPS Mikrotik RouterBoard RB532 over to using
> GPIO descriptors by augmenting the two remaining drivers using
> GPIOs to use software nodes and device properties.
>
> This is part of the pull to get rid of the legacy GPIO API
> inside the kernel.
>
> It would be nice if someone can test of this actually works,
> I've only compile-tested it.
>
> If we can agree on this method to move forward with this machine
> it would be nice if the MIPS maintainer could merge the end
> result with ACKs from the input and MTD maintainers.
>
> Signed-off-by: Linus Walleij <linusw at kernel.org>
> ---
> Linus Walleij (2):
> MIPS/input: Move RB532 button to GPIO descriptors
> MIPS/mtd: Handle READY GPIO in generic NAND platform data
>
> arch/mips/rb532/devices.c | 83 ++++++++++++++++++++++++++++-----------
> drivers/input/misc/rb532_button.c | 35 ++++++++++++++---
> drivers/mtd/nand/raw/plat_nand.c | 24 ++++++++++-
> 3 files changed, 113 insertions(+), 29 deletions(-)
series applied to mips-next
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
More information about the linux-mtd
mailing list