Re: 回复: [PATCH v8 02/19] pinctrl: nxp: add a pin controller driver based on SCMI pin control protocol

Marek Vasut marex at denx.de
Tue Apr 1 14:53:08 CEST 2025


On 4/1/25 12:57 PM, Alice Guo (OSS) wrote:

Hello Alice,

>>>>> Both use same ID 0x19.
>>>>>
>>>>> It is fine to use below, if it is fine to you.
>>>>> SCMI_PROTOCOL_ID_PINCTRL_IMX = 0x19.
>>>> How does the kernel discern which driver it should use to communicate
>>>> with the SCMI provider if both drivers are compiled into the kernel ?
>>>
>>> There is a check in drivers probe. Only one will succeed.
>>
>> I have to admit, this is just ... uhhh :(
>>
>> But I think now, we should also have a driver-side check and two separate
>> drivers, similar to this patch:
>>
>> [PATCH] power: regulator: scmi: Move regulator subnode hack to
>> scmi_regulator
> 
> Hi Marek,
> 
> When will this patch "[PATCH] power: regulator: scmi: Move regulator subnode hack to scmi_regulator" be applied to the uboot next branch? I have already made the next version patch set based on this patch.
Fabio/Tom ?


More information about the U-Boot mailing list