Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GPL-2.0
0002 
0003 Kernel driver intel-m10-bmc-hwmon
0004 =================================
0005 
0006 Supported chips:
0007 
0008  * Intel MAX 10 BMC for Intel PAC N3000
0009 
0010    Prefix: 'n3000bmc-hwmon'
0011 
0012 Author: Xu Yilun <yilun.xu@intel.com>
0013 
0014 
0015 Description
0016 -----------
0017 
0018 This driver adds the temperature, voltage, current and power reading
0019 support for the Intel MAX 10 Board Management Controller (BMC) chip.
0020 The BMC chip is integrated in some Intel Programmable Acceleration
0021 Cards (PAC). It connects to a set of sensor chips to monitor the
0022 sensor data of different components on the board. The BMC firmware is
0023 responsible for sensor data sampling and recording in shared
0024 registers. The host driver reads the sensor data from these shared
0025 registers and exposes them to users as hwmon interfaces.
0026 
0027 The BMC chip is implemented using the Intel MAX 10 CPLD. It could be
0028 reprogramed to some variants in order to support different Intel
0029 PACs. The driver is designed to be able to distinguish between the
0030 variants, but now it only supports the BMC for Intel PAC N3000.
0031 
0032 
0033 Sysfs attributes
0034 ----------------
0035 
0036 The following attributes are supported:
0037 
0038 - Intel MAX 10 BMC for Intel PAC N3000:
0039 
0040 ======================= =======================================================
0041 tempX_input             Temperature of the component (specified by tempX_label)
0042 tempX_max               Temperature maximum setpoint of the component
0043 tempX_crit              Temperature critical setpoint of the component
0044 tempX_max_hyst          Hysteresis for temperature maximum of the component
0045 tempX_crit_hyst         Hysteresis for temperature critical of the component
0046 temp1_label             "Board Temperature"
0047 temp2_label             "FPGA Die Temperature"
0048 temp3_label             "QSFP0 Temperature"
0049 temp4_label             "QSFP1 Temperature"
0050 temp5_label             "Retimer A Temperature"
0051 temp6_label             "Retimer A SerDes Temperature"
0052 temp7_label             "Retimer B Temperature"
0053 temp8_label             "Retimer B SerDes Temperature"
0054 
0055 inX_input               Measured voltage of the component (specified by
0056                         inX_label)
0057 in0_label               "QSFP0 Supply Voltage"
0058 in1_label               "QSFP1 Supply Voltage"
0059 in2_label               "FPGA Core Voltage"
0060 in3_label               "12V Backplane Voltage"
0061 in4_label               "1.2V Voltage"
0062 in5_label               "12V AUX Voltage"
0063 in6_label               "1.8V Voltage"
0064 in7_label               "3.3V Voltage"
0065 
0066 currX_input             Measured current of the component (specified by
0067                         currX_label)
0068 curr1_label             "FPGA Core Current"
0069 curr2_label             "12V Backplane Current"
0070 curr3_label             "12V AUX Current"
0071 
0072 powerX_input            Measured power of the component (specified by
0073                         powerX_label)
0074 power1_label            "Board Power"
0075 
0076 ======================= =======================================================
0077 
0078 All the attributes are read-only.