diff options
| author | Zixian Zeng <[email protected]> | 2025-07-20 08:31:44 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-07-24 12:28:16 +0000 |
| commit | 5653b4f8840801d9d141ba6a6c10e7cc15040c5b (patch) | |
| tree | 6b7b5dd02acee580d6d1f6a2b28322b5c362fc32 /drivers/fpga/microchip-spi.c | |
| parent | spi: dt-bindings: spi-sg2044-nor: Change SOPHGO SG2042 (diff) | |
| download | kernel-5653b4f8840801d9d141ba6a6c10e7cc15040c5b.tar.gz kernel-5653b4f8840801d9d141ba6a6c10e7cc15040c5b.zip | |
spi: spi-sg2044-nor: Add configurable chip_info
SG2044 and SG2042 have similar SPI-NOR flash controller design,
but have incompatibility which causes existing driver
not working on SG2042:
1. SPI-NOR flash controller on SG2042 have no OPT register.
2. FIFO trigger level on SG2042 should be strictly less than 8.
So introduce a new configurable chip_info structure to hold the
different configuration.
Link: https://github.com/sophgo/sophgo-doc/blob/main/SG2042/TRM/source/SPI-flash.rst
Signed-off-by: Zixian Zeng <[email protected]>
Reviewed-by: Chen Wang <[email protected]> & Tested-by: Chen Wang
Link: https://patch.msgid.link/[email protected]
Reviewed-by: Chen Wang <[email protected]> & Tested-by: Chen Wang
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
