From 81fa75817700a42b36d9b42a1affe39f7dd988dd Mon Sep 17 00:00:00 2001 From: John Wang Date: Fri, 21 Jun 2019 14:42:26 +0800 Subject: fp5280g2: Add fan control yaml config The fan will rotate full speed according to the fan-control yaml,since ipmi yaml is not configured. Tested: Manually set a speed for the fan and observe that the fan-control sets the fan to full speed. (From meta-inspur rev: 4f5e77b08a50999885f1e58a50a76f8e684ad873) Signed-off-by: John Wang Change-Id: If2dd8de7c7798f446216d012fa109a2d4b044be8 Signed-off-by: Brad Bishop --- .../zone_conditions.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta-inspur/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/zone_conditions.yaml (limited to 'meta-inspur/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/zone_conditions.yaml') diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/zone_conditions.yaml b/meta-inspur/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/zone_conditions.yaml new file mode 100644 index 000000000..7dc99b6a2 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/zone_conditions.yaml @@ -0,0 +1,9 @@ +conditions: + - name: air_cooled_chassis + type: getProperty + properties: + - property: WaterCooled + interface: xyz.openbmc_project.Inventory.Decorator.CoolingType + path: /xyz/openbmc_project/inventory/system/chassis + type: bool + value: false -- cgit v1.2.3