1. 26 Oct, 2021 3 commits
    • Arnd Bergmann's avatar
      Merge tag 'qcom-drivers-for-5.16-2' of... · e2a3495b
      Arnd Bergmann authored
      Merge tag 'qcom-drivers-for-5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/drivers
      
      More Qualcomm driver updates for v5.16
      
      This introduces the Qualcomm "sleep stats" driver, which aids the
      efforts of bringing various Qualcomm platforms into low power mode.
      
      The SMP2P driver gains support for negotiating the "SSR" feature, which
      is used to better synchronize some corner cases that might appear as the
      remoteproc is recovering from a crash.
      
      The socinfo driver learns about a few new PMICs.
      
      SMEM is updated so that it's possible to put the compatible property
      directly in the reserved-memory node, to avoid having to have a separate
      node just pointing to the memory-region.
      
      Lastly it fixes some bugs in smp2p, apr, rpmhpd drivers, notably
      avoiding the issue where powering on a power-domain using rpmhpd while
      keeping the performance_state at 0 is a nop
      
      * tag 'qcom-drivers-for-5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
        firmware: qcom: scm: Don't break compile test on non-ARM platforms
        soc: qcom: smp2p: Add of_node_put() before goto
        soc: qcom: apr: Add of_node_put() before return
        soc: qcom: qcom_stats: Fix client votes offset
        soc: qcom: rpmhpd: fix sm8350_mxc's peer domain
        dt-bindings: arm: cpus: Document qcom,msm8916-smp enable-method
        ARM: qcom: Add qcom,msm8916-smp enable-method identical to MSM8226
        firmware: qcom: scm: Add support for MC boot address API
        soc: qcom: spm: Add 8916 SPM register data
        dt-bindings: soc: qcom: spm: Document qcom,msm8916-saw2-v3.0-cpu
        soc: qcom: socinfo: Add PM8150C and SMB2351 models
        firmware: qcom_scm: Fix error retval in __qcom_scm_is_call_available()
        soc: qcom: smp2p: add feature negotiation and ssr ack feature support
        soc: qcom: Add Sleep stats driver
        dt-bindings: Introduce QCOM Sleep stats bindings
        soc: qcom: socinfo: add two missing PMIC IDs
        soc: qcom: rpmhpd: Make power_on actually enable the domain
        soc: qcom: smem: Support reserved-memory description
        dt-bindings: soc: smem: Make indirection optional
        dt-bindings: sram: Document qcom,rpm-msg-ram
      
      Link: https://lore.kernel.org/r/20211026140706.1205989-1-bjorn.andersson@linaro.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      e2a3495b
    • Arnd Bergmann's avatar
      Merge tag 'samsung-drivers-5.16' of... · 64954d19
      Arnd Bergmann authored
      Merge tag 'samsung-drivers-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into arm/drivers
      
      Samsung SoC drivers changes for v5.16
      
      1. Convert Exynos ChipID and ASV driver to a module and make it a
         default, instead of selected. The driver is not essential, so it
         could be disabled, if needed.
      2. Add support for Exynos850 and Exynos Auto v9 to Exynos ChipID and ASV
         driver.
      3. Get rid of HAVE_S3C_RTC because it was adding just another layer
         instead of direct dependencies.
      4. Minor cleanups.
      
      * tag 'samsung-drivers-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
        soc: samsung: exynos-chipid: add exynosautov9 SoC support
        rtc: s3c: remove HAVE_S3C_RTC in favor of direct dependencies
        soc: samsung: exynos-chipid: Add Exynos850 support
        dt-bindings: samsung: exynos-chipid: Document Exynos850 compatible
        soc: samsung: exynos-chipid: Pass revision reg offsets
        soc: samsung: pm_domains: drop unused is_off field
        arm64: exynos: don't have ARCH_EXYNOS select EXYNOS_CHIPID
        soc: samsung: exynos-chipid: do not enforce built-in
        soc: samsung: exynos-chipid: convert to a module
        soc: samsung: exynos-chipid: avoid soc_device_to_device()
        soc: samsung: exynos-pmu: Fix compilation when nothing selects CONFIG_MFD_CORE
      
      Link: https://lore.kernel.org/r/20211026094709.75692-2-krzysztof.kozlowski@canonical.comSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      64954d19
    • Chanho Park's avatar
      soc: samsung: exynos-chipid: add exynosautov9 SoC support · b417d1e8
      Chanho Park authored
      The product id of Exynos Auto v9 is "0xAAA8_0000". Add this id and its
      name.
      
      Cc: Sam Protsenko <semen.protsenko@linaro.org>
      Signed-off-by: default avatarChanho Park <chanho61.park@samsung.com>
      Link: https://lore.kernel.org/r/20211021012017.158919-2-chanho61.park@samsung.comSigned-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
      b417d1e8
  2. 25 Oct, 2021 1 commit
  3. 24 Oct, 2021 11 commits
  4. 22 Oct, 2021 6 commits
  5. 21 Oct, 2021 3 commits
  6. 20 Oct, 2021 6 commits
  7. 18 Oct, 2021 4 commits
  8. 17 Oct, 2021 2 commits
  9. 16 Oct, 2021 3 commits
  10. 15 Oct, 2021 1 commit
    • Bjorn Andersson's avatar
      soc: qcom: rpmhpd: Make power_on actually enable the domain · e3e56c05
      Bjorn Andersson authored
      The general expectation is that powering on a power-domain should make
      the power domain deliver some power, and if a specific performance state
      is needed further requests has to be made.
      
      But in contrast with other power-domain implementations (e.g. rpmpd) the
      RPMh does not have an interface to enable the power, so the driver has
      to vote for a particular corner (performance level) in rpmh_power_on().
      
      But the corner is never initialized, so a typical request to simply
      enable the power domain would not actually turn on the hardware. Further
      more, when no more clients vote for a performance state (i.e. the
      aggregated vote is 0) the power domain would be turned off.
      
      Fix both of these issues by always voting for a corner with non-zero
      value, when the power domain is enabled.
      
      The tracking of the lowest non-zero corner is performed to handle the
      corner case if there's ever a domain with a non-zero lowest corner, in
      which case both rpmh_power_on() and rpmh_rpmhpd_set_performance_state()
      would be allowed to use this lowest corner.
      
      Fixes: 279b7e8a ("soc: qcom: rpmhpd: Add RPMh power domain driver")
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
      Link: https://lore.kernel.org/r/20211005033732.2284447-1-bjorn.andersson@linaro.org
      e3e56c05