mori_motherboard: Add PID fan table sensor configuration

Contains PID fan table sensor configurations for sensors:
 - Temperature Inputs: MOBO_CPU_NBM_T
                       MOBO_STB_T
                       CPU_SOC_T
                       CPU_VRD_T
                       CPU_DIMMG_T
                       MOBO_TRAY_DT
                       ZONE0_T
 - Fans:               REAR_FAN0
                       REAR_FAN1
 - Zones: Fan0Zone
 - MinThermalOutput=30
 - FailSafePercent=70

Change-Id: I62d4e89285319d2348c4bd8e76ef51d1e0d9947e
Signed-off-by: Jonico Eustaquio <jonico.eustaquio@fii-na.com>
diff --git a/configurations/mori_motherboard.json b/configurations/mori_motherboard.json
index 8860061..f3ce10b 100644
--- a/configurations/mori_motherboard.json
+++ b/configurations/mori_motherboard.json
@@ -883,6 +883,223 @@
                 "Type": "I2CFan"
             },
             {
+                "Class": "fan",
+                "FFGainCoefficient": 1.0,
+                "FFOffCoefficient": 0.0,
+                "ICoefficient": 0.0,
+                "ILimitMax": 0.0,
+                "ILimitMin": 0.0,
+                "Inputs": [
+                    "REAR_FAN0_SPEED",
+                    "REAR_FAN1_SPEED"
+                ],
+                "Name": "REAR_FAN01",
+                "NegativeHysteresis": 0.0,
+                "OutLimitMax": 100.0,
+                "OutLimitMin": 20.0,
+                "Outputs": [
+                    "REAR_FAN0_PWM",
+                    "REAR_FAN1_PWM"
+                ],
+                "PCoefficient": 0.0,
+                "PositiveHysteresis": 0.0,
+                "SlewNeg": 0.0,
+                "SlewPos": 0.0,
+                "Type": "Pid",
+                "Zones": [
+                    "Zone_0"
+                ],
+                "samplePeriod": 0.1
+            },
+            {
+                "Class": "temp",
+                "FFGainCoefficient": 0.0,
+                "FFOffCoefficient": 0.0,
+                "ICoefficient": -0.1,
+                "ILimitMax": 100.0,
+                "ILimitMin": 30.0,
+                "Inputs": [
+                    "ZONE0_T"
+                ],
+                "Name": "ZONE0_T_PID",
+                "NegativeHysteresis": 0.0,
+                "OutLimitMax": 100.0,
+                "OutLimitMin": 30.0,
+                "Outputs": [],
+                "PCoefficient": -2.0,
+                "PositiveHysteresis": 0.0,
+                "SetPoint": 190.0,
+                "SlewNeg": 0.0,
+                "SlewPos": 0.0,
+                "Type": "Pid",
+                "Zones": [
+                    "Zone_0"
+                ],
+                "samplePeriod": 1
+            },
+            {
+                "Class": "temp",
+                "FFGainCoefficient": 0.0,
+                "FFOffCoefficient": 0.0,
+                "ICoefficient": -0.1,
+                "ILimitMax": 100.0,
+                "ILimitMin": 30.0,
+                "Inputs": [
+                    "MOBO_CPU_NBM_T"
+                ],
+                "Name": "MOBO_CPU_NBM_PID",
+                "NegativeHysteresis": 0.0,
+                "OutLimitMax": 100.0,
+                "OutLimitMin": 30.0,
+                "Outputs": [],
+                "PCoefficient": -8.0,
+                "PositiveHysteresis": 0.0,
+                "SetPoint": 85.0,
+                "SlewNeg": 0.0,
+                "SlewPos": 0.0,
+                "Type": "Pid",
+                "Zones": [
+                    "Zone_0"
+                ],
+                "samplePeriod": 1
+            },
+            {
+                "Class": "temp",
+                "FFGainCoefficient": 0.0,
+                "FFOffCoefficient": 0.0,
+                "ICoefficient": -0.1,
+                "ILimitMax": 100.0,
+                "ILimitMin": 30.0,
+                "Inputs": [
+                    "MOBO_STB_T"
+                ],
+                "Name": "MOBO_STB_PID",
+                "NegativeHysteresis": 0.0,
+                "OutLimitMax": 100.0,
+                "OutLimitMin": 30.0,
+                "Outputs": [],
+                "PCoefficient": -2.0,
+                "PositiveHysteresis": 0.0,
+                "SetPoint": 65.0,
+                "SlewNeg": 0.0,
+                "SlewPos": 0.0,
+                "Type": "Pid",
+                "Zones": [
+                    "Zone_0"
+                ],
+                "samplePeriod": 1
+            },
+            {
+                "Class": "temp",
+                "FFGainCoefficient": 0.0,
+                "FFOffCoefficient": 0.0,
+                "ICoefficient": -0.1,
+                "ILimitMax": 100.0,
+                "ILimitMin": 30.0,
+                "Inputs": [
+                    "S0_SOC_Pkg_Temp"
+                ],
+                "Name": "CPU_SOC_T",
+                "NegativeHysteresis": 0.0,
+                "OutLimitMax": 100.0,
+                "OutLimitMin": 30.0,
+                "Outputs": [],
+                "PCoefficient": -8.0,
+                "PositiveHysteresis": 0.0,
+                "SetPoint": 95.0,
+                "SlewNeg": 0.0,
+                "SlewPos": 0.0,
+                "Type": "Pid",
+                "Zones": [
+                    "Zone_0"
+                ],
+                "samplePeriod": 1
+            },
+            {
+                "Class": "temp",
+                "FFGainCoefficient": 0.0,
+                "FFOffCoefficient": 0.0,
+                "ICoefficient": -0.1,
+                "ILimitMax": 100.0,
+                "ILimitMin": 30.0,
+                "Inputs": [
+                    "CPU_VRDG_T"
+                ],
+                "Name": "CPU_VRDG_PID",
+                "NegativeHysteresis": 0.0,
+                "OutLimitMax": 100.0,
+                "OutLimitMin": 30.0,
+                "Outputs": [],
+                "PCoefficient": -4.0,
+                "PositiveHysteresis": 0.0,
+                "SetPoint": 95.0,
+                "SlewNeg": 0.0,
+                "SlewPos": 0.0,
+                "Type": "Pid",
+                "Zones": [
+                    "Zone_0"
+                ],
+                "samplePeriod": 1
+            },
+            {
+                "Class": "temp",
+                "FFGainCoefficient": 0.0,
+                "FFOffCoefficient": 0.0,
+                "ICoefficient": -0.1,
+                "ILimitMax": 100.0,
+                "ILimitMin": 30.0,
+                "Inputs": [
+                    "CPU_DIMMG_T"
+                ],
+                "Name": "CPU_DIMMG_PID",
+                "NegativeHysteresis": 0.0,
+                "OutLimitMax": 100.0,
+                "OutLimitMin": 30.0,
+                "Outputs": [],
+                "PCoefficient": -4.0,
+                "PositiveHysteresis": 0.0,
+                "SetPoint": 65.0,
+                "SlewNeg": 0.0,
+                "SlewPos": 0.0,
+                "Type": "Pid",
+                "Zones": [
+                    "Zone_0"
+                ],
+                "samplePeriod": 1
+            },
+            {
+                "Class": "temp",
+                "FFGainCoefficient": 0.0,
+                "FFOffCoefficient": 0.0,
+                "ICoefficient": -0.1,
+                "ILimitMax": 100.0,
+                "ILimitMin": 30.0,
+                "Inputs": [
+                    "MOBO_TRAY_DT"
+                ],
+                "Name": "MOBO_TRAY_PID",
+                "NegativeHysteresis": 0.0,
+                "OutLimitMax": 100.0,
+                "OutLimitMin": 30.0,
+                "Outputs": [],
+                "PCoefficient": -8.0,
+                "PositiveHysteresis": 0.0,
+                "SetPoint": 20.0,
+                "SlewNeg": 0.0,
+                "SlewPos": 0.0,
+                "Type": "Pid",
+                "Zones": [
+                    "Zone_0"
+                ],
+                "samplePeriod": 1
+            },
+            {
+                "FailSafePercent": 70,
+                "MinThermalOutput": 30,
+                "Name": "Zone_0",
+                "Type": "Pid.Zone"
+            },
+            {
                 "Address": "0x54",
                 "Bus": 33,
                 "EntityId": 7,