Skip to content

RFC Add FlexSPI support for i.MX RT1170

Jonathan Currier u-boot 2 versions – Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest5 patches 1 replyApplied
  2. v1 RFC3 patches 4 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5spi: fspi: involve lut_num for struct nxp_fspi_devtype_datadrivers/spi/nxp_fspi.c+23 -190 replies
2/5spi: fspi: Add imxrt1170 device datadrivers/clk/imx/clk-imxrt1170.c drivers/spi/nxp_fspi.c+19 -00 replies
3/5ARM: dts: imx: Add flexspi (fspi) to imxrt1170 and it's evk.arch/arm/dts/imxrt1170-evk.dts arch/arm/dts/imxrt1170.dtsi include/dt-bindings/clock/imxrt1170-clock.h+44 -10 replies
4/5spi: fspi: dev_dbg() call assumes fdt_addr_t always a long longdrivers/spi/nxp_fspi.c+2 -10 replies
5/5configs: imxrt1170-evk_defconfig: include FlexSPI driver and flash chip supportconfigs/imxrt1170-evk_defconfig+15 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchFrank Li
1/5R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.45.3