* [PATCH] arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
@ 2026-11-27 13:52 Daniel Baluta
2026-11-27 13:56 ` sashiko-bot
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Baluta @ 2026-11-27 13:52 UTC (permalink / raw)
To: Frank.Li
Cc: robh, krzk+dt, conor+dt, s.hauer, kernel, festevam, devicetree,
imx, linux-arm-kernel, Fugang Duan, Daniel Baluta
From: Fugang Duan <fugang.duan@nxp.com>
The i.MX8QM ENET0 pads used by fec1 support 1.8V or 3.3V operation,
and their compensation control pad (COMP_CTL_GPIO_1V8_3V3_ENET_ENETB)
must match the I/O supply. For 1.8V or 3.3V the datasheet requires
PSW_OVR = 0 and COMP = 0b000.
The fec1 pinctrl group never configures this pad, so its state depends
on the boot firmware. fec2 already sets the equivalent ENETA pad to
0x000014a0, which programs COMP = 0b000 with no override bits set.
On the MEK, the ENET0 pads are supplied from VCC_ENET0_1V8, so use the
same value for fec1 to configure the pad group explicitly.
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
---
arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
index baf4dbb5cab08..613130cbc8474 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
+++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
@@ -1075,6 +1075,7 @@ IMX8QM_ESAI0_TX5_RX0_AUD_ESAI0_TX5_RX0 0xc6000040
pinctrl_fec1: fec1grp {
fsl,pins = <
+ IMX8QM_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB_PAD 0x000014a0
IMX8QM_ENET0_MDC_CONN_ENET0_MDC 0x06000020
IMX8QM_ENET0_MDIO_CONN_ENET0_MDIO 0x06000020
IMX8QM_ENET0_RGMII_TX_CTL_CONN_ENET0_RGMII_TX_CTL 0x06000020
--
2.45.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
2026-11-27 13:52 [PATCH] arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1 Daniel Baluta
@ 2026-11-27 13:56 ` sashiko-bot
2026-11-27 15:05 ` Daniel Baluta
0 siblings, 1 reply; 4+ messages in thread
From: sashiko-bot @ 2026-11-27 13:56 UTC (permalink / raw)
To: Daniel Baluta; +Cc: devicetree, imx, robh, conor+dt, Frank.Li
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] arm64: dts: imx8qm-mek: missing Fixes trailer for fec1 pad
compensation fix
--
commit 16a1be06255fa85636ee660e513ea61881c625f2
Author: Fugang Duan <fugang.duan@nxp.com>
> arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
>
> The i.MX8QM ENET0 pads used by fec1 support 1.8V or 3.3V operation,
> and their compensation control pad (COMP_CTL_GPIO_1V8_3V3_ENET_ENETB)
> must match the I/O supply. For 1.8V or 3.3V the datasheet requires
> PSW_OVR = 0 and COMP = 0b000.
>
> The fec1 pinctrl group never configures this pad, so its state depends
> on the boot firmware. fec2 already sets the equivalent ENETA pad to
> 0x000014a0, which programs COMP = 0b000 with no override bits set.
>
> On the MEK, the ENET0 pads are supplied from VCC_ENET0_1V8, so use the
> same value for fec1 to configure the pad group explicitly.
>
> Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
[Severity: Low]
This fixes a missing pad configuration in pinctrl_fec1. Should this
include:
Fixes: 307fd14d4b14 ("arm64: dts: imx: add imx8qm mek support")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261127135237.2153934-1-daniel.baluta@nxp.com?part=1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
2026-11-27 13:56 ` sashiko-bot
@ 2026-11-27 15:05 ` Daniel Baluta
2026-11-27 15:12 ` Frank Li
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Baluta @ 2026-11-27 15:05 UTC (permalink / raw)
To: sashiko-reviews, Daniel Baluta; +Cc: devicetree, imx, robh, conor+dt, Frank.Li
On 11/27/26 15:56, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue to consider:
> - [Low] arm64: dts: imx8qm-mek: missing Fixes trailer for fec1 pad
> compensation fix
> --
Frank should we really add a fixes tag to this? fec1 works today because
we get a working pad configuration from uboot and it was never a problem.
This patch only makes the configuration explicit and aligns it with fec2.
>
> commit 16a1be06255fa85636ee660e513ea61881c625f2
> Author: Fugang Duan <fugang.duan@nxp.com>
>
>> arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
>>
>> The i.MX8QM ENET0 pads used by fec1 support 1.8V or 3.3V operation,
>> and their compensation control pad (COMP_CTL_GPIO_1V8_3V3_ENET_ENETB)
>> must match the I/O supply. For 1.8V or 3.3V the datasheet requires
>> PSW_OVR = 0 and COMP = 0b000.
>>
>> The fec1 pinctrl group never configures this pad, so its state depends
>> on the boot firmware. fec2 already sets the equivalent ENETA pad to
>> 0x000014a0, which programs COMP = 0b000 with no override bits set.
>>
>> On the MEK, the ENET0 pads are supplied from VCC_ENET0_1V8, so use the
>> same value for fec1 to configure the pad group explicitly.
>>
>> Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
>> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
>
> [Severity: Low]
> This fixes a missing pad configuration in pinctrl_fec1. Should this
> include:
>
> Fixes: 307fd14d4b14 ("arm64: dts: imx: add imx8qm mek support")
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
2026-11-27 15:05 ` Daniel Baluta
@ 2026-11-27 15:12 ` Frank Li
0 siblings, 0 replies; 4+ messages in thread
From: Frank Li @ 2026-11-27 15:12 UTC (permalink / raw)
To: Daniel Baluta
Cc: sashiko-reviews, Daniel Baluta, devicetree, imx, robh, conor+dt,
Frank.Li
On Fri, Nov 27, 2026 at 05:05:55PM +0200, Daniel Baluta wrote:
> On 11/27/26 15:56, sashiko-bot@kernel.org wrote:
> > Thank you for your contribution! Sashiko AI review found 1 potential
> > issue to consider:
> > - [Low] arm64: dts: imx8qm-mek: missing Fixes trailer for fec1 pad
> > compensation fix
> > --
>
> Frank should we really add a fixes tag to this? fec1 works today because
> we get a working pad configuration from uboot and it was never a problem.
>
> This patch only makes the configuration explicit and aligns it with fec2.
Needn't fix tag for this case.
Frank
>
> >
> > commit 16a1be06255fa85636ee660e513ea61881c625f2
> > Author: Fugang Duan <fugang.duan@nxp.com>
> >
> >> arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1
> >>
> >> The i.MX8QM ENET0 pads used by fec1 support 1.8V or 3.3V operation,
> >> and their compensation control pad (COMP_CTL_GPIO_1V8_3V3_ENET_ENETB)
> >> must match the I/O supply. For 1.8V or 3.3V the datasheet requires
> >> PSW_OVR = 0 and COMP = 0b000.
> >>
> >> The fec1 pinctrl group never configures this pad, so its state depends
> >> on the boot firmware. fec2 already sets the equivalent ENETA pad to
> >> 0x000014a0, which programs COMP = 0b000 with no override bits set.
> >>
> >> On the MEK, the ENET0 pads are supplied from VCC_ENET0_1V8, so use the
> >> same value for fec1 to configure the pad group explicitly.
> >>
> >> Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
> >> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
> >
> > [Severity: Low]
> > This fixes a missing pad configuration in pinctrl_fec1. Should this
> > include:
> >
> > Fixes: 307fd14d4b14 ("arm64: dts: imx: add imx8qm mek support")
> >
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-27 15:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 13:52 [PATCH] arm64: dts: imx8qm-mek: configure ENET0 pad compensation for fec1 Daniel Baluta
2026-11-27 13:56 ` sashiko-bot
2026-11-27 15:05 ` Daniel Baluta
2026-11-27 15:12 ` Frank Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).