blob: c5b1ea1390140c3fb45979d8c81bbbca58d1eb75 [file] [log] [blame]
[Unit]
Description=Enable FSI
Conflicts=fsi-disable.service
ConditionDirectoryNotEmpty=!/sys/bus/platform/drivers/fsi-master-gpio/fsi-master
[Service]
ExecStart=/bin/sh -c "echo fsi-master > /sys/bus/platform/drivers/fsi-master-gpio/bind"
ExecStart=/bin/sh -c "echo 1 > /sys/bus/platform/devices/fsi-master/scan"
Type=oneshot
RemainAfterExit=yes