allwinner: Add h3 spi driver
This driver is compatible with H3/H5/A64. Test was done on the OrangePi-PC2 board (H5 based), which have a mx25l1606e spi flash on it, by writing u-boot image, reading it and booting from the spi. There is still room for improvement especially on reading using the controller automatic burst which will avoid us to write dummy data to the TX FIFO. DMA is also not supported as we currently don't support the DMA controller on those SoCs Only add a kernel module for it.
This commit is contained in:
parent
7973b47369
commit
3076898a56
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333708
@ -33,6 +33,7 @@ arm/allwinner/aw_nmi.c optional aw_nmi fdt \
|
||||
arm/allwinner/aw_rsb.c optional aw_rsb fdt
|
||||
arm/allwinner/aw_rtc.c optional aw_rtc fdt
|
||||
arm/allwinner/aw_sid.c optional aw_sid fdt
|
||||
arm/allwinner/aw_spi.c optional aw_spi fdt
|
||||
arm/allwinner/aw_thermal.c optional aw_thermal fdt
|
||||
arm/allwinner/aw_usbphy.c optional ehci aw_usbphy fdt
|
||||
arm/allwinner/aw_wdog.c optional aw_wdog fdt
|
||||
|
@ -42,6 +42,7 @@ SUBDIR= \
|
||||
${_aout} \
|
||||
${_apm} \
|
||||
${_arcmsr} \
|
||||
${_allwinner} \
|
||||
${_armv8crypto} \
|
||||
${_asmc} \
|
||||
ata \
|
||||
@ -558,6 +559,7 @@ _cxgb= cxgb
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "aarch64"
|
||||
_allwinner= allwinner
|
||||
_armv8crypto= armv8crypto
|
||||
_efirt= efirt
|
||||
_em= em
|
||||
|
Loading…
Reference in New Issue
Block a user