mbox series

[0/8] Add cpufreq and cci devfreq for mt8183, and SVS support

Message ID 1557997725-12178-1-git-send-email-andrew-sh.cheng@mediatek.com (mailing list archive)
Headers show
Series Add cpufreq and cci devfreq for mt8183, and SVS support | expand

Message

andrew-sh.cheng May 16, 2019, 9:08 a.m. UTC
From: "Andrew-sh.Cheng" <andrew-sh.cheng@mediatek.com>

MT8183 supports CPU DVFS and CCI DVFS, and LITTLE cpus and CCI are in the same voltage domain.
So, this series is to add drivers to handle the voltage coupling between CPU and CCI DVFS.

For SVS support, add OPP_EVENT_ADJUST_VOLTAGE and corresponding reaction.

Andrew-sh.Cheng (7):
  cpufreq: mediatek: change to regulator_get_optional
  cpufreq: mediatek: add clock enable for intermediate clock
  cpufreq: mediatek: Add support for mt8183
  dt-bindings: devfreq: add compatible for mt8183 cci devfreq
  devfreq: add mediatek cci devfreq
  cpufreq: mediatek: add opp notification for SVS support
  devfreq: cci devfreq register opp notification for SVS support

Stephen Boyd (1):
  PM / OPP: Support adjusting OPP voltages at runtime

 .../bindings/devfreq/mt8183-cci-devfreq.txt        |  20 ++
 drivers/cpufreq/cpufreq-dt-platdev.c               |   1 +
 drivers/cpufreq/mediatek-cpufreq.c                 |  88 +++++-
 drivers/devfreq/Kconfig                            |  10 +
 drivers/devfreq/Makefile                           |   1 +
 drivers/devfreq/mt8183-cci-devfreq.c               | 310 +++++++++++++++++++++
 drivers/opp/core.c                                 |  78 ++++++
 include/linux/pm_opp.h                             |  11 +
 8 files changed, 517 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/devfreq/mt8183-cci-devfreq.txt
 create mode 100644 drivers/devfreq/mt8183-cci-devfreq.c

Comments

Viresh Kumar May 16, 2019, 9:23 a.m. UTC | #1
On 16-05-19, 17:08, Andrew-sh.Cheng wrote:
> From: "Andrew-sh.Cheng" <andrew-sh.cheng@mediatek.com>
> 
> MT8183 supports CPU DVFS and CCI DVFS, and LITTLE cpus and CCI are in the same voltage domain.
> So, this series is to add drivers to handle the voltage coupling between CPU and CCI DVFS.
> 
> For SVS support, add OPP_EVENT_ADJUST_VOLTAGE and corresponding reaction.

No version information here or what has changed. That doesn't help.

I believe this is V3.

Don't resend it but please mention the changes in reply now. Thanks.

> Andrew-sh.Cheng (7):
>   cpufreq: mediatek: change to regulator_get_optional
>   cpufreq: mediatek: add clock enable for intermediate clock
>   cpufreq: mediatek: Add support for mt8183
>   dt-bindings: devfreq: add compatible for mt8183 cci devfreq
>   devfreq: add mediatek cci devfreq
>   cpufreq: mediatek: add opp notification for SVS support
>   devfreq: cci devfreq register opp notification for SVS support
> 
> Stephen Boyd (1):
>   PM / OPP: Support adjusting OPP voltages at runtime
> 
>  .../bindings/devfreq/mt8183-cci-devfreq.txt        |  20 ++
>  drivers/cpufreq/cpufreq-dt-platdev.c               |   1 +
>  drivers/cpufreq/mediatek-cpufreq.c                 |  88 +++++-
>  drivers/devfreq/Kconfig                            |  10 +
>  drivers/devfreq/Makefile                           |   1 +
>  drivers/devfreq/mt8183-cci-devfreq.c               | 310 +++++++++++++++++++++
>  drivers/opp/core.c                                 |  78 ++++++
>  include/linux/pm_opp.h                             |  11 +
>  8 files changed, 517 insertions(+), 2 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/devfreq/mt8183-cci-devfreq.txt
>  create mode 100644 drivers/devfreq/mt8183-cci-devfreq.c
> 
> -- 
> 2.12.5
andrew-sh.cheng May 16, 2019, 12:23 p.m. UTC | #2
On Thu, 2019-05-16 at 14:53 +0530, Viresh Kumar wrote:
> On 16-05-19, 17:08, Andrew-sh.Cheng wrote:
> > From: "Andrew-sh.Cheng" <andrew-sh.cheng@mediatek.com>
> > 
> > MT8183 supports CPU DVFS and CCI DVFS, and LITTLE cpus and CCI are in the same voltage domain.
> > So, this series is to add drivers to handle the voltage coupling between CPU and CCI DVFS.
> > 
> > For SVS support, add OPP_EVENT_ADJUST_VOLTAGE and corresponding reaction.
> 
> No version information here or what has changed. That doesn't help.
> 
> I believe this is V3.
> 
> Don't resend it but please mention the changes in reply now. Thanks.
Yes, this is patch v3

Change since v2:
- Separate cpufreq modification into 3 patches.
- Modify dt-binding for more HW information.
- Refine cci devfreq coding style.
- patch 6 ~ patch 8 are for SVS support

> 
> > Andrew-sh.Cheng (7):
> >   cpufreq: mediatek: change to regulator_get_optional
> >   cpufreq: mediatek: add clock enable for intermediate clock
> >   cpufreq: mediatek: Add support for mt8183
> >   dt-bindings: devfreq: add compatible for mt8183 cci devfreq
> >   devfreq: add mediatek cci devfreq
> >   cpufreq: mediatek: add opp notification for SVS support
> >   devfreq: cci devfreq register opp notification for SVS support
> > 
> > Stephen Boyd (1):
> >   PM / OPP: Support adjusting OPP voltages at runtime
> > 
> >  .../bindings/devfreq/mt8183-cci-devfreq.txt        |  20 ++
> >  drivers/cpufreq/cpufreq-dt-platdev.c               |   1 +
> >  drivers/cpufreq/mediatek-cpufreq.c                 |  88 +++++-
> >  drivers/devfreq/Kconfig                            |  10 +
> >  drivers/devfreq/Makefile                           |   1 +
> >  drivers/devfreq/mt8183-cci-devfreq.c               | 310 +++++++++++++++++++++
> >  drivers/opp/core.c                                 |  78 ++++++
> >  include/linux/pm_opp.h                             |  11 +
> >  8 files changed, 517 insertions(+), 2 deletions(-)
> >  create mode 100644 Documentation/devicetree/bindings/devfreq/mt8183-cci-devfreq.txt
> >  create mode 100644 drivers/devfreq/mt8183-cci-devfreq.c
> > 
> > -- 
> > 2.12.5
>