Merge tag 'qcom-drivers-for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorArnd Bergmann <arnd@arndb.de>
Wed, 18 Aug 2021 13:33:01 +0000 (15:33 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 18 Aug 2021 13:33:02 +0000 (15:33 +0200)
Qualcomm driver updates for v5.15

This fixes the "shared memory state machine" (SMSM) interrupt logic to
avoid missing transitions happening while the interrupts are masked.

SM6115 support is added to smd-rpm and rpmpd.

The Qualcomm SCM firmware driver is once again made possible to compile
and load as a kernel module.

An out-of-bounds error related to the cooling devices of the AOSS driver
is corrected. The binding is converted to YAML and a generic compatible
is introduced to reduce the driver churn.

The GENI wrapper gains a helper function used in I2C and SPI for
switching the serial engine hardware to use the wrapper's DMA-engine.

Lastly it contains a number of cleanups and smaller fixes for rpmhpd,
socinfo, CPR, mdt_loader and the GENI DT binding.

* tag 'qcom-drivers-for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
  soc: qcom: smsm: Fix missed interrupts if state changes while masked
  soc: qcom: smsm: Implement support for get_irqchip_state
  soc: qcom: mdt_loader: be more informative on errors
  dt-bindings: qcom: geni-se: document iommus
  soc: qcom: smd-rpm: Add SM6115 compatible
  soc: qcom: geni: Add support for gpi dma
  soc: qcom: geni: move GENI_IF_DISABLE_RO to common header
  PM: AVS: qcom-cpr: Use nvmem_cell_read_variable_le_u32()
  drivers: soc: qcom: rpmpd: Add SM6115 RPM Power Domains
  dt-bindings: power: rpmpd: Add SM6115 to rpmpd binding
  dt-bindings: soc: qcom: smd-rpm: Add SM6115 compatible
  soc: qcom: aoss: Fix the out of bound usage of cooling_devs
  firmware: qcom_scm: Allow qcom_scm driver to be loadable as a permenent module
  soc: qcom: socinfo: Don't print anything if nothing found
  soc: qcom: rpmhpd: Use corner in power_off
  soc: qcom: aoss: Add generic compatible
  dt-bindings: soc: qcom: aoss: Convert to YAML
  dt-bindings: soc: qcom: aoss: Add SC8180X and generic compatible
  firmware: qcom_scm: remove a duplicative condition
  firmware: qcom_scm: Mark string array const

Link: https://lore.kernel.org/r/20210816214840.581244-1-bjorn.andersson@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1  2 
drivers/firmware/Kconfig

diff --combined drivers/firmware/Kconfig
@@@ -6,7 -6,39 +6,7 @@@
  
  menu "Firmware Drivers"
  
 -config ARM_SCMI_PROTOCOL
 -      tristate "ARM System Control and Management Interface (SCMI) Message Protocol"
 -      depends on ARM || ARM64 || COMPILE_TEST
 -      depends on MAILBOX || HAVE_ARM_SMCCC_DISCOVERY
 -      help
 -        ARM System Control and Management Interface (SCMI) protocol is a
 -        set of operating system-independent software interfaces that are
 -        used in system management. SCMI is extensible and currently provides
 -        interfaces for: Discovery and self-description of the interfaces
 -        it supports, Power domain management which is the ability to place
 -        a given device or domain into the various power-saving states that
 -        it supports, Performance management which is the ability to control
 -        the performance of a domain that is composed of compute engines
 -        such as application processors and other accelerators, Clock
 -        management which is the ability to set and inquire rates on platform
 -        managed clocks and Sensor management which is the ability to read
 -        sensor data, and be notified of sensor value.
 -
 -        This protocol library provides interface for all the client drivers
 -        making use of the features offered by the SCMI.
 -
 -config ARM_SCMI_POWER_DOMAIN
 -      tristate "SCMI power domain driver"
 -      depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF)
 -      default y
 -      select PM_GENERIC_DOMAINS if PM
 -      help
 -        This enables support for the SCMI power domains which can be
 -        enabled or disabled via the SCP firmware
 -
 -        This driver can also be built as a module.  If so, the module
 -        will be called scmi_pm_domain. Note this may needed early in boot
 -        before rootfs may be available.
 +source "drivers/firmware/arm_scmi/Kconfig"
  
  config ARM_SCPI_PROTOCOL
        tristate "ARM System Control and Power Interface (SCPI) Message Protocol"
@@@ -203,7 -235,7 +203,7 @@@ config INTEL_STRATIX10_RS
          Say Y here if you want Intel RSU support.
  
  config QCOM_SCM
-       bool
+       tristate "Qcom SCM driver"
        depends on ARM || ARM64
        depends on HAVE_ARM_SMCCC
        select RESET_CONTROLLER