Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) .. SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) Kernel driver intel-m10-bmc-hwmon
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) =================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) Supported chips:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  * Intel MAX 10 BMC for Intel PAC N3000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)    Prefix: 'n3000bmc-hwmon'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Author: Xu Yilun <yilun.xu@intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) This driver adds the temperature, voltage, current and power reading
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) support for the Intel MAX 10 Board Management Controller (BMC) chip.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) The BMC chip is integrated in some Intel Programmable Acceleration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Cards (PAC). It connects to a set of sensor chips to monitor the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) sensor data of different components on the board. The BMC firmware is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) responsible for sensor data sampling and recording in shared
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) registers. The host driver reads the sensor data from these shared
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) registers and exposes them to users as hwmon interfaces.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) The BMC chip is implemented using the Intel MAX 10 CPLD. It could be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) reprogramed to some variants in order to support different Intel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) PACs. The driver is designed to be able to distinguish between the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) variants, but now it only supports the BMC for Intel PAC N3000.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Sysfs attributes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) ----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) The following attributes are supported:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) - Intel MAX 10 BMC for Intel PAC N3000:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) ======================= =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) tempX_input             Temperature of the component (specified by tempX_label)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) tempX_max               Temperature maximum setpoint of the component
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) tempX_crit              Temperature critical setpoint of the component
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) tempX_max_hyst          Hysteresis for temperature maximum of the component
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) tempX_crit_hyst         Hysteresis for temperature critical of the component
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) temp1_label             "Board Temperature"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) temp2_label             "FPGA Die Temperature"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) temp3_label             "QSFP0 Temperature"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) temp4_label             "QSFP1 Temperature"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) temp5_label             "Retimer A Temperature"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) temp6_label             "Retimer A SerDes Temperature"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) temp7_label             "Retimer B Temperature"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) temp8_label             "Retimer B SerDes Temperature"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) inX_input               Measured voltage of the component (specified by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)                         inX_label)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) in0_label               "QSFP0 Supply Voltage"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) in1_label               "QSFP1 Supply Voltage"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) in2_label               "FPGA Core Voltage"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) in3_label               "12V Backplane Voltage"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) in4_label               "1.2V Voltage"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) in5_label               "12V AUX Voltage"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) in6_label               "1.8V Voltage"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) in7_label               "3.3V Voltage"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) currX_input             Measured current of the component (specified by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)                         currX_label)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) curr1_label             "FPGA Core Current"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) curr2_label             "12V Backplane Current"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) curr3_label             "12V AUX Current"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) powerX_input            Measured power of the component (specified by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)                         powerX_label)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) power1_label            "Board Power"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) ======================= =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) All the attributes are read-only.