mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
fa0d654c84
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>
23 lines
590 B
Plaintext
23 lines
590 B
Plaintext
* Marvell Armada 370/XP thermal management
|
|
|
|
Required properties:
|
|
|
|
- compatible: Should be set to one of the following:
|
|
marvell,armada370-thermal
|
|
marvell,armadaxp-thermal
|
|
|
|
- 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";
|
|
};
|