xref: /OK3568_Linux_fs/kernel/Documentation/hwmon/scpi-hwmon.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunKernel driver scpi-hwmon
2*4882a593Smuzhiyun========================
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunSupported chips:
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun * Chips based on ARM System Control Processor Interface
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun   Addresses scanned: -
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun   Datasheet: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0922b/index.html
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunAuthor: Punit Agrawal <punit.agrawal@arm.com>
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunDescription
15*4882a593Smuzhiyun-----------
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunThis driver supports hardware monitoring for SoC's based on the ARM
18*4882a593SmuzhiyunSystem Control Processor (SCP) implementing the System Control
19*4882a593SmuzhiyunProcessor Interface (SCPI). The following sensor types are supported
20*4882a593Smuzhiyunby the SCP:
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun  * temperature
23*4882a593Smuzhiyun  * voltage
24*4882a593Smuzhiyun  * current
25*4882a593Smuzhiyun  * power
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunThe SCP interface provides an API to query the available sensors and
28*4882a593Smuzhiyuntheir values which are then exported to userspace by this driver.
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunUsage Notes
31*4882a593Smuzhiyun-----------
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunThe driver relies on device tree node to indicate the presence of SCPI
34*4882a593Smuzhiyunsupport in the kernel. See
35*4882a593SmuzhiyunDocumentation/devicetree/bindings/arm/arm,scpi.txt for details of the
36*4882a593Smuzhiyundevicetree node.
37