fans:rainier: Add fan control config files
This commit adds the fan control config files for the rainier type
machines. The recipe updates to install these files into a rainier image
will collectively be done after all fan application config files are
added.
Change-Id: Ib7fbc9e6ae053df2b02bac4a600ed4fb17a7662a
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/recipes-phosphor/fans/phosphor-fan/rainier/everest/fans.json b/recipes-phosphor/fans/phosphor-fan/rainier/everest/fans.json
new file mode 100644
index 0000000..0e4e4d0
--- /dev/null
+++ b/recipes-phosphor/fans/phosphor-fan/rainier/everest/fans.json
@@ -0,0 +1,26 @@
+[
+ {
+ "name": "fan0",
+ "zone": "0",
+ "sensors": ["fan0_0"],
+ "target_interface": "xyz.openbmc_project.Control.FanSpeed"
+ },
+ {
+ "name": "fan1",
+ "zone": "0",
+ "sensors": ["fan1_0"],
+ "target_interface": "xyz.openbmc_project.Control.FanSpeed"
+ },
+ {
+ "name": "fan2",
+ "zone": "0",
+ "sensors": ["fan2_0"],
+ "target_interface": "xyz.openbmc_project.Control.FanSpeed"
+ },
+ {
+ "name": "fan3",
+ "zone": "0",
+ "sensors": ["fan3_0"],
+ "target_interface": "xyz.openbmc_project.Control.FanSpeed"
+ }
+]
diff --git a/recipes-phosphor/fans/phosphor-fan/rainier/everest/zones.json b/recipes-phosphor/fans/phosphor-fan/rainier/everest/zones.json
new file mode 100644
index 0000000..2edfb36
--- /dev/null
+++ b/recipes-phosphor/fans/phosphor-fan/rainier/everest/zones.json
@@ -0,0 +1,9 @@
+[
+ {
+ "name": "0",
+ "full_speed": 10700,
+ "default_floor": 10700,
+ "increase_delay": 5,
+ "decrease_interval": 30
+ }
+]
diff --git a/recipes-phosphor/fans/phosphor-fan/rainier/manager.json b/recipes-phosphor/fans/phosphor-fan/rainier/manager.json
new file mode 100644
index 0000000..1480aa3
--- /dev/null
+++ b/recipes-phosphor/fans/phosphor-fan/rainier/manager.json
@@ -0,0 +1,3 @@
+{
+ "power_on_delay": 15
+}
diff --git a/recipes-phosphor/fans/phosphor-fan/rainier/rainier-2u/zones.json b/recipes-phosphor/fans/phosphor-fan/rainier/rainier-2u/zones.json
new file mode 100644
index 0000000..54d3f28
--- /dev/null
+++ b/recipes-phosphor/fans/phosphor-fan/rainier/rainier-2u/zones.json
@@ -0,0 +1,9 @@
+[
+ {
+ "name": "0",
+ "full_speed": 11200,
+ "default_floor": 8000,
+ "increase_delay": 5,
+ "decrease_interval": 30
+ }
+]
diff --git a/recipes-phosphor/fans/phosphor-fan/rainier/rainier-4u/zones.json b/recipes-phosphor/fans/phosphor-fan/rainier/rainier-4u/zones.json
new file mode 100644
index 0000000..b2c9607
--- /dev/null
+++ b/recipes-phosphor/fans/phosphor-fan/rainier/rainier-4u/zones.json
@@ -0,0 +1,9 @@
+[
+ {
+ "name": "0",
+ "full_speed": 6000,
+ "default_floor": 6000,
+ "increase_delay": 5,
+ "decrease_interval": 30
+ }
+]
diff --git a/recipes-phosphor/fans/phosphor-fan/rainier/rainier/fans.json b/recipes-phosphor/fans/phosphor-fan/rainier/rainier/fans.json
new file mode 100644
index 0000000..10465a9
--- /dev/null
+++ b/recipes-phosphor/fans/phosphor-fan/rainier/rainier/fans.json
@@ -0,0 +1,38 @@
+[
+ {
+ "name": "fan0",
+ "zone": "0",
+ "sensors": ["fan0_0"],
+ "target_interface": "xyz.openbmc_project.Control.FanSpeed"
+ },
+ {
+ "name": "fan1",
+ "zone": "0",
+ "sensors": ["fan1_0"],
+ "target_interface": "xyz.openbmc_project.Control.FanSpeed"
+ },
+ {
+ "name": "fan2",
+ "zone": "0",
+ "sensors": ["fan2_0"],
+ "target_interface": "xyz.openbmc_project.Control.FanSpeed"
+ },
+ {
+ "name": "fan3",
+ "zone": "0",
+ "sensors": ["fan3_0"],
+ "target_interface": "xyz.openbmc_project.Control.FanSpeed"
+ },
+ {
+ "name": "fan4",
+ "zone": "0",
+ "sensors": ["fan4_0"],
+ "target_interface": "xyz.openbmc_project.Control.FanSpeed"
+ },
+ {
+ "name": "fan5",
+ "zone": "0",
+ "sensors": ["fan5_0"],
+ "target_interface": "xyz.openbmc_project.Control.FanSpeed"
+ }
+]