[RFC PATCH v2 0/5] Add FlexSPI support for i.MX RT1170

Jonathan Currier dullfire at yahoo.com
Wed May 7 10:36:19 CEST 2025


The nxp_fspi driver is missing some per-device quirks that are needed
for imxrt1170 support.

Fortunately, linux (where the driver originated) has since added support
for these qirks.

This series cherry-picks the linux commit, then adds the imxrt1170
usage of the quirks.

I believe Jesse Taube is also working on this problem for the
i.mxrt1050, however the patches I saw were quite a bit different, thus
this RFC.


Changes in v2:
- Rebased to latest master
- Seperated devicetree and binds to their own patch
- Included imxrt1170-evk_defconfig changes missing in v1

Jonathan Currier (5):
  spi: fspi: involve lut_num for struct nxp_fspi_devtype_data
  spi: fspi: Add imxrt1170 device data
  ARM: dts: imx: Add flexspi (fspi) to imxrt1170 and it's evk.
  spi: fspi: dev_dbg() call assumes fdt_addr_t always a long long
  configs: imxrt1170-evk_defconfig: include FlexSPI driver and flash
    chip support

 arch/arm/dts/imxrt1170-evk.dts              | 28 +++++++++++
 arch/arm/dts/imxrt1170.dtsi                 | 13 +++++
 configs/imxrt1170-evk_defconfig             | 15 ++++++
 drivers/clk/imx/clk-imxrt1170.c             |  9 ++++
 drivers/spi/nxp_fspi.c                      | 55 +++++++++++++--------
 include/dt-bindings/clock/imxrt1170-clock.h |  4 +-
 6 files changed, 103 insertions(+), 21 deletions(-)

-- 
2.45.3



More information about the U-Boot mailing list