firmware: arm_scmi: Add power management operations to SCMI bus
authorPeng Fan <peng.fan@nxp.com>
Fri, 4 Jul 2025 03:09:35 +0000 (11:09 +0800)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 7 Jul 2025 15:53:16 +0000 (16:53 +0100)
commit76e65f7a0e0fb41d636c11b688db6393676f4bf4
treeb7ce65e3ad3fecf71b7bef3cc15b5ea8314f621b
parentf8e656382b4aa45ae51135b72262044550224920
firmware: arm_scmi: Add power management operations to SCMI bus

Introduce suspend and resume power management callbacks for `scmi_bus_type`,
modeled after `platform_pm_ops`. This enables SCMI devices on the bus to
implement their own suspend and resume behavior, allowing for more
fine-grained power control at the device level.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Message-Id: <20250704-scmi-pm-v2-1-9316cec2f9cc@nxp.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/bus.c