linux/drivers/fsi
Joel Stanley 4a851d714e fsi: aspeed: Support CFAM reset GPIO
Systems have a line for restting the remote CFAM. This is not part of
the FSI master, but is associated with it, so it makes sense to include
it in the master driver.

This exposes a sysfs interface to reset the cfam, abstracting away the
direction and polarity of the GPIO, as well as the timing of the reset
pulse. Userspace will be blocked until the reset pulse is finished.

The reset is hard coded to be in the range of (900, 1000) us. It was
observed with a scope to regularly be just over 1ms.

If the device tree property is not preset the driver will silently
continue.

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20200728025527.174503-6-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
2020-09-10 12:26:43 +09:30
..
cf-fsi-fw.h fsi: cf-fsi-fw: Use the correct style for SPDX License Identifier 2019-06-19 19:35:51 +02:00
fsi-core.c fsi: core: Set slave local bus ownership during init 2020-09-10 12:22:49 +09:30
fsi-master-aspeed.c fsi: aspeed: Support CFAM reset GPIO 2020-09-10 12:26:43 +09:30
fsi-master-ast-cf.c fsi: master: Add boolean parameter to link_enable function 2020-09-10 12:22:47 +09:30
fsi-master-gpio.c fsi: master: Add boolean parameter to link_enable function 2020-09-10 12:22:47 +09:30
fsi-master-hub.c fsi: master: Constify hub_master_ids 2020-09-10 12:22:50 +09:30
fsi-master.h fsi: master: Add boolean parameter to link_enable function 2020-09-10 12:22:47 +09:30
fsi-occ.c fsi: fsi-occ: fix return value check in occ_probe() 2020-09-10 12:22:47 +09:30
fsi-sbefifo.c fsi: sbefifo: Constify sbefifo_ids 2020-09-10 12:22:50 +09:30
fsi-scom.c fsi: scom: Constify scom_ids 2020-09-10 12:22:51 +09:30
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile fsi: Add ast2600 master driver 2019-11-08 11:28:20 +01:00