Re: [PATCH 0/2] pinctrl: scmi: Replace get function and group info with generic callbacks

From: Alex Tran

Date: Fri Aug 14 2026 - 20:05:40 EST


> Hi Alex,
>
> I gave it a go at this series on an emulated setup and with these
> changes I get:
>
> root@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