linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver
@ 2020-10-23  8:24 Hector Yuan
  2020-10-23  8:24 ` [PATCH v1 1/6] cpufreq: mediatek-hw: Add support for CPUFREQ HW Hector Yuan
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Hector Yuan @ 2020-10-23  8:24 UTC (permalink / raw)
  To: linux-mediatek, linux-arm-kernel, linux-pm, Rob Herring,
	Rafael J. Wysocki, Viresh Kumar, Maxime Ripard,
	Santosh Shilimkar, Amit Kucheria, Stephen Boyd, Ulf Hansson,
	Dave Gerlach, Florian Fainelli, Robin Murphy, Lorenzo Pieralisi,
	devicetree
  Cc: hector.yuan, linux-kernel, wsd_upstream

This patchset includes 6 patches and depends on the MT6779 DTS patch[1] submitted by Hanks Chen.
The first 3 patches are for CPUFREQ HW driver and device tree binding, which are already sent before separately [2][3]. For binding part, I add a new patch to add property in cpu schema.
Besides, we add three more patches including EM power table, SVS CPU initialize, and cooling device.

[1] https://lkml.org/lkml/2020/8/4/1094
[2] https://lkml.org/lkml/2020/9/10/13 (already reviewed by Viresh) [3] https://lkml.org/lkml/2020/9/23/384


Hector.Yuan (6):
  cpufreq: mediatek-hw: Add support for CPUFREQ HW
  dt-bindings: arm: cpus: Document 'mtk,freq-domain' property
  dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW
  cpufreq: mediatek-hw: register EM power table
  cpufreq: mediatek-hw: Add SVS CPU initialization
  cpufreq: mediatek-hw: Add cooling dev flag

 Documentation/devicetree/bindings/arm/cpus.yaml    |    6 +
 .../bindings/cpufreq/cpufreq-mediatek-hw.yaml      |   46 +++
 drivers/cpufreq/Kconfig.arm                        |   12 +
 drivers/cpufreq/Makefile                           |    1 +
 drivers/cpufreq/mediatek-cpufreq-hw.c              |  343 ++++++++++++++++++++
 5 files changed, 408 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.yaml
 create mode 100644 drivers/cpufreq/mediatek-cpufreq-hw.c
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [PATCH v1] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver
@ 2020-08-13  7:07 Hector Yuan
  0 siblings, 0 replies; 22+ messages in thread
From: Hector Yuan @ 2020-08-13  7:07 UTC (permalink / raw)
  To: linux-mediatek, linux-arm-kernel, linux-pm, devicetree,
	Rafael J. Wysocki, Viresh Kumar, Rob Herring, Catalin Marinas,
	Will Deacon, Matthias Brugger, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Arnd Bergmann, Anson Huang,
	Geert Uytterhoeven, Olof Johansson
  Cc: hector.yuan, linux-kernel, wsd_upstream

The CPUfreq HW present in some Mediatek chipsets offloads
the steps necessary for changing the frequency of CPUs.
The driver implements the cpufreq driver interface for
this hardware engine. 

This patch depends on the MT6779 DTS patch submitted by Hanks Chen
 https://lkml.org/lkml/2020/8/4/1094


Hector.Yuan (2):
  dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW
  cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

 .../bindings/cpufreq/cpufreq-mediatek-hw.yaml      |   61 +++++
 arch/arm64/configs/defconfig                       |    1 +
 drivers/cpufreq/Kconfig.arm                        |   11 +
 drivers/cpufreq/Makefile                           |    1 +
 drivers/cpufreq/mediatek-cpufreq-hw.c              |  255 ++++++++++++++++++++
 5 files changed, 329 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.yaml
 create mode 100644 drivers/cpufreq/mediatek-cpufreq-hw.c
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [PATCH v1] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver
@ 2020-08-06 12:18 Hector Yuan
  0 siblings, 0 replies; 22+ messages in thread
From: Hector Yuan @ 2020-08-06 12:18 UTC (permalink / raw)
  To: linux-mediatek, linux-arm-kernel, linux-pm, devicetree,
	Rafael J. Wysocki, Viresh Kumar, Rob Herring, Catalin Marinas,
	Will Deacon, Matthias Brugger, Bjorn Andersson, Shawn Guo,
	Li Yang, Vinod Koul, Arnd Bergmann, Anson Huang,
	Geert Uytterhoeven, Olof Johansson
  Cc: hector.yuan, wsd_upstream

The CPUfreq HW present in some Mediatek chipsets offloads the steps necessary
for changing the frequency of CPUs. The driver implements the cpufreq
driver interface for this hardware engine. 

This patch depends on the MT6799 DTS patch submitted by Hanks Chen
 https://lkml.org/lkml/2020/8/4/1094

Hector.Yuan (2):
  cpufreq: mediatek-hw: Add support for Mediatek cpufreq
  dt-bindings: cpufreq: add  MediaTek cpufreq bindings

 .../bindings/cpufreq/cpufreq-mediatek-hw.yaml      |   56 +++++
 arch/arm64/configs/defconfig                       |    1 +
 drivers/cpufreq/Kconfig.arm                        |   11 +
 drivers/cpufreq/Makefile                           |    1 +
 drivers/cpufreq/mediatek-cpufreq-hw.c              |  255 ++++++++++++++++++++
 5 files changed, 324 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.yaml
 create mode 100644 drivers/cpufreq/mediatek-cpufreq-hw.c

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2020-10-26  6:29 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23  8:24 [PATCH v1] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver Hector Yuan
2020-10-23  8:24 ` [PATCH v1 1/6] cpufreq: mediatek-hw: Add support for CPUFREQ HW Hector Yuan
2020-10-23  8:24 ` [PATCH v1 2/6] dt-bindings: arm: cpus: Document 'mtk, freq-domain' property Hector Yuan
2020-10-23  8:29   ` [PATCH v1 2/6] dt-bindings: arm: cpus: Document 'mtk,freq-domain' property Viresh Kumar
2020-10-26  6:14     ` Hector Yuan
2020-10-23 16:20   ` Rob Herring
2020-10-26  6:12     ` Hector Yuan
2020-10-23  8:24 ` [PATCH v1 3/6] dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW Hector Yuan
2020-10-23  8:35   ` Viresh Kumar
2020-10-26  6:17     ` Hector Yuan
2020-10-23 16:15   ` Rob Herring
2020-10-26  6:15     ` Hector Yuan
2020-10-23  8:24 ` [PATCH v1 4/6] cpufreq: mediatek-hw: register EM power table Hector Yuan
2020-10-23  8:24 ` [PATCH v1 5/6] cpufreq: mediatek-hw: Add SVS CPU initialization Hector Yuan
2020-10-23  8:37   ` Viresh Kumar
2020-10-23  8:24 ` [PATCH v1 6/6] cpufreq: mediatek-hw: Add cooling dev flag Hector Yuan
2020-10-23  8:28 ` [PATCH v1] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver Viresh Kumar
2020-10-23  9:08   ` Hector Yuan
2020-10-23  9:27     ` Viresh Kumar
2020-10-26  6:20       ` Hector Yuan
  -- strict thread matches above, loose matches on Subject: below --
2020-08-13  7:07 Hector Yuan
2020-08-06 12:18 Hector Yuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).