[PATCH 01/11] pinctrl: scmi: send the drive strength in microamperes
Cristian Marussi
cristian.marussi at arm.com
Tue Nov 10 03:01:52 PST 2026
On Fri, Oct 30, 2026 at 04:58:32PM +0100, Clément Le Goffic wrote:
> SCMI gives the drive strength in microamperes, but
> PIN_CONFIG_DRIVE_STRENGTH is in milliamperes and was sent unchanged.
> Convert it on set and on get. It is the only unit that differs: the
> debounce is in microseconds and the pull resistances in ohms on both
> sides, and every other value is a flag or implementation defined.
>
> Fixes: eb524cb651b7 ("pinctrl: Implementation of the generic scmi-pinctrl driver")
> Signed-off-by: Clément Le Goffic <clegoffic at baylibre.com>
> ---
> drivers/pinctrl/pinctrl-scmi.c | 29 +++++++++++++++++++++++------
> 1 file changed, 23 insertions(+), 6 deletions(-)
LGTM.
Reviewed-by: Cristian Marussi <cristian.marussi at arm.com>
Thanks,
Cristian
More information about the linux-arm-kernel
mailing list