Re: [RFC/PATCH] backlight: hx8357: prepare to conversion to gpiod API

From: Linus Walleij
Date: Tue Oct 04 2022 - 15:50:49 EST


On Tue, Oct 4, 2022 at 2:54 PM Daniel Thompson
<daniel.thompson@xxxxxxxxxx> wrote:

> > We need to know if i.MX is shipping device trees stored in flash,
> > or if they bundle it with the kernel.
>
> This part is frequently found in add-on boards so it's not purely an
> i.MX-only question.

Oh

> IMHO for not-in-the-soc devices like this the presence of in-kernel DTs
> isn't enough to make a decision. What is needed is a degree of
> due-diligence to show that there are no obvious out-of-kernel users.

OK I think this is a good case to use a special quirk in this case.
I actually envisioned keeping piling them up, and that they would
not be innumerable.

Dmitry, could you fix this? Just patch away in gpiolib-of.c.

Yours,
Linus Walleij