* [PATCH v1 1/1] arm64: dts: freescale: imx95-var-dart: enable NETC block control
@ 2026-07-03 14:49 Stefano Radaelli
2026-07-03 15:00 ` sashiko-bot
0 siblings, 1 reply; 2+ messages in thread
From: Stefano Radaelli @ 2026-07-03 14:49 UTC (permalink / raw)
To: linux-kernel, devicetree, imx, linux-arm-kernel
Cc: pierluigi.p, Stefano Radaelli, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam
From: Stefano Radaelli <stefano.r@variscite.com>
Enable the NETC block control node on the DART-MX95 SoM.
This is required for the NETC Ethernet ports to be enabled and used.
Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
---
arch/arm64/boot/dts/freescale/imx95-var-dart.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx95-var-dart.dtsi b/arch/arm64/boot/dts/freescale/imx95-var-dart.dtsi
index d43270a1d907..174ded589d6f 100644
--- a/arch/arm64/boot/dts/freescale/imx95-var-dart.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-var-dart.dtsi
@@ -178,6 +178,10 @@ &mu7 {
status = "okay";
};
+&netc_blk_ctrl {
+ status = "okay";
+};
+
&netc_emdio {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_emdio>, <&pinctrl_phy0res>;
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH v1 1/1] arm64: dts: freescale: imx95-var-dart: enable NETC block control
2026-07-03 14:49 [PATCH v1 1/1] arm64: dts: freescale: imx95-var-dart: enable NETC block control Stefano Radaelli
@ 2026-07-03 15:00 ` sashiko-bot
0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-07-03 15:00 UTC (permalink / raw)
To: Stefano Radaelli; +Cc: robh, Frank.Li, imx, devicetree, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Missing dependency for `netc_blk_ctrl` causing a potential system hang on boot.
--
commit 14e353bd1da7516058662c0b4b79b720409b4211
Author: Stefano Radaelli <stefano.r@variscite.com>
arm64: dts: freescale: imx95-var-dart: enable NETC block control
This commit enables the NETC block control node on the DART-MX95 SoM,
which is necessary for the NETC Ethernet ports to function.
> diff --git a/arch/arm64/boot/dts/freescale/imx95-var-dart.dtsi b/arch/arm64/boot/dts/freescale/imx95-var-dart.dtsi
> index a20fadacaa6d8..7c29082a40c5b 100644
> --- a/arch/arm64/boot/dts/freescale/imx95-var-dart.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx95-var-dart.dtsi
> @@ -176,6 +176,10 @@ &mu7 {
> status = "okay";
> };
>
> +&netc_blk_ctrl {
> + status = "okay";
> +};
> +
[Severity: High]
Does missing the netcmix_blk_ctrl dependency here risk a system hang on boot?
The nxp,imx95-netc-blk-ctrl driver maps the netcmix memory block and writes
to it unconditionally during probe. Accessing this region safely requires
the IMX95_CLK_BUSNETCMIX bus clock to be enabled.
Since that clock is exclusively requested and managed by the
nxp,imx95-netcmix-blk-ctrl clock controller driver, leaving netcmix_blk_ctrl
disabled means the kernel won't enable the required bus clock.
If the bootloader leaves the clock off, this will crash with an SError /
asynchronous external abort during netc_blk_ctrl_probe(). Even if the
bootloader leaves it on, clk_disable_unused() might turn it off later,
crashing the system on any subsequent accesses.
Should netcmix_blk_ctrl be enabled alongside netc_blk_ctrl to satisfy this
hardware dependency?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260703144922.231608-1-stefano.r@variscite.com?part=1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-03 15:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-03 14:49 [PATCH v1 1/1] arm64: dts: freescale: imx95-var-dart: enable NETC block control Stefano Radaelli
2026-07-03 15:00 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox