mbox series

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

Message ID 20240905094338.1986871-1-haibo.chen@nxp.com (mailing list archive)
Headers show
Series fix the flexspi error on imx8ulp | expand

Message

Bough Chen Sept. 5, 2024, 9:43 a.m. UTC
From: Haibo Chen <haibo.chen@nxp.com>

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(-)

Comments

Mark Brown Sept. 5, 2024, 10:01 p.m. UTC | #1
On Thu, 05 Sep 2024 17:43:34 +0800, haibo.chen@nxp.com wrote:
> 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.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/4] dt-bindings: spi: nxp-fspi: add imx8ulp support
      commit: 12736adc43b7cd5cb83f274f8f37b0f89d107c97
[2/4] spi: fspi: involve lut_num for struct nxp_fspi_devtype_data
      commit: 190b7e2efb1ed8435fc7431d9c7a2447d05d5066
[3/4] spi: fspi: add support for imx8ulp
      commit: 9228956a620553d7fd17f703a37a26c91e4d92ab

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark