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] |
Matt Spinler | 77d32d1 | 2017-04-12 09:51:41 -0500 | [diff] [blame] | 14 | |
| 15 | #The cooling zone, a number, and the cooling profile, a string, |
| 16 | #have to match the corresponding values in the fan zone yaml |
| 17 | #so the fans can be merged into the zone definition. |
| 18 | |
Lei YU | 069e440 | 2018-01-31 16:47:37 +0800 | [diff] [blame^] | 19 | #Example entries for 2 fan system where fan0 uses default FanSpeed and |
| 20 | #fan1 uses FanPwm: |
Matt Spinler | 77d32d1 | 2017-04-12 09:51:41 -0500 | [diff] [blame] | 21 | #fans: |
| 22 | # - inventory: /system/chassis/motherboard/fan0 |
| 23 | # cooling_zone: 0 |
| 24 | # cooling_profile: all |
| 25 | # sensors: |
| 26 | # - fan0 |
| 27 | # - inventory: /system/chassis/motherboard/fan1 |
| 28 | # cooling_zone: 0 |
| 29 | # cooling_profile: air |
| 30 | # sensors: |
| 31 | # - fan1 |
Lei YU | 069e440 | 2018-01-31 16:47:37 +0800 | [diff] [blame^] | 32 | # target_interface: xyz.openbmc_project.Control.FanPwm |