回复: [EXT] Re: [PATCH v3 03/17] pinctrl: nxp: add SCMI pin control protocol driver

Alice Guo (OSS) alice.guo at oss.nxp.com
Mon Jan 6 10:56:22 CET 2025


> > 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.

> > +#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.

Best Regards,
Alice Guo

> > +#endif
> > +#if defined(CONFIG_IMX95)
> > +#define DAISY_OFFSET 0x408
> > +#endif
> [...]


More information about the U-Boot mailing list