[PATCH] backlight: l4f00242t03: Convert to GPIO descriptors

Daniel Thompson daniel.thompson at linaro.org
Tue Apr 28 13:46:45 UTC 2020


On Wed, Apr 15, 2020 at 02:14:49PM +0200, Linus Walleij wrote:
> This converts the l4f00242t03 backlight driver to use GPIO
> descriptors and switches the two Freescale i.MX boards over
> to passing descriptors instead of global GPIO numbers.
> 
> We use the typical names "enable" and "reset" as found in
> the device tree bindings for panel GPIOs.
> 
> This saves a lot of code in the driver and makes it possible
> to get rid of the platform data header altogether.
> 
> Cc: Sascha Hauer <s.hauer at pengutronix.de>
> Cc: Anson Huang <Anson.Huang at nxp.com>
> Cc: Shawn Guo <shawnguo at kernel.org>
> Cc: Pengutronix Kernel Team <kernel at pengutronix.de>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: NXP Linux Team <linux-imx at nxp.com>
> Cc: Alberto Panizzo <maramaopercheseimorto at gmail.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>


> ---
> i.MX folks: please test if you can or at least ACK so Lee
> knows if this is OK for you.
> ---

+1!


Daniel.


More information about the dri-devel mailing list