Message ID | 20240311141106.3200743-1-niklas.soderlund+renesas@ragnatech.se |
---|---|
Headers | show |
Series | ravb: Support describing the MDIO bus | expand |
On Mon, 11 Mar 2024 15:11:04 +0100 Niklas Söderlund wrote: > This series adds support to the binding and driver of the Renesas > Ethernet AVB to described the MDIO bus. Currently the driver uses the OF > node of the device itself when registering the MDIO bus. This forces any > MDIO bus properties the MDIO core should react on to be set on the > device OF node. This is confusing and non of the MDIO bus properties are > described in the Ethernet AVB bindings. ## Form letter - net-next-closed The merge window for v6.9 has begun and we have already posted our pull request. Therefore net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only. Please repost when net-next reopens after March 25th. RFC patches sent for review only are obviously welcome at any time. See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle
On Mon, Mar 11, 2024 at 03:11:06PM +0100, Niklas Söderlund wrote: > The driver used the DT node of the device itself when registering the > MDIO bus. While this works, it creates a problem: it forces any MDIO bus > properties to also be set on the devices DT node. This mixes the > properties of two distinctly different things and is confusing. > > This change adds support for an optional mdio node to be defined as a > child to the device DT node. The child node can then be used to describe > MDIO bus properties that the MDIO core can act on when registering the > bus. > > If no mdio child node is found the driver fallback to the old behavior > and register the MDIO bus using the device DT node. This change is > backward compatible with old bindings in use. > > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> > Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew