[PATCH v4 1/2] net: ti: am65-cpsw-nuss: Enforce pinctrl state on the MDIO child node

Tom Rini trini at konsulko.com
Fri Jul 28 18:49:55 CEST 2023


On Mon, Jul 24, 2023 at 03:57:30PM +0200, Maxime Ripard wrote:

> The binding represents the MDIO controller as a child device tree
> node of the MAC device tree node.
> 
> The U-Boot driver mostly ignores that child device tree node and just
> hardcodes the resources it uses to support both the MAC and MDIO in a
> single driver.
> 
> However, some resources like pinctrl muxing states are thus ignored.
> This has been a problem with some device trees that will put some
> pinctrl states on the MDIO device tree node, like the SK-AM62 Device
> Tree does.
> 
> Let's rework the driver a bit to create a dummy MDIO driver that we will
> then get during our initialization to force the core to select the right
> muxing.
> 
> Signed-off-by: Maxime Ripard <mripard at kernel.org>
> Reviewed-by: Siddharth Vadapalli <s-vadapalli at ti.com>
> Acked-by: Roger Quadros <rogerq at kernel.org>
> Acked-by: Nishanth Menon <nm at ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230728/ddbbfd85/attachment.sig>


More information about the U-Boot mailing list