Matt Spinler | 77d32d1 | 2017-04-12 09:51:41 -0500 | [diff] [blame] | 1 | #Example fan definitions for phosphor-fan-control |
| 2 | |
| 3 | #List all fans that need to be known to phosphor-fan-control. |
| 4 | #For each fan, the inventory path, cooling zone, cooling zone |
| 5 | #profile, and sensor name(s). |
| 6 | |
| 7 | #fans: |
| 8 | # - inventory: [The system inventory location for the fan] |
| 9 | # cooling_zone: [The cooling zone number for the fan] |
| 10 | # cooling_profile: [The cooling profile for the fan] |
| 11 | # sensors: [The list of sensors for this fan] |
Lei YU | 069e440 | 2018-01-31 16:47:37 +0800 | [diff] [blame] | 12 | # target_interface: [The interface implemented by the fan target. |
| 13 | # Default is xyz.openbmc_project.Control.FanSpeed] |
Chau Ly | 44872b0 | 2022-09-19 07:34:08 +0000 | [diff] [blame] | 14 | # target_path: [The relative target path, which implements |
| 15 | # xyz.openbmc_project.Control.FanSpeed or |
| 16 | # xyz.openbmc_project.Control.FanPwm interface. |
| 17 | # Default is /xyz/openbmc_project/sensors/fan_tach/] |
Matt Spinler | 77d32d1 | 2017-04-12 09:51:41 -0500 | [diff] [blame] | 18 | |
| 19 | #The cooling zone, a number, and the cooling profile, a string, |
| 20 | #have to match the corresponding values in the fan zone yaml |
| 21 | #so the fans can be merged into the zone definition. |
| 22 | |
Lei YU | 069e440 | 2018-01-31 16:47:37 +0800 | [diff] [blame] | 23 | #Example entries for 2 fan system where fan0 uses default FanSpeed and |
| 24 | #fan1 uses FanPwm: |
Matt Spinler | 77d32d1 | 2017-04-12 09:51:41 -0500 | [diff] [blame] | 25 | #fans: |
| 26 | # - inventory: /system/chassis/motherboard/fan0 |
| 27 | # cooling_zone: 0 |
| 28 | # cooling_profile: all |
| 29 | # sensors: |
| 30 | # - fan0 |
| 31 | # - inventory: /system/chassis/motherboard/fan1 |
| 32 | # cooling_zone: 0 |
| 33 | # cooling_profile: air |
| 34 | # sensors: |
| 35 | # - fan1 |
Lei YU | 069e440 | 2018-01-31 16:47:37 +0800 | [diff] [blame] | 36 | # target_interface: xyz.openbmc_project.Control.FanPwm |
Chau Ly | 44872b0 | 2022-09-19 07:34:08 +0000 | [diff] [blame] | 37 | # target_path: /xyz/openbmc_project/control/fanpwm/ |