[PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet

João Paulo Gonçalves posted 1 patch 3 months, 2 weeks ago
arch/arm64/configs/defconfig | 4 ++++
1 file changed, 4 insertions(+)
[PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
Posted by João Paulo Gonçalves 3 months, 2 weeks ago
From: João Paulo Gonçalves <joao.goncalves@toradex.com>

Enable the necessary missing configs for the i.MX95 to boot and also
have Ethernet working:

* CONFIG_NXP_ENETC4 for the network controller driver
* CONFIG_NXP_NETC_BLK_CTRL for the NETC hardware domain controller
* CONFIG_PINCTRL_IMX_SCMI for the pinctrl driver
* CONFIG_CLK_IMX95_BLK_CTL for the shared hardware domain controller

Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com>
---
 arch/arm64/configs/defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index e3a2d37bd10423b028f59dc40d6e8ee1c610d6b8..787d3ae3f5afeac486a905e0943e7b0e1dcee3a9 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -354,8 +354,10 @@ CONFIG_FSL_FMAN=y
 CONFIG_FSL_DPAA_ETH=y
 CONFIG_FSL_DPAA2_ETH=y
 CONFIG_FSL_ENETC=y
+CONFIG_NXP_ENETC4=m
 CONFIG_FSL_ENETC_VF=y
 CONFIG_FSL_ENETC_QOS=y
+CONFIG_NXP_NETC_BLK_CTRL=m
 CONFIG_HIX5HD2_GMAC=y
 CONFIG_HNS_DSAF=y
 CONFIG_HNS_ENET=y
@@ -615,6 +617,7 @@ CONFIG_PINCTRL_IMX8DXL=y
 CONFIG_PINCTRL_IMX8ULP=y
 CONFIG_PINCTRL_IMX91=y
 CONFIG_PINCTRL_IMX93=y
+CONFIG_PINCTRL_IMX_SCMI=y
 CONFIG_PINCTRL_MSM=y
 CONFIG_PINCTRL_IPQ5018=y
 CONFIG_PINCTRL_IPQ5332=y
@@ -1349,6 +1352,7 @@ CONFIG_CLK_IMX8MQ=y
 CONFIG_CLK_IMX8QXP=y
 CONFIG_CLK_IMX8ULP=y
 CONFIG_CLK_IMX93=y
+CONFIG_CLK_IMX95_BLK_CTL=y
 CONFIG_TI_SCI_CLK=y
 CONFIG_COMMON_CLK_MT8192_AUDSYS=y
 CONFIG_COMMON_CLK_MT8192_CAMSYS=y

---
base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
change-id: 20251023-upstream-imx95-smarc-defconfig-8972db535918

Best regards,
-- 
João Paulo Gonçalves <joao.goncalves@toradex.com>

Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
Posted by Krzysztof Kozlowski 3 months, 2 weeks ago
On 23/10/2025 14:19, João Paulo Gonçalves wrote:
> From: João Paulo Gonçalves <joao.goncalves@toradex.com>
> 
> Enable the necessary missing configs for the i.MX95 to boot and also
> have Ethernet working:
> 
> * CONFIG_NXP_ENETC4 for the network controller driver
> * CONFIG_NXP_NETC_BLK_CTRL for the NETC hardware domain controller


These do not carry any IMX95 compatibles, so I have doubts you described
the issue correctly. You claim that SoC needs them, not the board.

> * CONFIG_PINCTRL_IMX_SCMI for the pinctrl driver> * CONFIG_CLK_IMX95_BLK_CTL for the shared hardware domain controller


BTW standard comment applies - explain which upstream boards have all these.

Best regards,
Krzysztof
Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
Posted by João Paulo Gonçalves 3 months, 2 weeks ago
Hi Krzysztof, 

On Thu, Oct 23, 2025 at 02:22:40PM +0200, Krzysztof Kozlowski wrote:
> On 23/10/2025 14:19, João Paulo Gonçalves wrote:
> > From: João Paulo Gonçalves <joao.goncalves@toradex.com>
> > 
> > Enable the necessary missing configs for the i.MX95 to boot and also
> > have Ethernet working:
> > 
> > * CONFIG_NXP_ENETC4 for the network controller driver
> > * CONFIG_NXP_NETC_BLK_CTRL for the NETC hardware domain controller
> 
> 
> These do not carry any IMX95 compatibles, so I have doubts you described
> the issue correctly. You claim that SoC needs them, not the board.
> 
> > * CONFIG_PINCTRL_IMX_SCMI for the pinctrl driver> * CONFIG_CLK_IMX95_BLK_CTL for the shared hardware domain controller
> 
> 
> BTW standard comment applies - explain which upstream boards have all these.

There are already some boards that need these configs, for example, the
NXP i.MX95 19x19 EVK. For booting, the only one needed is
CONFIG_PINCTRL_IMX_SCMI for the scmi_iomuxc pinctrl driver. Regarding
the other configs, they enable Ethernet and PCIe for now. All configs
are on imx95.dtsi.

I will prepare a v2 rephrasing the commit message.

Best Regards,
João Paulo Gonçalves