[PATCH v3 11/11] ARM: multi_v7_defconfig: Add MCP23S08 pinctrl support

Christophe Roullier posted 11 patches 1 year, 8 months ago
There is a newer version of this series
[PATCH v3 11/11] ARM: multi_v7_defconfig: Add MCP23S08 pinctrl support
Posted by Christophe Roullier 1 year, 8 months ago
Need to enable MCP23S08 I/O expanders to manage Ethernet phy
reset in STM32MP135F-DK board
STMMAC driver defer is not silent, need to put this config in
built-in to avoid huge of Ethernet messages

Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.25.1
Re: [PATCH v3 11/11] ARM: multi_v7_defconfig: Add MCP23S08 pinctrl support
Posted by Marek Vasut 1 year, 8 months ago
On 6/3/24 11:27 AM, Christophe Roullier wrote:
> Need to enable MCP23S08 I/O expanders to manage Ethernet phy

PHY in capitals.

> reset in STM32MP135F-DK board
> STMMAC driver defer is not silent, need to put this config in
> built-in to avoid huge of Ethernet messages

This second sentence is not correct, you are not enabling this GPIO 
controller driver to silence a warning, you are enabling this driver to 
let the PHY driver release the PHY from reset.