OSDN Git Service

fsi: Add ast2600 master driver
authorJoel Stanley <joel@jms.id.au>
Fri, 8 Nov 2019 05:19:43 +0000 (15:49 +1030)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Nov 2019 10:28:20 +0000 (11:28 +0100)
commit606397d67f4184a40732537be72e7e8658c26717
treec6fabe7c046e4095078a9dd64336a3393fba203c
parentcccaa160c37639ea7d71c59a56a276264110ed62
fsi: Add ast2600 master driver

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 <joel@jms.id.au>
Acked-by: Alistair Popple <alistair@popple.id.au>
--
v2:
 - remove debugging
 - squash in fixes
Link: https://lore.kernel.org/r/20191108051945.7109-10-joel@jms.id.au
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fsi/Kconfig
drivers/fsi/Makefile
drivers/fsi/fsi-master-aspeed.c [new file with mode: 0644]