Back to home page

OSCL-LXR

 
 

    


0001 Kernel Driver Lochnagar
0002 =======================
0003 
0004 Supported systems:
0005   * Cirrus Logic : Lochnagar 2
0006 
0007 Author: Lucas A. Tanure Alves
0008 
0009 Description
0010 -----------
0011 
0012 Lochnagar 2 features built-in Current Monitor circuitry that allows for the
0013 measurement of both voltage and current on up to eight of the supply voltage
0014 rails provided to the minicards. The Current Monitor does not require any
0015 hardware modifications or external circuitry to operate.
0016 
0017 The current and voltage measurements are obtained through the standard register
0018 map interface to the Lochnagar board controller, and can therefore be monitored
0019 by software.
0020 
0021 Sysfs attributes
0022 ----------------
0023 
0024 ======================= =======================================================
0025 temp1_input             The Lochnagar board temperature (milliCelsius)
0026 in0_input               Measured voltage for DBVDD1 (milliVolts)
0027 in0_label               "DBVDD1"
0028 curr1_input             Measured current for DBVDD1 (milliAmps)
0029 curr1_label             "DBVDD1"
0030 power1_average          Measured average power for DBVDD1 (microWatts)
0031 power1_average_interval Power averaging time input valid from 1 to 1708mS
0032 power1_label            "DBVDD1"
0033 in1_input               Measured voltage for 1V8 DSP (milliVolts)
0034 in1_label               "1V8 DSP"
0035 curr2_input             Measured current for 1V8 DSP (milliAmps)
0036 curr2_label             "1V8 DSP"
0037 power2_average          Measured average power for 1V8 DSP (microWatts)
0038 power2_average_interval Power averaging time input valid from 1 to 1708mS
0039 power2_label            "1V8 DSP"
0040 in2_input               Measured voltage for 1V8 CDC (milliVolts)
0041 in2_label               "1V8 CDC"
0042 curr3_input             Measured current for 1V8 CDC (milliAmps)
0043 curr3_label             "1V8 CDC"
0044 power3_average          Measured average power for 1V8 CDC (microWatts)
0045 power3_average_interval Power averaging time input valid from 1 to 1708mS
0046 power3_label            "1V8 CDC"
0047 in3_input               Measured voltage for VDDCORE DSP (milliVolts)
0048 in3_label               "VDDCORE DSP"
0049 curr4_input             Measured current for VDDCORE DSP (milliAmps)
0050 curr4_label             "VDDCORE DSP"
0051 power4_average          Measured average power for VDDCORE DSP (microWatts)
0052 power4_average_interval Power averaging time input valid from 1 to 1708mS
0053 power4_label            "VDDCORE DSP"
0054 in4_input               Measured voltage for AVDD 1V8 (milliVolts)
0055 in4_label               "AVDD 1V8"
0056 curr5_input             Measured current for AVDD 1V8 (milliAmps)
0057 curr5_label             "AVDD 1V8"
0058 power5_average          Measured average power for AVDD 1V8 (microWatts)
0059 power5_average_interval Power averaging time input valid from 1 to 1708mS
0060 power5_label            "AVDD 1V8"
0061 curr6_input             Measured current for SYSVDD (milliAmps)
0062 curr6_label             "SYSVDD"
0063 power6_average          Measured average power for SYSVDD (microWatts)
0064 power6_average_interval Power averaging time input valid from 1 to 1708mS
0065 power6_label            "SYSVDD"
0066 in6_input               Measured voltage for VDDCORE CDC (milliVolts)
0067 in6_label               "VDDCORE CDC"
0068 curr7_input             Measured current for VDDCORE CDC (milliAmps)
0069 curr7_label             "VDDCORE CDC"
0070 power7_average          Measured average power for VDDCORE CDC (microWatts)
0071 power7_average_interval Power averaging time input valid from 1 to 1708mS
0072 power7_label            "VDDCORE CDC"
0073 in7_input               Measured voltage for MICVDD (milliVolts)
0074 in7_label               "MICVDD"
0075 curr8_input             Measured current for MICVDD (milliAmps)
0076 curr8_label             "MICVDD"
0077 power8_average          Measured average power for MICVDD (microWatts)
0078 power8_average_interval Power averaging time input valid from 1 to 1708mS
0079 power8_label            "MICVDD"
0080 ======================= =======================================================
0081 
0082 Note:
0083     It is not possible to measure voltage on the SYSVDD rail.