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

From: Alex Tran

Date: Tue Sep 15 2026 - 14:00:33 EST


On 9/7/2026 1:53 AM, Sudeep Holla wrote:

> On Fri, Aug 14, 2026 at 05:05:27PM -0700, Alex Tran wrote:
>>> 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.
> I found couple of feedback from sashiko valid, can you take a look at all the
> comments there[1] ?

Hi Sudeep,

Sure, I'll address all the relevant comments from the feedback and send in a revised version once ready.

BR,
Alex