^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Kernel driver xgene-hwmon
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) =========================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Supported chips:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * APM X-Gene SoC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) This driver adds hardware temperature and power reading support for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) APM X-Gene SoC using the mailbox communication interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) For device tree, it is the standard DT mailbox.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) For ACPI, it is the PCC mailbox.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) The following sensors are supported
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) * Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - SoC on-die temperature in milli-degree C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) - Alarm when high/over temperature occurs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) * Power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - CPU power in uW
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) - IO power in uW
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) sysfs-Interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) temp0_input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) - SoC on-die temperature (milli-degree C)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) temp0_critical_alarm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) - An 1 would indicates on-die temperature exceeded threshold
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) power0_input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) - CPU power in (uW)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) power1_input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) - IO power in (uW)