Skip to content

Commit

Permalink
drivers/fsi: Add GPIO based FSI master
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christopher Bostic authored and Greg Kroah-Hartman committed Jun 9, 2017
1 parent a7ec937 commit ac0385d
Show file tree
Hide file tree
Showing 3 changed files with 607 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/fsi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions drivers/fsi/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@

obj-$(CONFIG_FSI) += fsi-core.o
obj-$(CONFIG_FSI_MASTER_GPIO) += fsi-master-gpio.o
Loading

0 comments on commit ac0385d

Please sign in to comment.