Kernel Driver Lochnagar

Supported systems:
  • Cirrus Logic : Lochnagar 2

Author: Lucas A. Tanure Alves

Description

Lochnagar 2 features built-in Current Monitor circuitry that allows for themeasurement of both voltage and current on up to eight of the supply voltagerails provided to the minicards. The Current Monitor does not require anyhardware modifications or external circuitry to operate.

The current and voltage measurements are obtained through the standard registermap interface to the Lochnagar board controller, and can therefore be monitoredby software.

Sysfs attributes

temp1_inputThe Lochnagar board temperature (milliCelsius)
in0_inputMeasured voltage for DBVDD1 (milliVolts)
in0_label“DBVDD1”
curr1_inputMeasured current for DBVDD1 (milliAmps)
curr1_label“DBVDD1”
power1_averageMeasured average power for DBVDD1 (microWatts)
power1_average_intervalPower averaging time input valid from 1 to 1708mS
power1_label“DBVDD1”
in1_inputMeasured voltage for 1V8 DSP (milliVolts)
in1_label“1V8 DSP”
curr2_inputMeasured current for 1V8 DSP (milliAmps)
curr2_label“1V8 DSP”
power2_averageMeasured average power for 1V8 DSP (microWatts)
power2_average_intervalPower averaging time input valid from 1 to 1708mS
power2_label“1V8 DSP”
in2_inputMeasured voltage for 1V8 CDC (milliVolts)
in2_label“1V8 CDC”
curr3_inputMeasured current for 1V8 CDC (milliAmps)
curr3_label“1V8 CDC”
power3_averageMeasured average power for 1V8 CDC (microWatts)
power3_average_intervalPower averaging time input valid from 1 to 1708mS
power3_label“1V8 CDC”
in3_inputMeasured voltage for VDDCORE DSP (milliVolts)
in3_label“VDDCORE DSP”
curr4_inputMeasured current for VDDCORE DSP (milliAmps)
curr4_label“VDDCORE DSP”
power4_averageMeasured average power for VDDCORE DSP (microWatts)
power4_average_intervalPower averaging time input valid from 1 to 1708mS
power4_label“VDDCORE DSP”
in4_inputMeasured voltage for AVDD 1V8 (milliVolts)
in4_label“AVDD 1V8”
curr5_inputMeasured current for AVDD 1V8 (milliAmps)
curr5_label“AVDD 1V8”
power5_averageMeasured average power for AVDD 1V8 (microWatts)
power5_average_intervalPower averaging time input valid from 1 to 1708mS
power5_label“AVDD 1V8”
curr6_inputMeasured current for SYSVDD (milliAmps)
curr6_label“SYSVDD”
power6_averageMeasured average power for SYSVDD (microWatts)
power6_average_intervalPower averaging time input valid from 1 to 1708mS
power6_label“SYSVDD”
in6_inputMeasured voltage for VDDCORE CDC (milliVolts)
in6_label“VDDCORE CDC”
curr7_inputMeasured current for VDDCORE CDC (milliAmps)
curr7_label“VDDCORE CDC”
power7_averageMeasured average power for VDDCORE CDC (microWatts)
power7_average_intervalPower averaging time input valid from 1 to 1708mS
power7_label“VDDCORE CDC”
in7_inputMeasured voltage for MICVDD (milliVolts)
in7_label“MICVDD”
curr8_inputMeasured current for MICVDD (milliAmps)
curr8_label“MICVDD”
power8_averageMeasured average power for MICVDD (microWatts)
power8_average_intervalPower averaging time input valid from 1 to 1708mS
power8_label“MICVDD”
Note:
It is not possible to measure voltage on the SYSVDD rail.