summaryrefslogtreecommitdiffstats
path: root/cf-fsi-fw.h
Commit message (Collapse)AuthorAgeFilesLines
* Add licenceBenjamin Herrenschmidt2018-06-121-0/+1
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Export CF boot time configBenjamin Herrenschmidt2018-06-121-0/+4
| | | | | | For diagnostics purposes Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Use a separate "started" flagBenjamin Herrenschmidt2018-06-111-0/+1
| | | | | | | Relying on the command-status is dicey, the GPIO arbitration code needs a more reliable way to know we are actually running Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add marker at end of tracesBenjamin Herrenschmidt2018-06-111-1/+2
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Rework interfacesBenjamin Herrenschmidt2018-06-111-31/+54
| | | | | | | | | | | | | | | We now use a portion of the ucode itself for version information and to configure the base of SRAM, this will allow the driver to use a pool allocator with less constraints. We put the status register as part of the command register, this speeds things up a bit and remove the need to clear it from the host. We also turn some SRAM stores from byte to long stores, they seem to be faster (still room for improvement) Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Header cleanupsBenjamin Herrenschmidt2018-06-061-2/+4
|
* Cleanup starting up, add trace flags to API versionBenjamin Herrenschmidt2018-06-031-12/+18
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add arbitration mechanismBenjamin Herrenschmidt2018-06-031-2/+9
| | | | | | | This will be used by the kernel GPIO driver to synchronize with the CF when accessing GPIO shared with FSI. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add API version, FW version and system signature registersBenjamin Herrenschmidt2018-06-031-0/+8
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Add break and "idle clocks" commandsBenjamin Herrenschmidt2018-06-031-0/+1
| | | | | | | | | | | | | Break sends a break command. It has 16000 recovery cycles as per the existing GPIO based driver, though that might be unnecessary in practice. "idle clocks" sends up to 255 clocks with data line held high, and can be used to flush things out for example after changing the send delay, or before sending a DPOLL command as some CFAMs seem to require extra clocks there. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Configure send/echo delayBenjamin Herrenschmidt2018-06-031-0/+4
| | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Move SRAM layout to a common .h fileBenjamin Herrenschmidt2018-06-031-0/+78
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud