mbox series

[GIT,PULL] OPP updates for 5.20-rc1

Message ID 20220802043813.qxl7etwseag2ncb3@vireshk-i7
State New
Headers show
Series [GIT,PULL] OPP updates for 5.20-rc1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git tags/opp-updates-5.20-rc1

Message

Viresh Kumar Aug. 2, 2022, 4:38 a.m. UTC
Hi Rafael,

The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:

  Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git tags/opp-updates-5.20-rc1

for you to fetch changes up to 1d95af02f23031c2e1cca7607c514b86ce85bc6e:

  venus: pm_helpers: Fix warning in OPP during probe (2022-08-02 09:44:22 +0530)

----------------------------------------------------------------
OPP updates for 5.20-rc1

- Make dev_pm_opp_set_regulators() accept NULL terminated list (Viresh
  Kumar).

- Add dev_pm_opp_set_config() and friends and migrate other
  users/helpers to using them (Viresh Kumar).

- Add support for multiple clocks for a device (Viresh Kumar and
  Krzysztof Kozlowski).

- Configure resources before adding OPP table for Venus (Stanimir
  Varbanov).

- Keep reference count up for opp->np and opp_table->np while they are
  still in use (Liang He).

- Minor cleanups (Viresh Kumar and Yang Li).

----------------------------------------------------------------
Krzysztof Kozlowski (1):
      dt-bindings: opp: accept array of frequencies

Liang He (2):
      OPP: Don't drop opp_table->np reference while it is still in use
      OPP: Don't drop opp->np reference while it is still in use

Stanimir Varbanov (1):
      venus: pm_helpers: Fix warning in OPP during probe

Tang Bin (1):
      opp: Fix error check in dev_pm_opp_attach_genpd()

Viresh Kumar (37):
      OPP: Fix typo in comment
      OPP: Track if clock name is configured by platform
      OPP: Make dev_pm_opp_set_regulators() accept NULL terminated list
      OPP: Add dev_pm_opp_set_config() and friends
      cpufreq: qcom-nvmem: Migrate to dev_pm_opp_set_config()
      cpufreq: sti: Migrate to dev_pm_opp_set_config()
      cpufreq: ti: Migrate to dev_pm_opp_set_config()
      drm/lima: Migrate to dev_pm_opp_set_config()
      soc/tegra: Add comment over devm_pm_opp_set_clkname()
      soc/tegra: Migrate to dev_pm_opp_set_config()
      OPP: Migrate set-regulators API to use set-config helpers
      OPP: Migrate set-supported-hw API to use set-config helpers
      OPP: Migrate set-clk-name API to use set-config helpers
      OPP: Migrate set-opp-helper API to use set-config helpers
      OPP: Migrate attach-genpd API to use set-config helpers
      OPP: Migrate set-prop-name helper API to use set-config helpers
      OPP: Add support for config_regulators() helper
      OPP: Make _generic_set_opp_regulator() a config_regulators() interface
      OPP: Add dev_pm_opp_get_supplies()
      OPP: ti: Migrate to dev_pm_opp_set_config_regulators()
      OPP: Remove custom OPP helper support
      OPP: Remove dev_pm_opp_find_freq_ceil_by_volt()
      OPP: Add generic key finding helpers and use them for freq APIs
      OPP: Use generic key finding helpers for level key
      OPP: Use generic key finding helpers for bandwidth key
      OPP: Use consistent names for OPP table instances
      OPP: Remove rate_not_available parameter to _opp_add()
      OPP: Reuse _opp_compare_key() in _opp_add_static_v2()
      OPP: Make dev_pm_opp_set_opp() independent of frequency
      OPP: Allow multiple clocks for a device
      OPP: Compare bandwidths for all paths in _opp_compare_key()
      OPP: Add key specific assert() method to key finding helpers
      OPP: Assert clk_count == 1 for single clk helpers
      OPP: Provide a simple implementation to configure multiple clocks
      OPP: Allow config_clks helper for single clk case
      PM / devfreq: tegra30: Register config_clks helper
      OPP: Remove dev{m}_pm_opp_of_add_table_noclk()

Yang Li (1):
      opp: Fix some kernel-doc comments

 Documentation/devicetree/bindings/opp/opp-v2-base.yaml |   10 +
 drivers/cpufreq/cpufreq-dt.c                           |   19 +-
 drivers/cpufreq/imx-cpufreq-dt.c                       |   12 +-
 drivers/cpufreq/qcom-cpufreq-nvmem.c                   |  109 +++--------
 drivers/cpufreq/sti-cpufreq.c                          |   27 +--
 drivers/cpufreq/sun50i-cpufreq-nvmem.c                 |   31 ++-
 drivers/cpufreq/tegra20-cpufreq.c                      |   12 +-
 drivers/cpufreq/ti-cpufreq.c                           |   42 ++--
 drivers/devfreq/exynos-bus.c                           |   21 +-
 drivers/devfreq/tegra30-devfreq.c                      |   22 ++-
 drivers/gpu/drm/lima/lima_devfreq.c                    |   12 +-
 drivers/gpu/drm/panfrost/panfrost_devfreq.c            |    3 +-
 drivers/gpu/drm/panfrost/panfrost_drv.c                |   15 +-
 drivers/media/platform/qcom/venus/pm_helpers.c         |   10 +-
 drivers/memory/tegra/tegra124-emc.c                    |   11 +-
 drivers/opp/core.c                                     | 1577 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------
 drivers/opp/cpu.c                                      |   12 +-
 drivers/opp/debugfs.c                                  |   27 ++-
 drivers/opp/of.c                                       |  150 +++++++-------
 drivers/opp/opp.h                                      |   56 ++++--
 drivers/opp/ti-opp-supply.c                            |   77 ++++----
 drivers/soc/tegra/common.c                             |   49 +++--
 drivers/soc/tegra/pmc.c                                |    4 +-
 include/linux/pm_opp.h                                 |  322 ++++++++++++++++++------------
 24 files changed, 1356 insertions(+), 1274 deletions(-)

Comments

Rafael J. Wysocki Aug. 3, 2022, 3:53 p.m. UTC | #1
On Tue, Aug 2, 2022 at 6:38 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
> Hi Rafael,
>
> The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:
>
>   Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)
>
> are available in the Git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git tags/opp-updates-5.20-rc1
>
> for you to fetch changes up to 1d95af02f23031c2e1cca7607c514b86ce85bc6e:
>
>   venus: pm_helpers: Fix warning in OPP during probe (2022-08-02 09:44:22 +0530)
>
> ----------------------------------------------------------------
> OPP updates for 5.20-rc1
>
> - Make dev_pm_opp_set_regulators() accept NULL terminated list (Viresh
>   Kumar).
>
> - Add dev_pm_opp_set_config() and friends and migrate other
>   users/helpers to using them (Viresh Kumar).
>
> - Add support for multiple clocks for a device (Viresh Kumar and
>   Krzysztof Kozlowski).
>
> - Configure resources before adding OPP table for Venus (Stanimir
>   Varbanov).
>
> - Keep reference count up for opp->np and opp_table->np while they are
>   still in use (Liang He).
>
> - Minor cleanups (Viresh Kumar and Yang Li).
>
> ----------------------------------------------------------------
> Krzysztof Kozlowski (1):
>       dt-bindings: opp: accept array of frequencies
>
> Liang He (2):
>       OPP: Don't drop opp_table->np reference while it is still in use
>       OPP: Don't drop opp->np reference while it is still in use
>
> Stanimir Varbanov (1):
>       venus: pm_helpers: Fix warning in OPP during probe
>
> Tang Bin (1):
>       opp: Fix error check in dev_pm_opp_attach_genpd()
>
> Viresh Kumar (37):
>       OPP: Fix typo in comment
>       OPP: Track if clock name is configured by platform
>       OPP: Make dev_pm_opp_set_regulators() accept NULL terminated list
>       OPP: Add dev_pm_opp_set_config() and friends
>       cpufreq: qcom-nvmem: Migrate to dev_pm_opp_set_config()
>       cpufreq: sti: Migrate to dev_pm_opp_set_config()
>       cpufreq: ti: Migrate to dev_pm_opp_set_config()
>       drm/lima: Migrate to dev_pm_opp_set_config()
>       soc/tegra: Add comment over devm_pm_opp_set_clkname()
>       soc/tegra: Migrate to dev_pm_opp_set_config()
>       OPP: Migrate set-regulators API to use set-config helpers
>       OPP: Migrate set-supported-hw API to use set-config helpers
>       OPP: Migrate set-clk-name API to use set-config helpers
>       OPP: Migrate set-opp-helper API to use set-config helpers
>       OPP: Migrate attach-genpd API to use set-config helpers
>       OPP: Migrate set-prop-name helper API to use set-config helpers
>       OPP: Add support for config_regulators() helper
>       OPP: Make _generic_set_opp_regulator() a config_regulators() interface
>       OPP: Add dev_pm_opp_get_supplies()
>       OPP: ti: Migrate to dev_pm_opp_set_config_regulators()
>       OPP: Remove custom OPP helper support
>       OPP: Remove dev_pm_opp_find_freq_ceil_by_volt()
>       OPP: Add generic key finding helpers and use them for freq APIs
>       OPP: Use generic key finding helpers for level key
>       OPP: Use generic key finding helpers for bandwidth key
>       OPP: Use consistent names for OPP table instances
>       OPP: Remove rate_not_available parameter to _opp_add()
>       OPP: Reuse _opp_compare_key() in _opp_add_static_v2()
>       OPP: Make dev_pm_opp_set_opp() independent of frequency
>       OPP: Allow multiple clocks for a device
>       OPP: Compare bandwidths for all paths in _opp_compare_key()
>       OPP: Add key specific assert() method to key finding helpers
>       OPP: Assert clk_count == 1 for single clk helpers
>       OPP: Provide a simple implementation to configure multiple clocks
>       OPP: Allow config_clks helper for single clk case
>       PM / devfreq: tegra30: Register config_clks helper
>       OPP: Remove dev{m}_pm_opp_of_add_table_noclk()
>
> Yang Li (1):
>       opp: Fix some kernel-doc comments
>
>  Documentation/devicetree/bindings/opp/opp-v2-base.yaml |   10 +
>  drivers/cpufreq/cpufreq-dt.c                           |   19 +-
>  drivers/cpufreq/imx-cpufreq-dt.c                       |   12 +-
>  drivers/cpufreq/qcom-cpufreq-nvmem.c                   |  109 +++--------
>  drivers/cpufreq/sti-cpufreq.c                          |   27 +--
>  drivers/cpufreq/sun50i-cpufreq-nvmem.c                 |   31 ++-
>  drivers/cpufreq/tegra20-cpufreq.c                      |   12 +-
>  drivers/cpufreq/ti-cpufreq.c                           |   42 ++--
>  drivers/devfreq/exynos-bus.c                           |   21 +-
>  drivers/devfreq/tegra30-devfreq.c                      |   22 ++-
>  drivers/gpu/drm/lima/lima_devfreq.c                    |   12 +-
>  drivers/gpu/drm/panfrost/panfrost_devfreq.c            |    3 +-
>  drivers/gpu/drm/panfrost/panfrost_drv.c                |   15 +-
>  drivers/media/platform/qcom/venus/pm_helpers.c         |   10 +-
>  drivers/memory/tegra/tegra124-emc.c                    |   11 +-
>  drivers/opp/core.c                                     | 1577 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------
>  drivers/opp/cpu.c                                      |   12 +-
>  drivers/opp/debugfs.c                                  |   27 ++-
>  drivers/opp/of.c                                       |  150 +++++++-------
>  drivers/opp/opp.h                                      |   56 ++++--
>  drivers/opp/ti-opp-supply.c                            |   77 ++++----
>  drivers/soc/tegra/common.c                             |   49 +++--
>  drivers/soc/tegra/pmc.c                                |    4 +-
>  include/linux/pm_opp.h                                 |  322 ++++++++++++++++++------------
>  24 files changed, 1356 insertions(+), 1274 deletions(-)
>
> --

Pulled, thanks!