xref: /linux/Documentation/hwmon/xgene-hwmon.rst (revision c39f2d9db0fd81ea20bb5cce9b3f082ca63753e2)
1*7ebd8b66SMauro Carvalho ChehabKernel driver xgene-hwmon
2*7ebd8b66SMauro Carvalho Chehab=========================
3*7ebd8b66SMauro Carvalho Chehab
4*7ebd8b66SMauro Carvalho ChehabSupported chips:
5*7ebd8b66SMauro Carvalho Chehab
6*7ebd8b66SMauro Carvalho Chehab * APM X-Gene SoC
7*7ebd8b66SMauro Carvalho Chehab
8*7ebd8b66SMauro Carvalho ChehabDescription
9*7ebd8b66SMauro Carvalho Chehab-----------
10*7ebd8b66SMauro Carvalho Chehab
11*7ebd8b66SMauro Carvalho ChehabThis driver adds hardware temperature and power reading support for
12*7ebd8b66SMauro Carvalho ChehabAPM X-Gene SoC using the mailbox communication interface.
13*7ebd8b66SMauro Carvalho ChehabFor device tree, it is the standard DT mailbox.
14*7ebd8b66SMauro Carvalho ChehabFor ACPI, it is the PCC mailbox.
15*7ebd8b66SMauro Carvalho Chehab
16*7ebd8b66SMauro Carvalho ChehabThe following sensors are supported
17*7ebd8b66SMauro Carvalho Chehab
18*7ebd8b66SMauro Carvalho Chehab  * Temperature
19*7ebd8b66SMauro Carvalho Chehab      - SoC on-die temperature in milli-degree C
20*7ebd8b66SMauro Carvalho Chehab      - Alarm when high/over temperature occurs
21*7ebd8b66SMauro Carvalho Chehab
22*7ebd8b66SMauro Carvalho Chehab  * Power
23*7ebd8b66SMauro Carvalho Chehab      - CPU power in uW
24*7ebd8b66SMauro Carvalho Chehab      - IO power in uW
25*7ebd8b66SMauro Carvalho Chehab
26*7ebd8b66SMauro Carvalho Chehabsysfs-Interface
27*7ebd8b66SMauro Carvalho Chehab---------------
28*7ebd8b66SMauro Carvalho Chehab
29*7ebd8b66SMauro Carvalho Chehabtemp0_input
30*7ebd8b66SMauro Carvalho Chehab	- SoC on-die temperature (milli-degree C)
31*7ebd8b66SMauro Carvalho Chehabtemp0_critical_alarm
32*7ebd8b66SMauro Carvalho Chehab	- An 1 would indicates on-die temperature exceeded threshold
33*7ebd8b66SMauro Carvalho Chehabpower0_input
34*7ebd8b66SMauro Carvalho Chehab	- CPU power in (uW)
35*7ebd8b66SMauro Carvalho Chehabpower1_input
36*7ebd8b66SMauro Carvalho Chehab	- IO power in (uW)
37