Searched hist:"4 a851d714eadeabd65c7e321a2e7830f77d945c4" (Results 1 – 2 of 2) sorted by relevance
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-fsi | diff 4a851d714eadeabd65c7e321a2e7830f77d945c4 Tue Jul 28 04:55:27 CEST 2020 Joel Stanley <joel@jms.id.au> 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>
|
/linux/drivers/fsi/ |
H A D | fsi-master-aspeed.c | diff 4a851d714eadeabd65c7e321a2e7830f77d945c4 Tue Jul 28 04:55:27 CEST 2020 Joel Stanley <joel@jms.id.au> 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>
|