summaryrefslogtreecommitdiff
path: root/drivers/fsi/Kconfig
diff options
context:
space:
mode:
authorChristopher Bostic <cbostic@linux.vnet.ibm.com>2017-06-06 16:08:54 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-09 11:52:09 +0200
commitac0385d9f609e836e82213c75a24ae87f8fe1c9f (patch)
treedde8a19e9fc897b063a5845f25a1060858be6771 /drivers/fsi/Kconfig
parenta7ec9371dd11f0bc705a703fa0e5c1c11339f1a6 (diff)
downloadlwn-ac0385d9f609e836e82213c75a24ae87f8fe1c9f.tar.gz
lwn-ac0385d9f609e836e82213c75a24ae87f8fe1c9f.zip
drivers/fsi: Add GPIO based FSI master
Implement a FSI master using GPIO. Will generate FSI protocol for read and write commands to particular addresses. Sends master command and waits for and decodes a slave response. Includes changes from Edward A. James <eajames@us.ibm.com> and Jeremy Kerr <jk@ozlabs.org>. Signed-off-by: Edward A. James <eajames@us.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fsi/Kconfig')
-rw-r--r--drivers/fsi/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/fsi/Kconfig b/drivers/fsi/Kconfig
index e1006c6808a7..ba1663754f8a 100644
--- a/drivers/fsi/Kconfig
+++ b/drivers/fsi/Kconfig
@@ -10,4 +10,16 @@ config FSI
---help---
FSI - the FRU Support Interface - is a simple bus for low-level
access to POWER-based hardware.
+
+if FSI
+
+config FSI_MASTER_GPIO
+ tristate "GPIO-based FSI master"
+ depends on GPIOLIB
+ select CRC4
+ ---help---
+ This option enables a FSI master driver using GPIO lines.
+
+endif
+
endmenu