[PATCH 0/2] pinctrl: scmi: Replace get function and group info with generic callbacks
Alex Tran
alex.tran at oss.qualcomm.com
Fri Aug 14 17:05:27 PDT 2026
> Hi Alex,
>
> I gave it a go at this series on an emulated setup and with these
> changes I get:
>
> root at deb-guest:~# modprobe pinctrl-scmi
> [ 15.329932] scmi-pinctrl scmi_dev.4: error -EINVAL: Failed to register functions
> [ 15.330259] scmi-pinctrl scmi_dev.4: probe with driver scmi-pinctrl failed with error -22
>
> ...not debugged any further.
>
> Thanks,
> Cristian
Hi Cristian,
I've tested this series on sa8797p hardware and did not experience any issues
with registering functions during probe. Can you provide me with the pin
topology of your emulated setup? I have a hunch that the topology may
contain a function with 0 groups which is why -EINVAL is being returned.
The previous pinctrl_scmi_get_function_groups callback considered a function
with no groups invalid.
Best,
Alex
More information about the linux-arm-kernel
mailing list