Skip to content

thermal: Add Armada 370/XP support

Jason Cooper linux-arm-kernel linux-pm 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest0 of 4 patches 0 repliesNew
  2. v10 of 4 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH for 3.10 v2 0/4] thermal: Add Armada 370/XP support
Quoted 30 lines · Ezequiel Garcia

After Andrew Lunn objected the single driver approach [1] that merged all the Marvell EBU SoC thermal drivers, we have agreed to proceed step by step. For the time being we are adding support for Armada 370/XP only. Given both Armada 370 and Armada XP have a similar feature set, it makes sense to provide a single driver for them.

In the future we can unify this with the other drivers, if this proves to be worthwhile.

This driver has been influenced by the existing Kirkwood driver, also taking account of suggestions made by Jason Gunthorpe.

Testing has been done on the following boards:

For Armada 370: Globalscale Mirabox and Marvell Armada 370 RD
For Armada XP:  Plat'home Openblocks AX3 and Marvell Armada XP DB-MV784MP-GP

This series is based in v3.9-rc2. To make testing easier this patchset can be found on a github branch [2].

Changes from v1:
* Reorder Kconfig and Makefiles entries as requested by Andrew Lunn.
* Make armada_get_temp() more readable, as requested by Durgadoss R.

Any feedback or comments are welcome!

[1] http://permalink.gmane.org/gmane.linux.power-management.general/32123
[2] https://github.com/MISL-EBU-System-SW/mainline-public/tree/armada-thermal-v2

Ezequiel Garcia (4):

...

Quoted 3 lines

ARM: mvebu: Add thermal support to Armada XP device tree
ARM: mvebu: Add thermal support to Armada 370 device tree
ARM: configs: Update mvebu defconfig for thermal

...

Quoted 3 lines
 arch/arm/boot/dts/armada-370.dtsi                  |    6 +
 arch/arm/boot/dts/armada-xp.dtsi                   |    6 +
 arch/arm/configs/mvebu_defconfig                   |    2 +

Patches 2 through 4 applied to mvebu/dt

thx,

Jason.