[GIT PULL] firmware: arm_scmi: updates for v5.13

Sudeep Holla sudeep.holla at arm.com
Wed Mar 31 11:06:57 BST 2021


Hi ARM SoC Team,

Please pull !

All the drivers files have been acked by respective maintainers.
There is a conflict with IIO tree in linux-next with right fix there,
we might get same conflict depending on what gets merged first upstream.

Regards,
Sudeep

-->8

The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:

  Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-updates-5.13

for you to fetch changes up to d4f9dddd21f39395c62ea12d3d91239637d4805f:

  firmware: arm_scmi: Add dynamic scmi devices creation (2021-03-30 16:35:16 +0100)

----------------------------------------------------------------
ARM SCMI updates for v5.13

The major and big addition this time is to support modularisation of
individual SCMI protocols thus enabling to add support for vendors'
custom SCMI protocol. This changes the interface provided by the SCMI
driver to all the users of SCMI and hence involved changes in various
other subsystem SCMI drivers. The change has been split with a bit of
transient code to preserve bisectability and avoiding one big patch bomb
changing all the users.

This also includes SCMI IIO driver(pulled from IIO tree) and support for
per-cpu DVFS.

----------------------------------------------------------------
Cristian Marussi (38):
      firmware: arm_scmi: Extend protocol registration interfaces
      firmware: arm_scmi: Introduce protocol handle definitions
      firmware: arm_scmi: Introduce devres get/put protocols operations
      firmware: arm_scmi: Make notifications aware of protocols users
      firmware: arm_scmi: Introduce new devres notification ops
      firmware: arm_scmi: Refactor events registration
      firmware: arm_scmi: Convert events registration to protocol handles
      firmware: arm_scmi: Add new protocol handle core transfer ops
      firmware: arm_scmi: Add helper to access protocol revision/version
      firmware: arm_scmi: Port base protocol to new interface
      firmware: arm_scmi: Port perf protocol to new protocols interface
      cpufreq: scmi: Port driver to the new scmi_perf_proto_ops interface
      firmware: arm_scmi: Remove legacy scmi_perf_ops protocol interface
      firmware: arm_scmi: Port power protocol to new protocols interface
      firmware: arm_scmi: Port genpd driver to the new scmi_power_proto_ops interface
      firmware: arm_scmi: Remove legacy scmi_power_ops protocol interface
      firmware: arm_scmi: Port clock protocol to new protocols interface
      clk: scmi: Port driver to the new scmi_clk_proto_ops interface
      firmware: arm_scmi: Remove legacy scmi_clk_ops protocol interface
      firmware: arm_scmi: Port reset protocol to new protocols interface
      reset: reset-scmi: Port driver to the new scmi_reset_proto_ops interface
      firmware: arm_scmi: Remove legacy scmi_reset_ops protocol interface
      firmware: arm_scmi: Port sensor protocol to new protocols interface
      hwmon: (scmi) port driver to the new scmi_sensor_proto_ops interface
      iio/scmi: Port driver to the new scmi_sensor_proto_ops interface
      firmware: arm_scmi: Remove legacy scmi_sensor_ops protocol interface
      firmware: arm_scmi: Port systempower protocol to new protocols interface
      firmware: arm_scmi: Port voltage protocol to new protocols interface
      regulator: scmi: Port driver to the new scmi_voltage_proto_ops interface
      firmware: arm_scmi: Remove legacy scmi_voltage_ops protocol interface
      firmware: arm_scmi: Make references to handle const
      firmware: arm_scmi: Cleanup legacy protocol init code
      firmware: arm_scmi: Cleanup unused core transfer helper wrappers
      firmware: arm_scmi: Cleanup events registration transient code
      firmware: arm_scmi: Make notify_priv really private
      firmware: arm_scmi: Rename non devres notify_ops
      firmware: arm_scmi: Add protocol modularization support
      firmware: arm_scmi: Add dynamic scmi devices creation

Jyoti Bhayana (1):
      iio/scmi: Adding support for IIO SCMI Based Sensors

Nicola Mazzucato (2):
      scmi-cpufreq: Remove deferred probe
      scmi-cpufreq: Get opp_shared_cpus from opp-v2 for EM

Sudeep Holla (1):
      Merge branch 'ib-iio-scmi-5.12-rc2-take3' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into for-next/scmi

 MAINTAINERS                                |   6 +
 drivers/clk/clk-scmi.c                     |  28 +-
 drivers/cpufreq/scmi-cpufreq.c             | 107 ++--
 drivers/firmware/arm_scmi/base.c           | 142 ++---
 drivers/firmware/arm_scmi/bus.c            | 100 +++-
 drivers/firmware/arm_scmi/clock.c          | 129 ++---
 drivers/firmware/arm_scmi/common.h         | 133 ++++-
 drivers/firmware/arm_scmi/driver.c         | 798 ++++++++++++++++++++++++++---
 drivers/firmware/arm_scmi/notify.c         | 328 +++++++++---
 drivers/firmware/arm_scmi/notify.h         |  40 +-
 drivers/firmware/arm_scmi/perf.c           | 262 +++++-----
 drivers/firmware/arm_scmi/power.c          | 134 ++---
 drivers/firmware/arm_scmi/reset.c          | 146 +++---
 drivers/firmware/arm_scmi/scmi_pm_domain.c |  26 +-
 drivers/firmware/arm_scmi/sensors.c        | 232 +++++----
 drivers/firmware/arm_scmi/system.c         |  63 ++-
 drivers/firmware/arm_scmi/voltage.c        | 126 ++---
 drivers/hwmon/scmi-hwmon.c                 |  24 +-
 drivers/iio/common/Kconfig                 |   1 +
 drivers/iio/common/Makefile                |   1 +
 drivers/iio/common/scmi_sensors/Kconfig    |  18 +
 drivers/iio/common/scmi_sensors/Makefile   |   5 +
 drivers/iio/common/scmi_sensors/scmi_iio.c | 683 ++++++++++++++++++++++++
 drivers/regulator/scmi-regulator.c         |  42 +-
 drivers/reset/reset-scmi.c                 |  33 +-
 include/linux/scmi_protocol.h              | 200 ++++----
 26 files changed, 2844 insertions(+), 963 deletions(-)
 create mode 100644 drivers/iio/common/scmi_sensors/Kconfig
 create mode 100644 drivers/iio/common/scmi_sensors/Makefile
 create mode 100644 drivers/iio/common/scmi_sensors/scmi_iio.c



More information about the linux-arm-kernel mailing list