• Sudeep Holla's avatar
    firmware: arm_scmi: add initial support for sensor protocol · 5179c523
    Sudeep Holla authored
    The sensor protocol provides functions to manage platform sensors, and
    provides the commands to describe the protocol version and the various
    attribute flags. It also provides commands to discover various sensors
    implemented and managed by the platform, read any sensor synchronously
    or asynchronously as allowed by the platform, program sensor attributes
    and/or configurations, if applicable.
    
    This patch adds support for most of the above features.
    
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
    5179c523
sensors.c 6.81 KB