[PATCH v4 5/7] firmware: imx: Add i.MX95 SCMI LMM driver

Sudeep Holla sudeep.holla at arm.com
Mon Apr 14 02:34:40 PDT 2025


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

-- 
Regards,
Sudeep



More information about the linux-arm-kernel mailing list