Re: [RFC v1 2/4] pinctrl: add polarfire soc mssio pinctrl driver
From: Linus Walleij
Date: Tue Nov 25 2025 - 11:10:14 EST
On Tue, Nov 25, 2025 at 2:03 AM Conor Dooley <conor@xxxxxxxxxx> wrote:
> I'm not sure how keen I would be on this of_property_present() idea
> though, feels like wasteful to search the dt for conflicting properties
> when we are already going through all possible properties and can do the
> check at the end, when we've got all the information? Could probably
> keep a temporay bitmap, using pin_config_param as the index, and use
> test_bit() using the known-incompatibles to check it somewhat neatly?
I think it could work, as all conflicts (I think?) are boolean (this OR that).
It's probably a bit ambitious, but I'm game :D
Yours,
Linus Walleij