[PATCH v3 01/10] pinctrl: scmi: report an off setting as not set

Linus Walleij linusw at kernel.org
Wed Nov 25 10:50:12 PST 2026


On Mon, Nov 23, 2026 at 4:21 PM Clément Le Goffic
<clegoffic at baylibre.com> wrote:

> A get of a setting that is on or off, the flags and the pulls, returned
> 0 as a value, so every one of them showed as set on every pin. Return
> -EINVAL when the platform answers 0, which is how pinconf reports a
> setting that is not active.
> The input, output and schmitt enables keep their value: 0 means disabled
> for them, and the pinctrl based GPIO driver reads the output enable to
> tell the direction of a line.
>
> Fixes: eb524cb651b7 ("pinctrl: Implementation of the generic scmi-pinctrl driver")
> Reviewed-by: Cristian Marussi <cristian.marussi at arm.com>
> Signed-off-by: Clément Le Goffic <clegoffic at baylibre.com>

Patch applied for fixes.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list