mbox series

[GIT,PULL] devfreq next for v5.14

Message ID b020c243-3175-3e31-8b7c-e1b30572e6d9@samsung.com (mailing list archive)
State Mainlined, archived
Headers show
Series [GIT,PULL] devfreq next for v5.14 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git tags/devfreq-next-for-5.14

Message

Chanwoo Choi June 25, 2021, 11:22 a.m. UTC
Dear Rafael,

This is devfreq-next pull request for v5.14-rc1. I add detailed description of
this pull request on the following tag. Please pull devfreq with following updates.

Best Regards,
Chanwoo Choi


The following changes since commit d07f6ca923ea0927a1024dfccafc5b53b61cfecc:

  Linux 5.13-rc2 (2021-05-16 15:27:44 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git tags/devfreq-next-for-5.14

for you to fetch changes up to 8c37d01e1a86073d15ea7084390fba58d9a1665f:

  PM / devfreq: passive: Fix get_target_freq when not using required-opp (2021-06-24 10:37:35 +0900)

----------------------------------------------------------------
Detailed description for this pull request:

1. Update devfreq core
- Use DEVICE_ATTR_RW macro for devfreq userspace governor

- Add missing error code in devfreq_add_device()

- Fix get_target_freq when not using required-opp

- The 86ad9a24f21e ("PM / devfreq: Add required OPPs support to passive governor")
supported the required-opp property for using devfreq passive governor.
But, 86ad9a24f21e has caused the problem on use-case when required-opp
is not used. So that fix the passive governor for supporting the case of when
required-opp is not used.

2. Update devfreq driver
- Remove unneeded get_dev_status and polling_ms from imx-bus.c because
imx-bus.c doesn't support simple_ondemand.

- Remove unneeded DEVFREQ_GOV_SIMPLE_ONDEMAND dependecy from imx8m-ddrc.c
because it doesn't support simple_ondemand governor.

- Use tegra30-devfreq.c as thermal cooling device
- Convert dt-binding doc style to yaml and add cooling-cells property
information to dt-binding doc for tegra30-devfreq.c
----------------------------------------------------------------

Chanwoo Choi (1):
      PM / devfreq: passive: Fix get_target_freq when not using required-opp

Dmitry Osipenko (3):
      PM / devfreq: tegra30: Support thermal cooling
      dt-bindings: devfreq: tegra30-actmon: Convert to schema
      dt-bindings: devfreq: tegra30-actmon: Add cooling-cells

Dong Aisheng (2):
      PM / devfreq: imx-bus: Remove imx_bus_get_dev_status
      PM / devfreq: imx8m-ddrc: Remove DEVFREQ_GOV_SIMPLE_ONDEMAND dependency

YueHaibing (2):
      PM / devfreq: Add missing error code in devfreq_add_device()
      PM / devfreq: userspace: Use DEVICE_ATTR_RW macro

 .../bindings/arm/tegra/nvidia,tegra30-actmon.txt   |  57 ----------
 .../bindings/devfreq/nvidia,tegra30-actmon.yaml    | 126 +++++++++++++++++++++
 drivers/devfreq/Kconfig                            |   1 -
 drivers/devfreq/devfreq.c                          |   1 +
 drivers/devfreq/governor_passive.c                 |   3 +-
 drivers/devfreq/governor_userspace.c               |  10 +-
 drivers/devfreq/imx-bus.c                          |  14 ---
 drivers/devfreq/tegra30-devfreq.c                  |   1 +
 8 files changed, 135 insertions(+), 78 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-actmon.txt
 create mode 100644 Documentation/devicetree/bindings/devfreq/nvidia,tegra30-actmon.yaml

Comments

Rafael J. Wysocki June 25, 2021, 5:15 p.m. UTC | #1
On Fri, Jun 25, 2021 at 1:03 PM Chanwoo Choi <cw00.choi@samsung.com> wrote:
>
> Dear Rafael,
>
> This is devfreq-next pull request for v5.14-rc1. I add detailed description of
> this pull request on the following tag. Please pull devfreq with following updates.

Pulled, thanks!


> The following changes since commit d07f6ca923ea0927a1024dfccafc5b53b61cfecc:
>
>   Linux 5.13-rc2 (2021-05-16 15:27:44 -0700)
>
> are available in the Git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git tags/devfreq-next-for-5.14
>
> for you to fetch changes up to 8c37d01e1a86073d15ea7084390fba58d9a1665f:
>
>   PM / devfreq: passive: Fix get_target_freq when not using required-opp (2021-06-24 10:37:35 +0900)
>
> ----------------------------------------------------------------
> Detailed description for this pull request:
>
> 1. Update devfreq core
> - Use DEVICE_ATTR_RW macro for devfreq userspace governor
>
> - Add missing error code in devfreq_add_device()
>
> - Fix get_target_freq when not using required-opp
>
> - The 86ad9a24f21e ("PM / devfreq: Add required OPPs support to passive governor")
> supported the required-opp property for using devfreq passive governor.
> But, 86ad9a24f21e has caused the problem on use-case when required-opp
> is not used. So that fix the passive governor for supporting the case of when
> required-opp is not used.
>
> 2. Update devfreq driver
> - Remove unneeded get_dev_status and polling_ms from imx-bus.c because
> imx-bus.c doesn't support simple_ondemand.
>
> - Remove unneeded DEVFREQ_GOV_SIMPLE_ONDEMAND dependecy from imx8m-ddrc.c
> because it doesn't support simple_ondemand governor.
>
> - Use tegra30-devfreq.c as thermal cooling device
> - Convert dt-binding doc style to yaml and add cooling-cells property
> information to dt-binding doc for tegra30-devfreq.c
> ----------------------------------------------------------------
>
> Chanwoo Choi (1):
>       PM / devfreq: passive: Fix get_target_freq when not using required-opp
>
> Dmitry Osipenko (3):
>       PM / devfreq: tegra30: Support thermal cooling
>       dt-bindings: devfreq: tegra30-actmon: Convert to schema
>       dt-bindings: devfreq: tegra30-actmon: Add cooling-cells
>
> Dong Aisheng (2):
>       PM / devfreq: imx-bus: Remove imx_bus_get_dev_status
>       PM / devfreq: imx8m-ddrc: Remove DEVFREQ_GOV_SIMPLE_ONDEMAND dependency
>
> YueHaibing (2):
>       PM / devfreq: Add missing error code in devfreq_add_device()
>       PM / devfreq: userspace: Use DEVICE_ATTR_RW macro
>
>  .../bindings/arm/tegra/nvidia,tegra30-actmon.txt   |  57 ----------
>  .../bindings/devfreq/nvidia,tegra30-actmon.yaml    | 126 +++++++++++++++++++++
>  drivers/devfreq/Kconfig                            |   1 -
>  drivers/devfreq/devfreq.c                          |   1 +
>  drivers/devfreq/governor_passive.c                 |   3 +-
>  drivers/devfreq/governor_userspace.c               |  10 +-
>  drivers/devfreq/imx-bus.c                          |  14 ---
>  drivers/devfreq/tegra30-devfreq.c                  |   1 +
>  8 files changed, 135 insertions(+), 78 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-actmon.txt
>  create mode 100644 Documentation/devicetree/bindings/devfreq/nvidia,tegra30-actmon.yaml