xref: /openbmc/openbmc/meta-ibm/recipes-phosphor/chassis/vrm-control/ir35221-on-bind@.service (revision e161514219e0dc8a957dabbb8529fb9fcac4e115)
1*e1615142SBrad Bishop[Unit]
2*e1615142SBrad BishopDescription=Power on bind ir35221 device driver devs
3*e1615142SBrad BishopAfter=avsbus-enable@%i.service
4*e1615142SBrad BishopWants=obmc-host-start-pre@%i.target
5*e1615142SBrad BishopBefore=obmc-host-start-pre@%i.target
6*e1615142SBrad BishopConflicts=obmc-chassis-poweroff@%i.target
7*e1615142SBrad BishopConditionPathExists=!/run/openbmc/chassis@%i-on
8*e1615142SBrad Bishop
9*e1615142SBrad Bishop[Service]
10*e1615142SBrad BishopExecStart=/usr/bin/ir35221-unbind-bind.sh bind
11*e1615142SBrad BishopType=oneshot
12*e1615142SBrad BishopRemainAfterExit=yes
13*e1615142SBrad Bishop
14*e1615142SBrad Bishop[Install]
15*e1615142SBrad BishopWantedBy=obmc-chassis-poweron@%i.target
16