[PATCH] pinctrl: Match DT helper types

Linus Walleij linusw at kernel.org
Fri Jun 12 15:22:46 PDT 2026


On Fri, Jun 12, 2026 at 11:49 PM Rob Herring (Arm) <robh at kernel.org> wrote:

> The affected pinctrl drivers either check for the presence of a standard
> property or read a property documented with an 8-bit cell encoding.
> Using boolean or u32 helpers for those cases disagrees with the binding.
>
> Use a presence helper for "gpio-ranges" and read
> "microchip,spi-present-mask" with the u8 helper documented by the
> binding.
>
> Assisted-by: Codex:gpt-5-5
> Signed-off-by: Rob Herring (Arm) <robh at kernel.org>

Patch applied because good fix.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list