mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-07 22:34:18 +08:00
e6e0a68c6c
Now that a generic infrastructure is in place, it's possible to support the Armada 380 SoC thermal sensor. This sensor is similar to the one available in the already supported SoCs, with its specific temperature formula and specific sensor initialization. Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
33 lines
1018 B
Plaintext
33 lines
1018 B
Plaintext
* Marvell Armada 370/375/380/XP thermal management
|
|
|
|
Required properties:
|
|
|
|
- compatible: Should be set to one of the following:
|
|
marvell,armada370-thermal
|
|
marvell,armada375-thermal
|
|
marvell,armada375-z1-thermal
|
|
marvell,armada380-thermal
|
|
marvell,armadaxp-thermal
|
|
|
|
Note: As the name suggests, "marvell,armada375-z1-thermal"
|
|
applies for the SoC Z1 stepping only. On such stepping
|
|
some quirks need to be done and the register offset differs
|
|
from the one in the A0 stepping.
|
|
The operating system may auto-detect the SoC stepping and
|
|
update the compatible and register offsets at runtime.
|
|
|
|
- reg: Device's register space.
|
|
Two entries are expected, see the examples below.
|
|
The first one is required for the sensor register;
|
|
the second one is required for the control register
|
|
to be used for sensor initialization (a.k.a. calibration).
|
|
|
|
Example:
|
|
|
|
thermal@d0018300 {
|
|
compatible = "marvell,armada370-thermal";
|
|
reg = <0xd0018300 0x4
|
|
0xd0018304 0x4>;
|
|
status = "okay";
|
|
};
|