Message ID | 20240604143502.154463-12-christophe.roullier@foss.st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Series to deliver Ethernet for STM32MP13 | expand |
On 6/4/24 4:35 PM, Christophe Roullier wrote: > Need to enable MCP23S08 I/O expanders to manage Ethernet PHY > reset in STM32MP135F-DK board. > Put this config in built-in like STMMAC to avoid huge of Ethernet > messages during boot (deferred) You're not avoiding any error/defer/messages here, you simply need to enable the MCP23S08 GPIO controller driver, so the kernel can use the GPIO provided by that driver instance to release the ethernet PHY from reset on STM32MP135F-DK, that's all.
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 86bf057ac3663..9758f3d41ad70 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -469,6 +469,7 @@ CONFIG_SPI_XILINX=y CONFIG_SPI_SPIDEV=y CONFIG_SPMI=y CONFIG_PINCTRL_AS3722=y +CONFIG_PINCTRL_MCP23S08=y CONFIG_PINCTRL_MICROCHIP_SGPIO=y CONFIG_PINCTRL_OCELOT=y CONFIG_PINCTRL_PALMAS=y
Need to enable MCP23S08 I/O expanders to manage Ethernet PHY reset in STM32MP135F-DK board. Put this config in built-in like STMMAC to avoid huge of Ethernet messages during boot (deferred) Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+)