i.MX95 System Manager Firmware support vendor extension protocol: - Battery Backed Module(BBM) Protocol for RTC and BUTTON feature. - MISC Protocol for misc settings, such as BLK CTRL GPR settings, GPIO expander settings. This patchset is to support the two protocols and users that use the protocols. Signed-off-by: Peng Fan <peng.fan@xxxxxxx> To: Rob Herring <robh@xxxxxxxxxx> To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx> To: Conor Dooley <conor+dt@xxxxxxxxxx> To: Shawn Guo <shawnguo@xxxxxxxxxx> To: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> To: Pengutronix Kernel Team <kernel@xxxxxxxxxxxxxx> To: Fabio Estevam <festevam@xxxxxxxxx> To: Peng Fan <peng.fan@xxxxxxx> To: Sudeep Holla <sudeep.holla@xxxxxxx> To: Cristian Marussi <cristian.marussi@xxxxxxx> Cc: devicetree@xxxxxxxxxxxxxxx Cc: imx@xxxxxxxxxxxxxxx Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Changes in v2: - Sorry for late update since v1. - Add a new patch 1 - Address imx,scmi.yaml issues - Address comments for imx-sm-bbm.c and imx-sm-misc.c - I not add vendor id since related patches not landed in linux-next. - Link to v1: https://lore.kernel.org/r/20240202-imx95-bbm-misc-v1-0-3cb743020933@xxxxxxx --- Peng Fan (6): dt-bindings: firmware: arm,scmi: set additionalProperties to true dt-bindings: firmware: add i.MX SCMI Extension protocol firmware: arm_scmi: add initial support for i.MX BBM protocol firmware: arm_scmi: add initial support for i.MX MISC protocol firmware: imx: support BBM module firmware: imx: add i.MX95 MISC driver .../devicetree/bindings/firmware/arm,scmi.yaml | 2 +- .../devicetree/bindings/firmware/imx,scmi.yaml | 80 +++++ drivers/firmware/arm_scmi/Kconfig | 20 ++ drivers/firmware/arm_scmi/Makefile | 2 + drivers/firmware/arm_scmi/imx-sm-bbm.c | 378 +++++++++++++++++++++ drivers/firmware/arm_scmi/imx-sm-misc.c | 305 +++++++++++++++++ drivers/firmware/imx/Makefile | 2 + drivers/firmware/imx/sm-bbm.c | 317 +++++++++++++++++ drivers/firmware/imx/sm-misc.c | 92 +++++ include/linux/firmware/imx/sm.h | 33 ++ include/linux/scmi_imx_protocol.h | 62 ++++ 11 files changed, 1292 insertions(+), 1 deletion(-) --- base-commit: 2b3d5988ae2cb5cd945ddbc653f0a71706231fdd change-id: 20240405-imx95-bbm-misc-v2-b5e9d24adc42 Best regards, -- Peng Fan <peng.fan@xxxxxxx>