openpower: move to new FSI external mode API

The kernel now supports an external mode switch for use with eg. a FSP
debug box.

This switch can be used by the fsi-disable to relinquish control of the
FSI pins in a fsi-master-gpio device, which also sets the mux and other
pins to the appropriate state.

When disabling external mode a rescan is triggered, so the fsi-enable
service does not need to explicitly do this.

Change-Id: I9851d42edcffcd62968c2c7d68b35351fe20b73e
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service
index 5b353cc..11c8563 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service
@@ -4,6 +4,6 @@
 
 [Service]
 ExecStart=/usr/sbin/openpower-proc-control setSyncFSIClock
-ExecStart=/bin/sh -c "echo fsi-master > /sys/bus/platform/drivers/fsi-master-gpio/unbind || echo gpio-fsi > /sys/bus/platform/drivers/fsi-master-gpio/unbind"
+ExecStart=/bin/sh -c "echo 1 > /sys/devices/platform/gpio-fsi/external_mode"
 Type=oneshot
 RemainAfterExit=yes