spi: bcmbca-hsspi: Add driver for newer HSSPI controller
authorWilliam Zhang <william.zhang@broadcom.com>
Wed, 7 Jun 2023 23:37:05 +0000 (16:37 -0700)
committerJagan Teki <jagan@edgeble.ai>
Thu, 13 Jul 2023 08:29:57 +0000 (13:59 +0530)
commit55c0144bd30dbbb9a3b1cb6987040022756368f2
tree69990d529cbc8094f2a8716019be5230d0b0a7ff
parent0e144ec38cbb42e4d2f390b8347848fcebcfd974
spi: bcmbca-hsspi: Add driver for newer HSSPI controller

The newer BCMBCA SoCs such as BCM6756, BCM4912 and BCM6855 include an
updated SPI controller that add the capability to allow the driver to
control chip select explicitly. Driver can control and keep cs low
between the transfers natively. Hence the dummy cs workaround or prepend
mode found in the bcm63xx-hsspi driver are no longer needed and this new
driver is much cleaner.

Port from linux patch:
Link: https://lore.kernel.org/r/20230209200246.141520-15-william.zhang@broadcom.com
Signed-off-by: William Zhang <william.zhang@broadcom.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/bcmbca_hsspi.c [new file with mode: 0644]