xref: /linux/Documentation/hwmon/lochnagar.rst (revision 69bfec7548f4c1595bac0e3ddfc0458a5af31f4c)
1Kernel Driver Lochnagar
2=======================
3
4Supported systems:
5  * Cirrus Logic : Lochnagar 2
6
7Author: Lucas A. Tanure Alves
8
9Description
10-----------
11
12Lochnagar 2 features built-in Current Monitor circuitry that allows for the
13measurement of both voltage and current on up to eight of the supply voltage
14rails provided to the minicards. The Current Monitor does not require any
15hardware modifications or external circuitry to operate.
16
17The current and voltage measurements are obtained through the standard register
18map interface to the Lochnagar board controller, and can therefore be monitored
19by software.
20
21Sysfs attributes
22----------------
23
24======================= =======================================================
25temp1_input             The Lochnagar board temperature (milliCelsius)
26in0_input               Measured voltage for DBVDD1 (milliVolts)
27in0_label               "DBVDD1"
28curr1_input             Measured current for DBVDD1 (milliAmps)
29curr1_label             "DBVDD1"
30power1_average          Measured average power for DBVDD1 (microWatts)
31power1_average_interval Power averaging time input valid from 1 to 1708mS
32power1_label            "DBVDD1"
33in1_input               Measured voltage for 1V8 DSP (milliVolts)
34in1_label               "1V8 DSP"
35curr2_input             Measured current for 1V8 DSP (milliAmps)
36curr2_label             "1V8 DSP"
37power2_average          Measured average power for 1V8 DSP (microWatts)
38power2_average_interval Power averaging time input valid from 1 to 1708mS
39power2_label            "1V8 DSP"
40in2_input               Measured voltage for 1V8 CDC (milliVolts)
41in2_label               "1V8 CDC"
42curr3_input             Measured current for 1V8 CDC (milliAmps)
43curr3_label             "1V8 CDC"
44power3_average          Measured average power for 1V8 CDC (microWatts)
45power3_average_interval Power averaging time input valid from 1 to 1708mS
46power3_label            "1V8 CDC"
47in3_input               Measured voltage for VDDCORE DSP (milliVolts)
48in3_label               "VDDCORE DSP"
49curr4_input             Measured current for VDDCORE DSP (milliAmps)
50curr4_label             "VDDCORE DSP"
51power4_average          Measured average power for VDDCORE DSP (microWatts)
52power4_average_interval Power averaging time input valid from 1 to 1708mS
53power4_label            "VDDCORE DSP"
54in4_input               Measured voltage for AVDD 1V8 (milliVolts)
55in4_label               "AVDD 1V8"
56curr5_input             Measured current for AVDD 1V8 (milliAmps)
57curr5_label             "AVDD 1V8"
58power5_average          Measured average power for AVDD 1V8 (microWatts)
59power5_average_interval Power averaging time input valid from 1 to 1708mS
60power5_label            "AVDD 1V8"
61curr6_input             Measured current for SYSVDD (milliAmps)
62curr6_label             "SYSVDD"
63power6_average          Measured average power for SYSVDD (microWatts)
64power6_average_interval Power averaging time input valid from 1 to 1708mS
65power6_label            "SYSVDD"
66in6_input               Measured voltage for VDDCORE CDC (milliVolts)
67in6_label               "VDDCORE CDC"
68curr7_input             Measured current for VDDCORE CDC (milliAmps)
69curr7_label             "VDDCORE CDC"
70power7_average          Measured average power for VDDCORE CDC (microWatts)
71power7_average_interval Power averaging time input valid from 1 to 1708mS
72power7_label            "VDDCORE CDC"
73in7_input               Measured voltage for MICVDD (milliVolts)
74in7_label               "MICVDD"
75curr8_input             Measured current for MICVDD (milliAmps)
76curr8_label             "MICVDD"
77power8_average          Measured average power for MICVDD (microWatts)
78power8_average_interval Power averaging time input valid from 1 to 1708mS
79power8_label            "MICVDD"
80======================= =======================================================
81
82Note:
83    It is not possible to measure voltage on the SYSVDD rail.
84