Revision Date Author Comments
# 7c385b38 15-Dec-2022 Bonnie Lo <Bonnie_Lo@wiwynn.com>

meta-facebook: greatlakes: add draft fan table

Description:
- Add draft fan table for Great Lakes.
- Will set all PWMs to 70%.

Design:
- Add draft fan table to the default path for phosphor-pid-con

meta-facebook: greatlakes: add draft fan table

Description:
- Add draft fan table for Great Lakes.
- Will set all PWMs to 70%.

Design:
- Add draft fan table to the default path for phosphor-pid-control
service.

Test Case:

1. Check status of phosphor-pid-control service.
root@greatlakes:~# systemctl status phosphor-pid-control -l
...
Mar 09 04:40:55 greatlakes swampd[2808]: Zone Id: 1
Mar 09 04:40:55 greatlakes swampd[2808]: PID name:
Stepwise_BB_INLET_TEMP_C
Mar 09 04:40:55 greatlakes swampd[2808]: inputs: BB_INLET_TEMP_C,
Mar 09 04:40:55 greatlakes swampd[2808]: PID name: fan0 1 2 3
Mar 09 04:40:55 greatlakes swampd[2808]: inputs: BB_FAN0_TACH_RPM,
BB_FAN1_TACH_RPM, BB_FAN2_TACH_RPM, BB_FAN3_TACH_RPM,
Mar 09 04:40:55 greatlakes swampd[2808]: pushing zone 1
Mar 09 04:40:55 greatlakes swampd[2808]: PID Zone 1 max SetPoint 70
requested by Stepwise_BB_INLET_TEMP_C BB_FAN0_TACH_RPM
BB_FAN1_TACH_RPM BB_FAN2_TACH_RPM BB_FAN3_TACH_RPM

2. Check fan PWM was set to 70%.
root@greatlakes:~# busctl get-property \
xyz.openbmc_project.FanSensor \
/xyz/openbmc_project/sensors/fan_pwm/Pwm_1 \
xyz.openbmc_project.Sensor.Value Value
d 69.8039

root@greatlakes:~# busctl get-property \
xyz.openbmc_project.FanSensor \
/xyz/openbmc_project/sensors/fan_pwm/Pwm_2 \
xyz.openbmc_project.Sensor.Value Value
d 69.8039

root@greatlakes:~# busctl get-property \
xyz.openbmc_project.FanSensor \
/xyz/openbmc_project/sensors/fan_pwm/Pwm_3 \
xyz.openbmc_project.Sensor.Value Value
d 69.8039

root@greatlakes:~# busctl get-property \
xyz.openbmc_project.FanSensor \
/xyz/openbmc_project/sensors/fan_pwm/Pwm_4 \
xyz.openbmc_project.Sensor.Value Value
d 69.8039

Change-Id: Id2240fe7d2f4dd6521ef88fce8f95f221988ee4c
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>

show more ...