[PATCH v3 0/4] fix the flexspi error on imx8ulp

From: haibo . chen
Date: Thu Sep 05 2024 - 05:45:02 EST


From: Haibo Chen <haibo.chen@xxxxxxx>

The flexspi on imx8ulp only has 16 LUTs, different with others
which has 32 LUTs. So currently flexspi driver will write the
wrong register when fill LUT.

This patch set add a new compatible string for imx8ulp to
distinguish the LUT number.

Changes for V3:
- add Krzysztof Kozlowski's ack in PATCH1.
- add cc-stable and fix tag on all patches of this patch set
all patch of this patch set aim to fix one issue.
- splict the original second patch into two different patches
according to Frank Li's suggestion.
one patch involve new number lut_num in struct nxp_fspi_devtype_data,
another patch add new compatible string to support imx8ulp.

Changes for V2:
- Remove the change for imx8mp, since this broken users.

Haibo Chen (4):
dt-bindings: spi: nxp-fspi: add imx8ulp support
spi: fspi: involve lut_num for struct nxp_fspi_devtype_data
spi: fspi: add support for imx8ulp
arm64: dts: imx8ulp: correct the flexspi compatible string

.../devicetree/bindings/spi/spi-nxp-fspi.yaml | 1 +
arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 2 +-
drivers/spi/spi-nxp-fspi.c | 54 ++++++++++++-------
3 files changed, 37 insertions(+), 20 deletions(-)

--
2.34.1