firmware: arm_scmi: Introduce a new lifecycle for protocol devices
authorCristian Marussi <cristian.marussi@arm.com>
Thu, 22 Dec 2022 18:50:48 +0000 (18:50 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 19 Jan 2023 09:51:09 +0000 (09:51 +0000)
commitee5dcedaf72d797ca0cdd472bbf85c8bd5c0d8e6
treea28ac48f2a4b001c69784ef5443758e06e9d6a54
parent2c3e674465e73e2f7eb52c39dc5c5e97e78e68ea
firmware: arm_scmi: Introduce a new lifecycle for protocol devices

Protocol devices are created or destroyed depending on the related device
request/unrequest events emitted on the scmi_requested_devices_nh
notification chain by the SCMI bus and served in the driver by the
scmi_device_request_notifier.

Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20221222185049.737625-9-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c