Skip to content

Commit

Permalink
fsi: Add ast2600 master driver
Browse files Browse the repository at this point in the history
The ast2600 BMC has a pair of FSI masters in it, behind an AHB to OPB
bridge.

The master driver supports reads and writes of full words, half word and
byte accesses to remote CFAMs. It can perform very basic error recovery
through resetting of the FSI port when an error is detected, and the
issuing of breaks and terms.

Signed-off-by: Joel Stanley <[email protected]>
Acked-by: Alistair Popple <[email protected]>
--
v2:
 - remove debugging
 - squash in fixes
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
shenki authored and gregkh committed Nov 8, 2019
1 parent cccaa16 commit 606397d
Show file tree
Hide file tree
Showing 3 changed files with 531 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/fsi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ config FSI_MASTER_AST_CF
lines driven by the internal ColdFire coprocessor. This requires
the corresponding machine specific ColdFire firmware to be available.

config FSI_MASTER_ASPEED
tristate "FSI ASPEED master"
help
This option enables a FSI master that is present behind an OPB bridge
in the AST2600.

Enable it for your BMC kernel in an OpenPower or IBM Power system.

config FSI_SCOM
tristate "SCOM FSI client device driver"
---help---
Expand Down
1 change: 1 addition & 0 deletions drivers/fsi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

obj-$(CONFIG_FSI) += fsi-core.o
obj-$(CONFIG_FSI_MASTER_HUB) += fsi-master-hub.o
obj-$(CONFIG_FSI_MASTER_ASPEED) += fsi-master-aspeed.o
obj-$(CONFIG_FSI_MASTER_GPIO) += fsi-master-gpio.o
obj-$(CONFIG_FSI_MASTER_AST_CF) += fsi-master-ast-cf.o
obj-$(CONFIG_FSI_SCOM) += fsi-scom.o
Expand Down
Loading

0 comments on commit 606397d

Please sign in to comment.