Skip to content
  • Sudeep Holla's avatar
    firmware: arm_scmi: add scmi protocol bus to enumerate protocol devices · 933c5044
    Sudeep Holla authored
    
    
    The SCMI specification encompasses various protocols. However, not every
    protocol has to be present on a given platform/implementation as not
    every protocol is relevant for it.
    
    Furthermore, the platform chooses which protocols it exposes to a given
    agent. The only protocol that must be implemented is the base protocol.
    The base protocol is used by an agent to discover which protocols are
    available to it.
    
    In order to enumerate the discovered implemented protocols, this patch
    adds support for a separate scmi protocol bus. It also adds mechanism to
    register support for different protocols.
    
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
    933c5044