thermal: Add driver for Armada 370/XP SoC thermal management
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 2 Apr 2013 01:37:41 +0000 (01:37 +0000)
committerZhang Rui <rui.zhang@intel.com>
Tue, 2 Apr 2013 13:04:09 +0000 (21:04 +0800)
commitfa0d654c84c7705d90a2492b4611e1da7ccdf69c
tree1886969009b9aeea4cb805545c3a7730b6403953
parent57df8106932b57427df1eaaa13871857f75b1194
thermal: Add driver for Armada 370/XP SoC thermal management

This driver supports both Armada 370 and Armada XP SoC
thermal management controllers.

Armada 370 has a register to check a valid temperature, whereas
Armada XP does not. Each has a different initialization (i.e. calibration)
function. The temperature conversion formula is the same for both.

The controller present in each SoC have a very similar feature set,
so it corresponds to have one driver to support both of them.

Although this driver may present similarities to Dove and Kirkwood
thermal driver, the exact differences and coincidences are not fully
known. For this reason, support is given through a separate driver.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Documentation/devicetree/bindings/thermal/armada-thermal.txt [new file with mode: 0644]
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/armada_thermal.c [new file with mode: 0644]