W dniu 22.07.2022 o 18:48, 周琰杰 (Zhou Yanjie) pisze:
1.Use the spi-mem poll status APIs in SPI-NOR to reduce CPU load.Even tough it's still early in revision process, I'll add my
2.Add SFC support for the X1000 SoC, the X1600 SoC, and the X2000 SoC from Ingenic.
Liu Jinghui and Aidan MacDonald provided a lot of assistance during the development of this driver.
周琰杰 (Zhou Yanjie) (3):
mtd: spi-nor: Use the spi-mem poll status APIs.
dt-bindings: SPI: Add Ingenic SFC bindings.
SPI: Ingenic: Add SFC support for Ingenic SoCs.
.../devicetree/bindings/spi/ingenic,sfc.yaml | 64 ++
drivers/mtd/spi-nor/core.c | 42 +-
drivers/spi/Kconfig | 9 +
drivers/spi/Makefile | 1 +
drivers/spi/spi-ingenic-sfc.c | 662 +++++++++++++++++++++
5 files changed, 768 insertions(+), 10 deletions(-)
create mode 100644 Documentation/devicetree/bindings/spi/ingenic,sfc.yaml
create mode 100755 drivers/spi/spi-ingenic-sfc.c
Tested-by: Tomasz Maciej Nowak <tmn505@xxxxxxxxx>
The test was performed with Damai DM6291A SoC which is a Ingenic X1000 IP
but with 256 MiB RAM. No bugs yet observed on my side.