Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
31 lines
755 B
Plaintext
31 lines
755 B
Plaintext
Kernel driver xgene-hwmon
|
|
========================
|
|
|
|
Supported chips:
|
|
* APM X-Gene SoC
|
|
|
|
Description
|
|
-----------
|
|
|
|
This driver adds hardware temperature and power reading support for
|
|
APM X-Gene SoC using the mailbox communication interface.
|
|
For device tree, it is the standard DT mailbox.
|
|
For ACPI, it is the PCC mailbox.
|
|
|
|
The following sensors are supported
|
|
|
|
* Temperature
|
|
- SoC on-die temperature in milli-degree C
|
|
- Alarm when high/over temperature occurs
|
|
* Power
|
|
- CPU power in uW
|
|
- IO power in uW
|
|
|
|
sysfs-Interface
|
|
---------------
|
|
|
|
temp0_input - SoC on-die temperature (milli-degree C)
|
|
temp0_critical_alarm - An 1 would indicates on-die temperature exceeded threshold
|
|
power0_input - CPU power in (uW)
|
|
power1_input - IO power in (uW)
|