meta-quanta: gbs: expose more GPIO signals as IPMI SDR
1. monitor more GPIO signals
gpio_net_name / gpio_number:
['SATA0_PRSNT_N']=5
['HSBP_CABLE_PRSNT_BUF_N']=57
['FAN_BRD_CABLE_PRSNT_BUF']=58
['HSBP_P12V_STBY_CABLE_PRSNT']=69
['PE_SLOT0_PRSNT_N']=120
['PE_SLOT1_PRSNT_N']=121
2. add these GPIO signals to the sensor YAML config
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ic4cc39789217b37e3bd792725dd98ead3187823c
diff --git a/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service.replace b/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service.replace
index 3ab9970..fe782d6 100644
--- a/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service.replace
+++ b/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service.replace
@@ -2,12 +2,10 @@
Description=Phosphor GPIO %I Presence
Wants=mapper-wait@-xyz-openbmc_project-inventory.service
After=mapper-wait@-xyz-openbmc_project-inventory.service
-ConditionPathExists=/etc/default/obmc/gpio/slimsas-cable-%i.conf
-StartLimitBurst=10
+ConditionPathExists=/etc/default/obmc/gpio/gpios-%i.conf
[Service]
-Restart=on-failure
-EnvironmentFile=/etc/default/obmc/gpio/slimsas-cable-%i.conf
+EnvironmentFile=/etc/default/obmc/gpio/gpios-%i.conf
ExecStart=/usr/bin/phosphor-gpio-presence --path=${DEVPATH} --inventory=${INVENTORY} --key=${KEY} --name=${NAME} --drivers=${DRIVERS} --extra-ifaces=${EXTRA_IFACES}
[Install]