Re: [net-next PATCH v7 03/10] net: phy: add devm/of_phy_package_join helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 06, 2024 at 06:31:06PM +0100, Christian Marangi wrote:
> Add devm/of_phy_package_join helper to join PHYs in a PHY package. These
> are variant of the manual phy_package_join with the difference that
> these will use DT nodes to derive the base_addr instead of manually
> passing an hardcoded value.
> 
> An additional value is added in phy_package_shared, "np" to reference
> the PHY package node pointer in specific PHY driver probe_once and
> config_init_once functions to make use of additional specific properties
> defined in the PHY package node in DT.
> 
> The np value is filled only with of_phy_package_join if a valid PHY
> package node is found. A valid PHY package node must have the node name
> set to "ethernet-phy-package".
> 
> Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

    Andrew




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux