[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166980023651.3017288.11616818512076872736.b4-ty@ellerman.id.au>
Date: Wed, 30 Nov 2022 20:23:56 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Nicholas Piggin <npiggin@...il.com>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Michael Ellerman <mpe@...erman.id.au>,
Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] powerpc/warp: switch to using gpiod API
On Mon, 26 Sep 2022 23:03:25 -0700, Dmitry Torokhov wrote:
> This switches PIKA Warp away from legacy gpio API and to newer gpiod
> API, so that we can eventually deprecate the former.
>
> Because LEDs are normally driven by leds-gpio driver, but the
> platform code also wants to access the LEDs during thermal shutdown,
> and gpiod API does not allow locating GPIO without requesting it,
> the platform code is now responsible for locating GPIOs through device
> tree and requesting them. It then constructs platform data for
> leds-gpio platform device and registers it. This allows platform
> code to retain access to LED GPIO descriptors and use them when needed.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/warp: switch to using gpiod API
https://git.kernel.org/powerpc/c/1892e87a3e9170146549779622cb844582f1e2bb
cheers
Powered by blists - more mailing lists