FBTP: Add fan and cpu sensors info
Added Fan controller and cpu sensors info for caliberating fan
as per pid.
Change-Id: I77dbda2d8bba2dda9ac80d24c08e7c561c832920
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
diff --git a/configurations/FBTP.json b/configurations/FBTP.json
index 453cc2e..7d958e9 100644
--- a/configurations/FBTP.json
+++ b/configurations/FBTP.json
@@ -1,6 +1,14 @@
{
"Exposes": [
{
+ "Name": "Pwm 1",
+ "Type": "Pwm"
+ },
+ {
+ "Name": "Pwm 2",
+ "Type": "Pwm"
+ },
+ {
"Connector": {
"Name": "System Fan Connector 1",
"Pwm": 0,
@@ -65,6 +73,54 @@
"Type": "AspeedFan"
},
{
+ "Class": "fan",
+ "FFGainCoefficient": 0.01,
+ "FFOffCoefficient": 0.0,
+ "ICoefficient": 0.0,
+ "ILimitMax": 0.0,
+ "ILimitMin": 0.0,
+ "Inputs": [
+ "MB_FAN0_TACH"
+ ],
+ "Name": "MB_FAN0_TACH",
+ "OutLimitMax": 100.0,
+ "OutLimitMin": 30.0,
+ "Outputs": [
+ "Pwm 1"
+ ],
+ "PCoefficient": 0.0,
+ "SlewNeg": 0.0,
+ "SlewPos": 0.0,
+ "Type": "Pid",
+ "Zones": [
+ "Pid 1"
+ ]
+ },
+ {
+ "Class": "fan",
+ "FFGainCoefficient": 0.01,
+ "FFOffCoefficient": 0.0,
+ "ICoefficient": 0.0,
+ "ILimitMax": 0.0,
+ "ILimitMin": 0.0,
+ "Inputs": [
+ "MB_FAN1_TACH"
+ ],
+ "Name": "MB_FAN1_TACH",
+ "OutLimitMax": 100.0,
+ "OutLimitMin": 30.0,
+ "Outputs": [
+ "Pwm 2"
+ ],
+ "PCoefficient": 0.0,
+ "SlewNeg": 0.0,
+ "SlewPos": 0.0,
+ "Type": "Pid",
+ "Zones": [
+ "Pid 1"
+ ]
+ },
+ {
"Address": "0x4e",
"Bus": 6,
"Name": "MB_INLET_TEMP",
@@ -322,6 +378,52 @@
"ILimitMax": 7000,
"ILimitMin": 3000,
"Inputs": [
+ "MB_INLET_TEMP"
+ ],
+ "Name": "MB_INLET_TEMP",
+ "OutLimitMax": 7000,
+ "OutLimitMin": 3000,
+ "Outputs": [],
+ "PCoefficient": -300.0,
+ "SetPoint": 45.0,
+ "SlewNeg": -100,
+ "SlewPos": 0.0,
+ "Type": "Pid",
+ "Zones": [
+ "Pid 1"
+ ]
+ },
+ {
+ "Class": "temp",
+ "FFGainCoefficient": 0.0,
+ "FFOffCoefficient": 0.0,
+ "ICoefficient": -20.0,
+ "ILimitMax": 7000,
+ "ILimitMin": 3000,
+ "Inputs": [
+ "MEZZ_SENSOR_REMOTE_TEMP"
+ ],
+ "Name": "MEZZ_SENSOR_REMOTE_TEMP",
+ "OutLimitMax": 7000,
+ "OutLimitMin": 3000,
+ "Outputs": [],
+ "PCoefficient": -300.0,
+ "SetPoint": 45.0,
+ "SlewNeg": -100,
+ "SlewPos": 0.0,
+ "Type": "Pid",
+ "Zones": [
+ "Pid 1"
+ ]
+ },
+ {
+ "Class": "temp",
+ "FFGainCoefficient": 0.0,
+ "FFOffCoefficient": 0.0,
+ "ICoefficient": -20.0,
+ "ILimitMax": 7000,
+ "ILimitMin": 3000,
+ "Inputs": [
"Core 0 CPU0"
],
"Name": "Core 0 CPU0",