summaryrefslogtreecommitdiff
path: root/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor
AgeCommit message (Collapse)AuthorFilesLines
2024-03-13meta-facebook: yosemite4: Support NIC endpoint setupChris Wang4-8/+52
Setup the MCTP Endpoint for the NIC when inserted. Remove the MCTP Endpoint for the NIC when unplugged. Change-Id: I0c36cecda6509a64e4f26c70bf61590467571a7b Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-01-12meta-facebook: yosemite4: Support power policy after doing slot hot-plugDelphine CC Chiu2-0/+95
Add systemd service slot-hot-plug to recover host status by power policy Tested: plug out then in slot, check host status and journal Change-Id: I8168b32a40c34d787fbfdd6c6a0c944ace919514 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-01-05meta-facebook: yosemite4: support nic reseatDelphine CC Chiu1-0/+52
- Add config for phosphor-gpio-monitor to monitor nics' present. - If the NIC is plugged in, perform 12V cycle to the serving Hosts to let the Hosts reload new NIC's information. Change-Id: I178c5ca7d2bc6b25585e907bad7494c2bb90b961 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2023-11-29meta-facebook: yosemite4: rescan eeproms after chassis on/offDelphine CC Chiu3-16/+37
Add service for rescanning the eeproms after chassis on/off event detected by gpio-monitor. Tested: power on/off chassis and check dbus path on FruDevice. Change-Id: Ie85f1526bf14cd87f92f93e37839bc80cf9044a4 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2023-11-15yosemite4: Support gpio monitor for server board device probingDelphine CC Chiu3-0/+102
If 12v stby power state was off when bmc boot up, server board device driver will not be probed. so add gpio monitor support for server board device probing Tested: devices on server board were probed after 12v on or hot-pluged Change-Id: I9e2a6cee966dd1c64cbff53b368fa6686a8c3924 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2023-10-24yosemite4: phosphor-gpio-monitor: Support sled cycle from power buttonDelphine CC Chiu2-0/+19
Summary: Support sled cycle from power button through gpio monitor, which detecting interrupt for bmc gpiop1 Tested: Do sled cycle after pressing power button: pass root@bmc:~# /usr/bin/phosphor-multi-gpio-monitor --config /usr/share/phosphor-gpio-monitor/phosphor-multi-gpio-monitor.json ... <6> GPIO Line 121 monitoring started ... [press power button over 4 second] <6> GPIO Line 121 Asserted Change-Id: I9197bfabff8b7e1f7a7370c0ff37219440df45b7 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>