Skip to content

thermal: Add Armada 370/XP support

Andrew Lunn linux-arm-kernel linux-pm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 4 patches 0 repliesNew

Patches in v2 No applies recorded yet

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

Reviews trailers per patch

PatchAndrew Lunn
SeriesA-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH for 3.10 v2 0/4] thermal: Add Armada 370/XP support
Quoted 17 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
Quoted 8 lines

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!

Quoted 24 lines

[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):
thermal: Add driver for Armada 370/XP SoC thermal management
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

 .../devicetree/bindings/thermal/armada-thermal.txt |   22 ++
 arch/arm/boot/dts/armada-370.dtsi                  |    6 +
 arch/arm/boot/dts/armada-xp.dtsi                   |    6 +
 arch/arm/configs/mvebu_defconfig                   |    2 +
 drivers/thermal/Kconfig                            |    8 +
 drivers/thermal/Makefile                           |    1 +
 drivers/thermal/armada_thermal.c                   |  236 ++++++++++++++++++++
 7 files changed, 281 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/thermal/armada-thermal.txt
 create mode 100644 drivers/thermal/armada_thermal.c
Signature · 1 line
1.7.8.6