Re: 回复: [EXT] Re: [PATCH v3 03/17] pinctrl: nxp: add SCMI pin control protocol driver
Marek Vasut
marex at denx.de
Mon Jan 6 21:46:06 CET 2025
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 ?
>>> +#include "pinctrl-imx.h"
>>> +
>>> +#if defined(CONFIG_IMX93)
>>
>> Use IS_ENABLED() or CONFIG_IS_ENABLED()
>>
>>> +#define DAISY_OFFSET 0x360
>>
>> Why can this offset information not be queried from the firmware interface ?
>
> This offset information is not provided by System Manager. DAISY_OFFSET is used to convert the daisy register address in imx95-pinfunc.h for System Manager to use.
OK
More information about the U-Boot
mailing list