Re: [PATCH 2/2] net: mdio: Add BCM6368 MDIO mux bus controller

2021-03-17 Thread Florian Fainelli
On 3/17/2021 10:49 AM, Andrew Lunn wrote: >> BCM6368 (and newer) SoCs have an integrated ethernet switch controller with >> dedicated internal phys, but it also supports connecting to external phys >> not integrated in the internal switch. >> Ports 0-3 are internal, ports 4-7 are external and

Re: [PATCH 2/2] net: mdio: Add BCM6368 MDIO mux bus controller

2021-03-17 Thread Andrew Lunn
> BCM6368 (and newer) SoCs have an integrated ethernet switch controller with > dedicated internal phys, but it also supports connecting to external phys not > integrated in the internal switch. > Ports 0-3 are internal, ports 4-7 are external and can be connected to > external switches or phys

Re: [PATCH 2/2] net: mdio: Add BCM6368 MDIO mux bus controller

2021-03-15 Thread Álvaro Fernández Rojas
Hi Andrew, > El 8 mar 2021, a las 22:00, Andrew Lunn escribió: > >> +static int bcm6368_mdiomux_probe(struct platform_device *pdev) >> +{ >> +struct bcm6368_mdiomux_desc *md; >> +struct mii_bus *bus; >> +struct resource *res; >> +int rc; >> + >> +md = devm_kzalloc(&pdev->dev,

Re: [PATCH 2/2] net: mdio: Add BCM6368 MDIO mux bus controller

2021-03-15 Thread Álvaro Fernández Rojas
Hi Jakub, > El 8 mar 2021, a las 20:57, Jakub Kicinski escribió: > > On Mon, 8 Mar 2021 19:41:02 +0100 Álvaro Fernández Rojas wrote: >> This controller is present on BCM6318, BCM6328, BCM6362, BCM6368 and BCM63268 >> SoCs. >> >> Signed-off-by: Álvaro Fernández Rojas > > make[2]: *** Deleting

Re: [PATCH 2/2] net: mdio: Add BCM6368 MDIO mux bus controller

2021-03-08 Thread Andrew Lunn
> +static int bcm6368_mdiomux_probe(struct platform_device *pdev) > +{ > + struct bcm6368_mdiomux_desc *md; > + struct mii_bus *bus; > + struct resource *res; > + int rc; > + > + md = devm_kzalloc(&pdev->dev, sizeof(*md), GFP_KERNEL); > + if (!md) > + return -ENO

Re: [PATCH 2/2] net: mdio: Add BCM6368 MDIO mux bus controller

2021-03-08 Thread Jakub Kicinski
On Mon, 8 Mar 2021 19:41:02 +0100 Álvaro Fernández Rojas wrote: > This controller is present on BCM6318, BCM6328, BCM6362, BCM6368 and BCM63268 > SoCs. > > Signed-off-by: Álvaro Fernández Rojas make[2]: *** Deleting file 'Module.symvers' ERROR: modpost: missing MODULE_LICENSE() in drivers/net/m

[PATCH 2/2] net: mdio: Add BCM6368 MDIO mux bus controller

2021-03-08 Thread Álvaro Fernández Rojas
This controller is present on BCM6318, BCM6328, BCM6362, BCM6368 and BCM63268 SoCs. Signed-off-by: Álvaro Fernández Rojas --- drivers/net/mdio/Kconfig| 11 ++ drivers/net/mdio/Makefile | 1 + drivers/net/mdio/mdio-mux-bcm6368.c | 179 3 files