All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Small fixes for TQMa91xx
@ 2026-07-07  8:55 Alexander Stein
  2026-07-07  8:55 ` [PATCH 1/2] arm64: dts: imx91-tqma9131-mba91xxca: USB phy adjustments Alexander Stein
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alexander Stein @ 2026-07-07  8:55 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

Hi,

here are two small fixes for TQMa91xx.
One adds the USB PHY settings similar to other TQ mainboards.
The other one fixes the reserved memory for EdgeLock Enclave to be suitable
for 512MiB variants as well.

Best regards,
Alexander

Alexander Feilke (1):
  arm64: dts: imx91-tqma9131: move ele-reserved memory into 512MB range

Markus Niebel (1):
  arm64: dts: imx91-tqma9131-mba91xxca: USB phy adjustments

 arch/arm64/boot/dts/freescale/imx91-tqma9131-mba91xxca.dts | 4 ++++
 arch/arm64/boot/dts/freescale/imx91-tqma9131.dtsi          | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

-- 
2.54.0


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

* [PATCH 1/2] arm64: dts: imx91-tqma9131-mba91xxca: USB phy adjustments
  2026-07-07  8:55 [PATCH 0/2] Small fixes for TQMa91xx Alexander Stein
@ 2026-07-07  8:55 ` Alexander Stein
  2026-07-07  8:55 ` [PATCH 2/2] arm64: dts: imx91-tqma9131: move ele-reserved memory into 512MB range Alexander Stein
  2026-07-13 16:26 ` [PATCH 0/2] Small fixes for TQMa91xx Frank.Li
  2 siblings, 0 replies; 5+ messages in thread
From: Alexander Stein @ 2026-07-07  8:55 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Markus Niebel, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel, Alexander Stein

From: Markus Niebel <Markus.Niebel@ew.tq-group.com>

Add samsung,picophy-pre-emp-curr-control and
samsung,picophy-dc-vol-level-adjust using the same values as other
TQ-Systems GmbH mainboards.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm64/boot/dts/freescale/imx91-tqma9131-mba91xxca.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx91-tqma9131-mba91xxca.dts b/arch/arm64/boot/dts/freescale/imx91-tqma9131-mba91xxca.dts
index 5c430e6fca651..60d11a4573e3f 100644
--- a/arch/arm64/boot/dts/freescale/imx91-tqma9131-mba91xxca.dts
+++ b/arch/arm64/boot/dts/freescale/imx91-tqma9131-mba91xxca.dts
@@ -518,6 +518,8 @@ &usbotg1 {
 	adp-disable;
 	usb-role-switch;
 	disable-over-current;
+	samsung,picophy-pre-emp-curr-control = <3>;
+	samsung,picophy-dc-vol-level-adjust = <7>;
 	status = "okay";
 
 	port {
@@ -532,6 +534,8 @@ &usbotg2 {
 	#address-cells = <1>;
 	#size-cells = <0>;
 	disable-over-current;
+	samsung,picophy-pre-emp-curr-control = <3>;
+	samsung,picophy-dc-vol-level-adjust = <7>;
 	status = "okay";
 
 	hub_2_0: hub@1 {
-- 
2.54.0


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

* [PATCH 2/2] arm64: dts: imx91-tqma9131: move ele-reserved memory into 512MB range
  2026-07-07  8:55 [PATCH 0/2] Small fixes for TQMa91xx Alexander Stein
  2026-07-07  8:55 ` [PATCH 1/2] arm64: dts: imx91-tqma9131-mba91xxca: USB phy adjustments Alexander Stein
@ 2026-07-07  8:55 ` Alexander Stein
  2026-07-07  9:05   ` sashiko-bot
  2026-07-13 16:26 ` [PATCH 0/2] Small fixes for TQMa91xx Frank.Li
  2 siblings, 1 reply; 5+ messages in thread
From: Alexander Stein @ 2026-07-07  8:55 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Alexander Feilke, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel, Alexander Stein

From: Alexander Feilke <Alexander.Feilke@ew.tq-group.com>

TQMa91 has a 512MiB RAM variant for which the edgelock memory location
exceeds the valid memory area.

Signed-off-by: Alexander Feilke <Alexander.Feilke@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm64/boot/dts/freescale/imx91-tqma9131.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx91-tqma9131.dtsi b/arch/arm64/boot/dts/freescale/imx91-tqma9131.dtsi
index c99d7bc168483..a8c79731eace5 100644
--- a/arch/arm64/boot/dts/freescale/imx91-tqma9131.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx91-tqma9131.dtsi
@@ -33,9 +33,9 @@ linux,cma {
 		};
 
 		/* EdgeLock secure enclave  */
-		ele_reserved: ele-reserved@a4120000 {
+		ele_reserved: ele-reserved@94120000 {
 			compatible = "shared-dma-pool";
-			reg = <0 0xa4120000 0 0x100000>;
+			reg = <0 0x94120000 0 0x100000>;
 			no-map;
 		};
 	};
-- 
2.54.0


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

* Re: [PATCH 2/2] arm64: dts: imx91-tqma9131: move ele-reserved memory into 512MB range
  2026-07-07  8:55 ` [PATCH 2/2] arm64: dts: imx91-tqma9131: move ele-reserved memory into 512MB range Alexander Stein
@ 2026-07-07  9:05   ` sashiko-bot
  0 siblings, 0 replies; 5+ messages in thread
From: sashiko-bot @ 2026-07-07  9:05 UTC (permalink / raw)
  To: Alexander Stein; +Cc: robh, conor+dt, devicetree, imx, Frank.Li

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Moving the EdgeLock reserved memory region in a shared .dtsi breaks backward compatibility for 1024MB boards with older firmware.
--

--- Patch [2]: [PATCH 2/2] arm64: dts: imx91-tqma9131: move ele-reserved memory into 512MB range ---
commit 48154931b16a7f9734d0f8037cf111d05d7b8120
Author: Alexander Feilke <Alexander.Feilke@ew.tq-group.com>

arm64: dts: imx91-tqma9131: move ele-reserved memory into 512MB range

TQMa91 has a 512MiB RAM variant for which the edgelock memory location
exceeds the valid memory area.

> diff --git a/arch/arm64/boot/dts/freescale/imx91-tqma9131.dtsi b/arch/arm64/boot/dts/freescale/imx91-tqma9131.dtsi
> index c99d7bc168483..a8c79731eace5 100644
> --- a/arch/arm64/boot/dts/freescale/imx91-tqma9131.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx91-tqma9131.dtsi
> @@ -33,9 +33,9 @@ linux,cma {
>  		};
>  
>  		/* EdgeLock secure enclave  */
> -		ele_reserved: ele-reserved@a4120000 {
> +		ele_reserved: ele-reserved@94120000 {
>  			compatible = "shared-dma-pool";
> -			reg = <0 0xa4120000 0 0x100000>;
> +			reg = <0 0x94120000 0 0x100000>;

[Severity: High]
Does this break backward compatibility for 1024MB boards with older firmware?

By unconditionally moving the ele-reserved node from 0xa4120000 to 0x94120000
in the shared .dtsi, Linux will no longer reserve 0xa4120000.

If an older 1024MB board runs existing firmware that still places the ELE at
0xa4120000, would Linux treat that region as normal RAM and overwrite the live
secure enclave?

Could the new address be specified in a board-specific .dts for the 512MB
variant, or could the bootloader dynamically patch the node to reflect the
actual allocation instead?

>  			no-map;
>  		};
>  	};

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260707085551.1683462-1-alexander.stein@ew.tq-group.com?part=2

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

* Re: [PATCH 0/2] Small fixes for TQMa91xx
  2026-07-07  8:55 [PATCH 0/2] Small fixes for TQMa91xx Alexander Stein
  2026-07-07  8:55 ` [PATCH 1/2] arm64: dts: imx91-tqma9131-mba91xxca: USB phy adjustments Alexander Stein
  2026-07-07  8:55 ` [PATCH 2/2] arm64: dts: imx91-tqma9131: move ele-reserved memory into 512MB range Alexander Stein
@ 2026-07-13 16:26 ` Frank.Li
  2 siblings, 0 replies; 5+ messages in thread
From: Frank.Li @ 2026-07-13 16:26 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Alexander Stein
  Cc: Frank Li, linux, devicetree, imx, linux-arm-kernel, linux-kernel

From: Frank Li <Frank.Li@nxp.com>


On Tue, 07 Jul 2026 10:55:41 +0200, Alexander Stein wrote:
> here are two small fixes for TQMa91xx.
> One adds the USB PHY settings similar to other TQ mainboards.
> The other one fixes the reserved memory for EdgeLock Enclave to be suitable
> for 512MiB variants as well.
> 
> Best regards,
> Alexander
> 
> [...]

Applied, thanks!

[1/2] arm64: dts: imx91-tqma9131-mba91xxca: USB phy adjustments
      commit: b463d4de9d365690d44fac9b8136190332639de1
[2/2] arm64: dts: imx91-tqma9131: move ele-reserved memory into 512MB range
      commit: 96927ebe2610849ebdd78635b2e63a7af7a94eae

Best regards,
-- 
Frank Li <Frank.Li@nxp.com>


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

end of thread, other threads:[~2026-07-13 16:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-07  8:55 [PATCH 0/2] Small fixes for TQMa91xx Alexander Stein
2026-07-07  8:55 ` [PATCH 1/2] arm64: dts: imx91-tqma9131-mba91xxca: USB phy adjustments Alexander Stein
2026-07-07  8:55 ` [PATCH 2/2] arm64: dts: imx91-tqma9131: move ele-reserved memory into 512MB range Alexander Stein
2026-07-07  9:05   ` sashiko-bot
2026-07-13 16:26 ` [PATCH 0/2] Small fixes for TQMa91xx Frank.Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.