fsi: occ: Add support for P10
authorEddie James <eajames@linux.ibm.com>
Fri, 20 Nov 2020 01:03:14 +0000 (11:33 +1030)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 11 Dec 2020 15:42:27 +0000 (07:42 -0800)
commit5ec96d74cf28c939e01b829f556832949b4c272a
tree2201d9249e65e3562b578711cfb99e516d3b54c4
parenteedc65cb083bab7faf0501bcf528fc236384f302
fsi: occ: Add support for P10

The P10 OCC has a different SRAM address for the command and response
buffers. In addition, the SBE commands to access the SRAM have changed
format. Add versioning to the driver to handle these differences.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20201120010315.190737-3-joel@jms.id.au
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/fsi/fsi-occ.c