ARM: mvebu: Add thermal quirk for the Armada 375 DB board
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Thu, 24 Apr 2014 20:23:22 +0000 (17:23 -0300)
committerJason Cooper <jason@lakedaemon.net>
Thu, 8 May 2014 16:23:10 +0000 (16:23 +0000)
commit5fd62066d2900b25a4fb3295ad13e3ee31474a51
treeaeded9f89285307855972019dd83866f78a87da8
parente9d3c849a8dc92e1019a6c7ced98f6ac231a2703
ARM: mvebu: Add thermal quirk for the Armada 375 DB board

The initial release of the Armada 375 DB board has an Armada 375
Z1 stepping silicon. This commit introduces a quirk that allows
to workaround a series of issues with the thermal sensor in this
stepping, but updating the devicetree:

  * Updates the compatible string for the thermal, so the driver
    can perform a specific initialization of the sensor.

  * Moves the offset of the thermal control register. This quirk
    allows to specifiy the correct (A0 stepping) offset in the
    devicetree.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Link: https://lkml.kernel.org/r/1398371004-15807-9-git-send-email-ezequiel.garcia@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/board-v7.c
arch/arm/mach-mvebu/mvebu-soc-id.h