fp5280g2: Add fan presence yaml config
Fp5280g2 uses GPIOs to detect fan presences.
Tested: Verified that the Present property in dbus corresponds
correctly reflects wheather a fan is present or not.
busctl get-property xyz.openbmc_project.Inventory.Manager
/xyz/openbmc_project/inventory/system/chassis/motherboard/fan0
xyz.openbmc_project.Inventory.Item Present
Signed-off-by: John Wang <wangzqbj@inspur.com>
Change-Id: I6ff5efc796fc6c1c461c029a04319e530532cb1f
diff --git a/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-presence-config.bbappend b/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-presence-config.bbappend
new file mode 100644
index 0000000..a5847a6
--- /dev/null
+++ b/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-presence-config.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend_fp5280g2 := "${THISDIR}/${BPN}:"