U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] board: toradex: imx95: remove gpio1 reg
@ 2026-05-06 11:42 Antoine Gouby
  2026-05-06 11:42 ` [PATCH 1/2] board: toradex: smarc-imx95: " Antoine Gouby
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Antoine Gouby @ 2026-05-06 11:42 UTC (permalink / raw)
  To: NXP i.MX U-Boot Team, u-boot
  Cc: Stefano Babic, Fabio Estevam, Francesco Dolcini, Tom Rini,
	Ernest Van Hoecke, Emanuele Ghidoli, Antoine Gouby

This series removes gpio1 reg from Toradex SMARC iMX95 and Verdin iMX95
device trees.

The RGPIO2P driver contains legacy handling for compatible combinations
that expose two reg ranges (dual base) for i.MX8ULP and i.MX93.

The i.MX95 GPIO controller exposes a single register range, so the 
dual-base handling is unnecessary.

On Verdin iMX95, the second address of the gpio1 reg node was incorrect.
When used, it needs to be offsetted by 0x40 to start at the Port Data
Output register.

Signed-off-by: Antoine Gouby <antoine.gouby@toradex.com>
---
Antoine Gouby (2):
      board: toradex: smarc-imx95: remove gpio1 reg
      board: toradex: verdin-imx95: remove gpio1 reg

 arch/arm/dts/imx95-toradex-smarc-dev-u-boot.dtsi | 1 -
 arch/arm/dts/imx95-verdin-wifi-dev-u-boot.dtsi   | 1 -
 2 files changed, 2 deletions(-)
---
base-commit: ae8987f4e690f397f507c4b1efabd68b3ed08db6
change-id: 20260506-v1-remove-gpio1-reg-45e67c388665

Best regards,
-- 
Antoine Gouby <antoine.gouby@toradex.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] board: toradex: smarc-imx95: remove gpio1 reg
  2026-05-06 11:42 [PATCH 0/2] board: toradex: imx95: remove gpio1 reg Antoine Gouby
@ 2026-05-06 11:42 ` Antoine Gouby
  2026-05-06 11:42 ` [PATCH 2/2] board: toradex: verdin-imx95: " Antoine Gouby
  2026-05-13 11:13 ` [PATCH 0/2] board: toradex: imx95: " Peng Fan
  2 siblings, 0 replies; 4+ messages in thread
From: Antoine Gouby @ 2026-05-06 11:42 UTC (permalink / raw)
  To: NXP i.MX U-Boot Team, u-boot
  Cc: Stefano Babic, Fabio Estevam, Francesco Dolcini, Tom Rini,
	Ernest Van Hoecke, Emanuele Ghidoli, Antoine Gouby

From: Antoine Gouby <antoine.gouby@toradex.com>

The RGPIO2P driver contains legacy handling for compatible combinations
that expose two reg ranges (dual base) for i.MX8ULP and i.MX93.

The i.MX95 GPIO controller exposes a single register range, so the
dual-base handling is unnecessary.

Signed-off-by: Antoine Gouby <antoine.gouby@toradex.com>
---
 arch/arm/dts/imx95-toradex-smarc-dev-u-boot.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/dts/imx95-toradex-smarc-dev-u-boot.dtsi b/arch/arm/dts/imx95-toradex-smarc-dev-u-boot.dtsi
index 97ce7402e503..24952579a670 100644
--- a/arch/arm/dts/imx95-toradex-smarc-dev-u-boot.dtsi
+++ b/arch/arm/dts/imx95-toradex-smarc-dev-u-boot.dtsi
@@ -10,7 +10,6 @@
 };
 
 &gpio1 {
-	reg = <0 0x47400000 0 0x1000>, <0 0x47400040 0 0x40>;
 	bootph-pre-ram;
 };
 

-- 
2.53.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] board: toradex: verdin-imx95: remove gpio1 reg
  2026-05-06 11:42 [PATCH 0/2] board: toradex: imx95: remove gpio1 reg Antoine Gouby
  2026-05-06 11:42 ` [PATCH 1/2] board: toradex: smarc-imx95: " Antoine Gouby
@ 2026-05-06 11:42 ` Antoine Gouby
  2026-05-13 11:13 ` [PATCH 0/2] board: toradex: imx95: " Peng Fan
  2 siblings, 0 replies; 4+ messages in thread
From: Antoine Gouby @ 2026-05-06 11:42 UTC (permalink / raw)
  To: NXP i.MX U-Boot Team, u-boot
  Cc: Stefano Babic, Fabio Estevam, Francesco Dolcini, Tom Rini,
	Ernest Van Hoecke, Emanuele Ghidoli, Antoine Gouby

From: Antoine Gouby <antoine.gouby@toradex.com>

The RGPIO2P driver contains legacy handling for compatible combinations
that expose two reg ranges (dual base) for i.MX8ULP and i.MX93.

The i.MX95 GPIO controller exposes a single register range, so the
dual-base handling is unnecessary.

Additionally, the second address of the gpio1 reg property was wrong.
When used, it needs to be offsetted by 0x40 to start at the Port Data
Output register.

Fixes: 60d8255d8dc0 ("board: toradex: add Toradex Verdin iMX95")
Signed-off-by: Antoine Gouby <antoine.gouby@toradex.com>
---
 arch/arm/dts/imx95-verdin-wifi-dev-u-boot.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/dts/imx95-verdin-wifi-dev-u-boot.dtsi b/arch/arm/dts/imx95-verdin-wifi-dev-u-boot.dtsi
index 83802156d523..45633765c0f8 100644
--- a/arch/arm/dts/imx95-verdin-wifi-dev-u-boot.dtsi
+++ b/arch/arm/dts/imx95-verdin-wifi-dev-u-boot.dtsi
@@ -26,7 +26,6 @@
 };
 
 &gpio1 {
-	reg = <0 0x47400000 0 0x1000>, <0 0x47400000 0 0x40>;
 	bootph-pre-ram;
 
 	ctrl-sleep-moci-hog {

-- 
2.53.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] board: toradex: imx95: remove gpio1 reg
  2026-05-06 11:42 [PATCH 0/2] board: toradex: imx95: remove gpio1 reg Antoine Gouby
  2026-05-06 11:42 ` [PATCH 1/2] board: toradex: smarc-imx95: " Antoine Gouby
  2026-05-06 11:42 ` [PATCH 2/2] board: toradex: verdin-imx95: " Antoine Gouby
@ 2026-05-13 11:13 ` Peng Fan
  2 siblings, 0 replies; 4+ messages in thread
From: Peng Fan @ 2026-05-13 11:13 UTC (permalink / raw)
  To: Antoine Gouby
  Cc: NXP i.MX U-Boot Team, u-boot, Stefano Babic, Fabio Estevam,
	Francesco Dolcini, Tom Rini, Ernest Van Hoecke, Emanuele Ghidoli,
	Antoine Gouby

On Wed, May 06, 2026 at 01:42:19PM +0200, Antoine Gouby wrote:
>This series removes gpio1 reg from Toradex SMARC iMX95 and Verdin iMX95
>device trees.
>
>The RGPIO2P driver contains legacy handling for compatible combinations
>that expose two reg ranges (dual base) for i.MX8ULP and i.MX93.
>
>The i.MX95 GPIO controller exposes a single register range, so the 
>dual-base handling is unnecessary.
>
>On Verdin iMX95, the second address of the gpio1 reg node was incorrect.
>When used, it needs to be offsetted by 0x40 to start at the Port Data
>Output register.
>
>Signed-off-by: Antoine Gouby <antoine.gouby@toradex.com>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-05-13 11:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 11:42 [PATCH 0/2] board: toradex: imx95: remove gpio1 reg Antoine Gouby
2026-05-06 11:42 ` [PATCH 1/2] board: toradex: smarc-imx95: " Antoine Gouby
2026-05-06 11:42 ` [PATCH 2/2] board: toradex: verdin-imx95: " Antoine Gouby
2026-05-13 11:13 ` [PATCH 0/2] board: toradex: imx95: " Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox