1. 29 3月, 2021 5 次提交
  2. 08 12月, 2020 1 次提交
  3. 23 11月, 2020 3 次提交
  4. 20 11月, 2020 3 次提交
  5. 14 9月, 2020 1 次提交
  6. 08 9月, 2020 1 次提交
  7. 07 9月, 2020 1 次提交
  8. 13 7月, 2020 2 次提交
  9. 02 7月, 2020 7 次提交
  10. 30 6月, 2020 1 次提交
  11. 14 4月, 2020 1 次提交
  12. 24 12月, 2019 1 次提交
    • S
      firmware: arm_scmi: Add support for multiple device per protocol · ee7a9c9f
      Sudeep Holla 提交于
      Currently only one scmi device is created for each protocol enumerated.
      However, there is requirement to make use of some procotols by multiple
      kernel subsystems/frameworks. One such example is SCMI PERFORMANCE
      protocol which can be used by both cpufreq and devfreq drivers.
      Similarly, SENSOR protocol may be used by hwmon and iio subsystems,
      and POWER protocol may be used by genpd and regulator drivers.
      
      In order to achieve that, let us extend the scmi bus to match based
      not only protocol id but also the scmi device name if one is available.
      Reviewed-by: NCristian Marussi <cristian.marussi@arm.com>
      Signed-off-by: NSudeep Holla <sudeep.holla@arm.com>
      ee7a9c9f
  13. 12 8月, 2019 6 次提交
  14. 12 6月, 2019 1 次提交
  15. 11 9月, 2018 1 次提交
  16. 10 5月, 2018 2 次提交
  17. 01 3月, 2018 3 次提交
    • S
      firmware: arm_scmi: add option for polling based performance domain operations · 5c4ba3cc
      Sudeep Holla 提交于
      In order to implement fast CPU DVFS switching, we need to perform all
      DVFS operations atomically. Since SCMI transfer already provide option
      to choose between pooling vs interrupt driven(default), we can opt for
      polling based transfers for set,get performance domain operations.
      
      This patch adds option to choose between polling vs interrupt driven
      SCMI transfers for set,get performance level operations.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: NSudeep Holla <sudeep.holla@arm.com>
      5c4ba3cc
    • S
      firmware: arm_scmi: add initial support for sensor protocol · 5179c523
      Sudeep Holla 提交于
      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: NSudeep Holla <sudeep.holla@arm.com>
      5179c523
    • S
      firmware: arm_scmi: add initial support for power protocol · 76a65509
      Sudeep Holla 提交于
      The power protocol is intended for management of power states of various
      power domains. The power domain management protocol provides commands to
      describe the protocol version, discover the implementation specific
      attributes, set and get the power state of a domain.
      
      This patch adds support for the above mention features of the protocol.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: NSudeep Holla <sudeep.holla@arm.com>
      --
       drivers/firmware/arm_scmi/Makefile |   2 +-
       drivers/firmware/arm_scmi/power.c  | 242 +++++++++++++++++++++++++++++++++++++
       include/linux/scmi_protocol.h      |  28 +++++
       3 files changed, 271 insertions(+), 1 deletion(-)
       create mode 100644 drivers/firmware/arm_scmi/power.c
      76a65509