mbox series

[resend,0/2] Marvell A7k/A8k thermal throttling

Message ID 20190521142504.31558-1-miquel.raynal@bootlin.com (mailing list archive)
Headers show
Series Marvell A7k/A8k thermal throttling | expand

Message

Miquel Raynal May 21, 2019, 2:25 p.m. UTC
Hello,

This series works on top of Gregory's series adding both CPUfreq (already
merged) and a suitable AP806 clock driver. These two patches can fly
as-is and do not depend on Gregory's work to apply and should probably
merged independently.

With his patches, all the pieces where available to enable thermal
throttling on the AP806 embedded in Marvell Armada 7k/8k SoCs. This is
just the glue to make it actually work.

Patch 1 changes the core numbering in the thermal-zone node to be in
sync with the CPU numbering in the DT (from 0 to 3 instead of from 1
to 4). Patch 2 adds trip points and cooling maps to actually enable
the feature.

Tested with an Armada 7k DB.

Thanks,
Miquèl

Miquel Raynal (2):
  arm64: dts: marvell: Change core numbering in AP806 thermal-node
  arm64: dts: marvell: Enable AP806 thermal throttling with CPUfreq

 .../boot/dts/marvell/armada-ap806-dual.dtsi   |   2 +
 .../boot/dts/marvell/armada-ap806-quad.dtsi   |   5 +
 arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 110 +++++++++++++++---
 3 files changed, 103 insertions(+), 14 deletions(-)

Comments

Gregory CLEMENT June 3, 2019, 2:26 p.m. UTC | #1
Miquel Raynal <miquel.raynal@bootlin.com> writes:

> Hello,
>
> This series works on top of Gregory's series adding both CPUfreq (already
> merged) and a suitable AP806 clock driver. These two patches can fly
> as-is and do not depend on Gregory's work to apply and should probably
> merged independently.
>
> With his patches, all the pieces where available to enable thermal
> throttling on the AP806 embedded in Marvell Armada 7k/8k SoCs. This is
> just the glue to make it actually work.
>
> Patch 1 changes the core numbering in the thermal-zone node to be in
> sync with the CPU numbering in the DT (from 0 to 3 instead of from 1
> to 4). Patch 2 adds trip points and cooling maps to actually enable
> the feature.
>
> Tested with an Armada 7k DB.
>
> Thanks,
> Miquèl
>
> Miquel Raynal (2):
>   arm64: dts: marvell: Change core numbering in AP806 thermal-node
>   arm64: dts: marvell: Enable AP806 thermal throttling with CPUfreq

Both pacthes applied on mvebu/dt64

Thanks,

Gregory

>
>  .../boot/dts/marvell/armada-ap806-dual.dtsi   |   2 +
>  .../boot/dts/marvell/armada-ap806-quad.dtsi   |   5 +
>  arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 110 +++++++++++++++---
>  3 files changed, 103 insertions(+), 14 deletions(-)
>
> -- 
> 2.19.1
>