[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yy/hv2fOLzdWOuvT@google.com>
Date: Sat, 24 Sep 2022 22:06:07 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Michael Ellerman <mpe@...erman.id.au>,
Nicholas Piggin <npiggin@...il.com>
Cc: Christophe Leroy <christophe.leroy@...roup.eu>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Is PPC 44x PIKA Warp board still relevant?
Hi Michael, Nick,
I was wondering if PIKA Warp board still relevant. The reason for my
question is that I am interested in dropping legacy gpio APIs,
especially OF-specific ones, in favor of newer gpiod APIs, and
arch/powerpc/platforms/44x/warp.c is one of few users of it.
The code in question is supposed to turn off green led and flash red led
in case of overheating, and is doing so by directly accessing GPIOs
owned by led-gpio driver without requesting/allocating them. This is not
really supported with gpiod API, and is not a good practice in general.
Before I spend much time trying to implement a replacement without
access to the hardware, I wonder if this board is in use at all, and if
it is how important is the feature of flashing red led on critical
temperature shutdown?
Thanks.
--
Dmitry
Powered by blists - more mailing lists