Skip to contentSkip to conversation

enable flexspi support on imx8mp

PATCH In review Heiko Schocher 2 participants 5 messages Mar 16, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover enable flexspi support on imx8mp

add compatible entry in nxp_fspi driver for imx8mp

new in v3:
seperate spi changes from series:
http://lists.infradead.org/pipermail/linux-arm-kernel/2021-March/643289.html

into own series as Kuldeep suggested and rebased against
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
144c79ef33536 ("Merge tag 'perf-tools-fixes-for-v5.12-2020-03-07' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux")

@Shawn: If this series is accepted, can you apply the DTS patches from series v2?
http://lists.infradead.org/pipermail/linux-arm-kernel/2021-March/643292.html
http://lists.infradead.org/pipermail/linux-arm-kernel/2021-March/643293.html

Changes in v3:
- seperate spi changes from series:
http://lists.infradead.org/pipermail/linux-arm-kernel/2021-March/643289.html
- no changes, rebased against
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
144c79ef33536 Merge tag 'perf-tools-fixes-for-v5.12-2020-03-07' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux

Changes in v2:
- work in comments from Marco
add own compatible entry for imx8mp

Heiko Schocher (2):
spi: fspi: enable fspi driver for on imx8mp
dt-bindings: spi: add compatible entry for imx8mp in FlexSPI
controller

 Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt | 1 +
 drivers/spi/spi-nxp-fspi.c                             | 1 +
 2 files changed, 2 insertions(+)
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/2 spi: fspi: enable fspi driver for on imx8mp

add compatible entry in nxp_fspi driver for imx8mp.

into own series as Kuldeep suggested and rebased against
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
144c79ef33536 ("Merge tag 'perf-tools-fixes-for-v5.12-2020-03-07' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux")

---

Changes in v3:
- seperate spi changes from series:
http://lists.infradead.org/pipermail/linux-arm-kernel/2021-March/643289.html

Changes in v2:
- work in comments from Marco
add own compatible entry for imx8mp

 drivers/spi/spi-nxp-fspi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/spi/spi-nxp-fspi.c +1 -0
index ab9035662717a..19ce4a854cc97 100644
@@ -1151,6 +1151,7 @@ static int nxp_fspi_resume(struct device *dev)
 static const struct of_device_id nxp_fspi_dt_ids[] = {
 	{ .compatible = "nxp,lx2160a-fspi", .data = (void *)&lx2160a_data, },
 	{ .compatible = "nxp,imx8mm-fspi", .data = (void *)&imx8mm_data, },
+	{ .compatible = "nxp,imx8mp-fspi", .data = (void *)&imx8mm_data, },
 	{ .compatible = "nxp,imx8qxp-fspi", .data = (void *)&imx8qxp_data, },
 	{ /* sentinel */ }
 };
Signature · 1 line
2.29.2
#2 lore raw

PATCH 2/2 dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller

In reply to Heiko Schocher

add compatible entry "nxp,imx8mp-fspi" in NXP FlexSPI controller

---

Changes in v3:
- no changes, rebased against
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
144c79ef33536 Merge tag 'perf-tools-fixes-for-v5.12-2020-03-07' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux

 Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt +1 -0
index 7ac60d9fe3571..fd5f081f6d91b 100644
@@ -4,6 +4,7 @@ Required properties:
   - compatible : Should be "nxp,lx2160a-fspi"
 			    "nxp,imx8qxp-fspi"
 			    "nxp,imx8mm-fspi"
+			    "nxp,imx8mp-fspi"
 
   - reg :        First contains the register location and length,
                  Second contains the memory mapping address and length
Signature · 1 line
2.29.2
#3 lore raw
In reply to Heiko Schocher

Hi Heiko,

Quoted 27 lines

-----Original Message-----
From: Heiko Schocher <[email protected]>
Sent: Tuesday, March 16, 2021 10:34 AM
To: [email protected]
Cc: Heiko Schocher <[email protected]>; [email protected]; Ashish Kumar <[email protected]>; Kuldeep Singh <[email protected]>; Mark Brown <[email protected]>; Rob Herring <[email protected]>; Shawn Guo <[email protected]>; Yogesh Gaur <[email protected]>; [email protected]; linux- [email protected]
Subject: [EXT] [PATCH 0/2] enable flexspi support on imx8mp

Caution: EXT Email

add compatible entry in nxp_fspi driver for imx8mp

new in v3:
seperate spi changes from series:
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.inf
radead.org%2Fpipermail%2Flinux-arm-kernel%2F2021- March%2F643289.html&amp;data=04%7C01%7Ckuldeep.singh%40nxp.com% 7C5da0c3da3dbe410baaf508d8e83903f4%7C686ea1d3bc2b4c6fa92cd99c5c3 01635%7C0%7C0%7C637514678868305498%7CUnknown%7CTWFpbGZsb3d8 eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3 D%7C1000&amp;sdata=2uy0EKUh4Nt0BceSQbIkCZDfakid3wx5uwebw0DhEIQ %3D&amp;reserved=0

Quoted 4 lines

into own series as Kuldeep suggested and rebased against
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next 144c79ef33536 ("Merge tag 'perf-tools-fixes-for-v5.12-2020-03-07' of
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux")

The changes are not on on top of spi tree
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next and therefore may not apply seamlessly.

I recently added driver support for imx8dxl which is accepted in spi tree And these patches will cause conflict with it.

Kindly rebase these patches on top of the tree.

Regards
Kuldeep

#4 lore raw

Hello Kuldeep,

Quoted 34 lines · Kuldeep Singh

Hi Heiko,

Quoted 27 lines

-----Original Message-----
From: Heiko Schocher <[email protected]>
Sent: Tuesday, March 16, 2021 10:34 AM
To: [email protected]
Cc: Heiko Schocher <[email protected]>; [email protected]; Ashish Kumar <[email protected]>; Kuldeep Singh <[email protected]>; Mark Brown <[email protected]>; Rob Herring <[email protected]>; Shawn Guo <[email protected]>; Yogesh Gaur <[email protected]>; [email protected]; linux- [email protected]
Subject: [EXT] [PATCH 0/2] enable flexspi support on imx8mp

Caution: EXT Email

add compatible entry in nxp_fspi driver for imx8mp

new in v3:
seperate spi changes from series:
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.inf
radead.org%2Fpipermail%2Flinux-arm-kernel%2F2021- March%2F643289.html&amp;data=04%7C01%7Ckuldeep.singh%40nxp.com% 7C5da0c3da3dbe410baaf508d8e83903f4%7C686ea1d3bc2b4c6fa92cd99c5c3 01635%7C0%7C0%7C637514678868305498%7CUnknown%7CTWFpbGZsb3d8 eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3 D%7C1000&amp;sdata=2uy0EKUh4Nt0BceSQbIkCZDfakid3wx5uwebw0DhEIQ %3D&amp;reserved=0

Quoted 4 lines

into own series as Kuldeep suggested and rebased against
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next 144c79ef33536 ("Merge tag 'perf-tools-fixes-for-v5.12-2020-03-07' of
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux")

Quoted 8 lines

The changes are not on on top of spi tree
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next and therefore may not apply seamlessly.

I recently added driver support for imx8dxl which is accepted in spi tree And these patches will cause conflict with it.

Kindly rebase these patches on top of the tree.

Sorry, my fault. I thought the patches go into for-next ... 3 days old ...

Ah, I had the wrong base ... I used "144c79ef33536" but it should be "a43e89624baea"

Sorry and thanks for detecting!

I sent a new version soon...

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: [email protected]