Re: [PATCH v2 1/2] gpiolib: Fix a mess with the GPIO_* flags
From: Linus Walleij
Date: Tue Apr 16 2024 - 08:22:30 EST
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.
Yours,
Linus Walleij