[U-Boot] [PATCH 2/5] net: phy: Add support for Marvell M88E1512

Stefan Roese sr at denx.de
Fri Dec 9 13:15:44 CET 2016


On 09.12.2016 11:40, Phil Edworthy wrote:
> Signed-off-by: Phil Edworthy <phil.edworthy at renesas.com>
> ---
>  drivers/net/phy/marvell.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
> index 06029c0..a7ea435 100644
> --- a/drivers/net/phy/marvell.c
> +++ b/drivers/net/phy/marvell.c
> @@ -560,6 +560,16 @@ static struct phy_driver M88E1510_driver = {
>  	.shutdown = &genphy_shutdown,
>  };
>
> +static struct phy_driver M88E1512_driver = {
> +	.name = "Marvell 88E1512",
> +	.uid = 0x01410dd4,
> +	.mask = 0xfffffff,
> +	.features = PHY_GBIT_FEATURES,
> +	.config = &m88e1518_config,
> +	.startup = &m88e1011s_startup,
> +	.shutdown = &genphy_shutdown,
> +};
> +
>  static struct phy_driver M88E1518_driver = {
>  	.name = "Marvell 88E1518",
>  	.uid = 0x1410dd1,
> @@ -591,6 +601,7 @@ int phy_marvell_init(void)
>  	phy_register(&M88E1111S_driver);
>  	phy_register(&M88E1011S_driver);
>  	phy_register(&M88E1510_driver);
> +	phy_register(&M88E1512_driver);
>  	phy_register(&M88E1518_driver);

Do you need some special handling for the M88E1512 or is it identical
to the 1518 handling? If its identical, why do we need a new entry
for this PHY?

Thanks,
Stefan


More information about the U-Boot mailing list