Re: [PATCH] powerpc/warp: switch to using gpiod API
From: Michael Ellerman
Date: Wed Nov 30 2022 - 04:32:42 EST
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