Re: 回复: 回复: [EXT] Re: [PATCH v3 03/17] pinctrl: nxp: add SCMI pin control protocol driver
Marek Vasut
marex at denx.de
Tue Jan 7 12:16:47 CET 2025
On 1/7/25 7:39 AM, Alice Guo (OSS) wrote:
>> -----邮件原件-----
>> 发件人: Marek Vasut <marex at denx.de>
>> 发送时间: 2025年1月7日 4:46
>> 收件人: Alice Guo (OSS) <alice.guo at oss.nxp.com>; Tom Rini
>> <trini at konsulko.com>; Stefano Babic <sbabic at denx.de>; Fabio Estevam
>> <festevam at gmail.com>; dl-uboot-imx <uboot-imx at nxp.com>; Lukasz
>> Majewski <lukma at denx.de>; Sean Anderson <seanga2 at gmail.com>; Simon
>> Glass <sjg at chromium.org>; Alper Nebi Yasak <alpernebiyasak at gmail.com>
>> 抄送: u-boot at lists.denx.de; tharvey at gateworks.com; Peng Fan
>> <peng.fan at nxp.com>; Ranjani Vaidyanathan
>> <ranjani.vaidyanathan at nxp.com>; Ye Li <ye.li at nxp.com>
>> 主题: Re: 回复: [EXT] Re: [PATCH v3 03/17] pinctrl: nxp: add SCMI pin control
>> protocol driver
>>
>> On 1/6/25 10:56 AM, Alice Guo (OSS) wrote:
>>>>> This patch provides a driver for the SCMI pin control protocol which
>>>>> is based on ARM's System Control and Management Interface (SCMI) 3.2.
>>>>> Currently, only the PINCTRL_CONFIG_SET command is implemented.
>>>>
>>>> What is the SCMI provider for this platform ?
>>>
>>> Hi Marek,
>>>
>>> System Manager which runs on M core sets pin or group configurations.
>> U-Boot sends a SCMI message to System Manager to perform hardware
>> operations. You can refer to the source code for details:
>> https://github.com/nxp-imx/imx-sm.
>>
>> Can I use optee-os as a SCMI provider instead ?
>
> You cannot replace System Manager with optee-os.
I think optee-os is also capable of being SCMI provider, so I have to
wonder, why does NXP use custom hand-written SCMI provider instead of
something already available, like that optee-os ?
And one more question, would it be possible to make U-Boot NOT depend on
SCMI at all and instead have regular clock/pinctrl drivers which can
configure the hardware using plain register writes, like it is done on
MX8M and older SoCs ? That would surely make hardware bring up easier .
More information about the U-Boot
mailing list