blob: 50e177687375ee50f7c0efbfa06c7d0a5c4db355 [file] [log] [blame]
Brandon Wyman03e5ffd2017-09-26 17:55:21 -05001[Unit]
Brandon Wymanf0a24b82019-03-13 13:27:13 -05002Description=Power Supply Input History SYNC
Brandon Wyman03e5ffd2017-09-26 17:55:21 -05003Wants=obmc-power-start-pre@0.target
4After=obmc-power-start-pre@0.target
5Wants=obmc-chassis-poweron@0.target
6Before=obmc-chassis-poweron@0.target
7ConditionPathExists=!/run/openbmc/chassis@0-on
Matt Spinlere99fc5b2023-08-15 10:43:20 -05008Conflicts=obmc-chassis-poweroff@0.target
Brandon Wyman03e5ffd2017-09-26 17:55:21 -05009
10[Service]
Matt Spinlere99fc5b2023-08-15 10:43:20 -050011Type=oneshot
12RemainAfterExit=yes
13ExecStart=/usr/bin/gpioset -m time -u 5000 /dev/gpiochip0 105=0
14ExecStart=/usr/bin/gpioset /dev/gpiochip0 105=1
Brandon Wyman03e5ffd2017-09-26 17:55:21 -050015
16[Install]
Andrew Geissler97445ad2023-05-09 11:19:11 -050017#RequiredBy=obmc-chassis-poweron@0.target