Re: [PATCH] MIPS: alchemy: mtx1: switch to static device properties
From: Thomas Bogendoerfer
Date: Mon Dec 01 2025 - 04:46:16 EST
On Mon, Aug 11, 2025 at 03:41:28PM -0700, Dmitry Torokhov wrote:
> Convert GPIO-connected buttons and LEDs on MTX1 board 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).
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> ---
>
> This compiles but I have not tried it on real hardware.
>
> arch/mips/alchemy/board-mtx1.c | 181 ++++++++++++++++++++++-----------
> 1 file changed, 124 insertions(+), 57 deletions(-)
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 ]