Re: [PATCH v2 1/2] gpiolib: Fix a mess with the GPIO_* flags
From: Andy Shevchenko
Date: Tue Apr 16 2024 - 10:05:27 EST
On Tue, Apr 16, 2024 at 02:22:09PM +0200, Linus Walleij wrote:
> On Fri, Apr 12, 2024 at 9:44 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
>
> > IIUC include/dt-bindings/ headers should only be used by DT sources
> > and code that parses the OF properties.
>
> That's what I have come to understand as well.
>
> I wonder if there is something that can be done to enforce it?
>
> Ideally the code that parses OF properties should have to
> opt in to get access to the <dt-bindings/*> namespace.
Whatever you, guys, come up with as a solution, can it be fixed sooner than later?
I mean, I would appreciate if somebody got it done for v6.9-rcX/v6.10-rc1 so we don't
need to look into this again.
--
With Best Regards,
Andy Shevchenko