[PATCH v4 5/7] firmware: imx: Add i.MX95 SCMI LMM driver
Peng Fan
peng.fan at nxp.com
Mon Apr 14 02:57:43 PDT 2025
Hi Sudeep,
> Subject: Re: [PATCH v4 5/7] firmware: imx: Add i.MX95 SCMI LMM
> driver
>
> On Tue, Apr 08, 2025 at 04:44:29PM +0800, Peng Fan (OSS) wrote:
> > From: Peng Fan <peng.fan at nxp.com>
> >
> > The i.MX95 System manager exports SCMI LMM protocol for linux to
> > manage Logical Machines. The driver is to use the LMM Protocol
> > interface to boot, shutdown a LM.
> >
> > Reviewed-by: Cristian Marussi <cristian.marussi at arm.com>
> > Signed-off-by: Peng Fan <peng.fan at nxp.com>
> > ---
> > drivers/firmware/arm_scmi/vendors/imx/Kconfig | 3 +-
> > drivers/firmware/imx/Kconfig | 11 ++++
> > drivers/firmware/imx/Makefile | 1 +
> > drivers/firmware/imx/sm-lmm.c | 91
> +++++++++++++++++++++++++++
> > include/linux/firmware/imx/sm.h | 14 +++++
> > 5 files changed, 119 insertions(+), 1 deletion(-)
> >
> > diff --git a/drivers/firmware/arm_scmi/vendors/imx/Kconfig
> > b/drivers/firmware/arm_scmi/vendors/imx/Kconfig
> > index
> >
> b5f13d0e40155e485f4d1696e9550645d888ef44..4c24e17425f83081
> 0f8ba376ece9
> > db93c8cded6d 100644
> > --- a/drivers/firmware/arm_scmi/vendors/imx/Kconfig
> > +++ b/drivers/firmware/arm_scmi/vendors/imx/Kconfig
> > @@ -26,7 +26,8 @@ config IMX_SCMI_CPU_EXT config
> IMX_SCMI_LMM_EXT
> > tristate "i.MX SCMI LMM EXTENSION"
> > depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF)
> > - default y if ARCH_MXC
> > + depends on IMX_SCMI_LMM_DRV
> > + default y if ARCH_MXC && ARM64
>
> I can't understand the ARM64 dependency on this and next patch.
ARCH_MXC both supports ARM32 and ARM64.
To i.MX ARM32 platform, there is no plan to enable SCMI, so only
set y for ARCH_MXC ARM64 platforms.
Thanks,
Peng.
>
> --
> Regards,
> Sudeep
More information about the linux-arm-kernel
mailing list