firmware: arm_scmi: Implement is_notify_supported callback in sensor protocol
authorCristian Marussi <cristian.marussi@arm.com>
Mon, 12 Feb 2024 12:32:29 +0000 (12:32 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 20 Feb 2024 12:22:29 +0000 (12:22 +0000)
commit7ac7932df2477ee95f8902d62611134fe7c8a133
tree456075290bc09fe4e1f346986e789b4c7482d302
parentcf1bba2775ecb459d8209a65eacb464df9490e30
firmware: arm_scmi: Implement is_notify_supported callback in sensor protocol

Add a preliminary check to verify if the sensor protocol related notify
enable commands are supported at all by the SCMI platform, and then
provide the callback needed to allow the core SCMI notification
subsytem to do a fine-grain check if a specific resource domain
supports notifications.

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