netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] net: qcom/emac: add shared mdio bus support
@ 2018-10-25  8:15 Wang Dongsheng
  2018-10-25  8:16 ` Wang, Dongsheng
  0 siblings, 1 reply; 3+ messages in thread
From: Wang Dongsheng @ 2018-10-25  8:15 UTC (permalink / raw)
  To: timur, andrew; +Cc: netdev, Wang Dongsheng, yu.zheng, f.fainelli

The emac include MDIO controller, and the motherboard has more than one
PHY connected to an MDIO bus. So share the shared mii_bus for others MAC
device that not has MDIO bus connected.

Based on ACPI, since "phy-handle" cannot directly point to a _DSD
sub-package, so we use "phy-handle" to point an internal MDIO device port.
The port describes the phy address.

Tested: QDF2400 (ACPI), buildin/insmod/rmmod

V3:
 - Add "phy-handle" support.
 - Remove all of DT changes.

V2:
 - Separate patch.

Wang Dongsheng (2):
  net: qcom/emac: split phy_config to mdio bus create and get phy device
  net: qcom/emac: add phy-handle support for ACPI

 drivers/net/ethernet/qualcomm/emac/emac-phy.c | 183 ++++++++++++++----
 1 file changed, 142 insertions(+), 41 deletions(-)

-- 
2.18.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH v3 0/2] net: qcom/emac: add shared mdio bus support
  2018-10-25  8:15 [PATCH v3 0/2] net: qcom/emac: add shared mdio bus support Wang Dongsheng
@ 2018-10-25  8:16 ` Wang, Dongsheng
  0 siblings, 0 replies; 3+ messages in thread
From: Wang, Dongsheng @ 2018-10-25  8:16 UTC (permalink / raw)
  To: timur, andrew; +Cc: netdev, Zheng, Joey, f.fainelli

Sorry, please ignore this patch.

Cheers,
-Dongsheng


> -----Original Message-----
> From: Wang, Dongsheng
> Sent: Thursday, October 25, 2018 4:15 PM
> To: timur@kernel.org; andrew@lunn.ch
> Cc: netdev@vger.kernel.org; Wang, Dongsheng
> <dongsheng.wang@hxt-semitech.com>; Zheng, Joey
> <yu.zheng@hxt-semitech.com>; f.fainelli@gmail.com
> Subject: [PATCH v3 0/2] net: qcom/emac: add shared mdio bus support
> 
> The emac include MDIO controller, and the motherboard has more than one
> PHY connected to an MDIO bus. So share the shared mii_bus for others MAC
> device that not has MDIO bus connected.
> 
> Based on ACPI, since "phy-handle" cannot directly point to a _DSD sub-package,
> so we use "phy-handle" to point an internal MDIO device port.
> The port describes the phy address.
> 
> Tested: QDF2400 (ACPI), buildin/insmod/rmmod
> 
> V3:
>  - Add "phy-handle" support.
>  - Remove all of DT changes.
> 
> V2:
>  - Separate patch.
> 
> Wang Dongsheng (2):
>   net: qcom/emac: split phy_config to mdio bus create and get phy device
>   net: qcom/emac: add phy-handle support for ACPI
> 
>  drivers/net/ethernet/qualcomm/emac/emac-phy.c | 183 ++++++++++++++----
>  1 file changed, 142 insertions(+), 41 deletions(-)
> 
> --
> 2.18.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v3 0/2] net: qcom/emac: add shared mdio bus support
  2018-09-20 13:42 [PATCH v2 2/4] dt-bindings: net: qcom: Add binding for shared mdio bus Timur Tabi
@ 2018-10-25 10:08 ` Wang Dongsheng
  0 siblings, 0 replies; 3+ messages in thread
From: Wang Dongsheng @ 2018-10-25 10:08 UTC (permalink / raw)
  To: timur, andrew; +Cc: Wang Dongsheng, yu.zheng, f.fainelli, netdev

The emac include MDIO controller, and the motherboard has more than one
PHY connected to an MDIO bus. So share the shared mii_bus for others MAC
device that not has MDIO bus connected.

Based on ACPI, since "phy-handle" cannot directly point to a _DSD
sub-package, so we use "phy-handle" to point an internal MDIO device port.
The port describes the phy address.

Tested: QDF2400 (ACPI), buildin/insmod/rmmod

V3:
 - Add "phy-handle" support.
 - Remove all of DT changes.

V2:
 - Separate patch.

Wang Dongsheng (2):
  net: qcom/emac: split phy_config to mdio bus create and get phy device
  net: qcom/emac: add phy-handle support for ACPI

 drivers/net/ethernet/qualcomm/emac/emac-phy.c | 183 ++++++++++++++----
 1 file changed, 142 insertions(+), 41 deletions(-)

-- 
2.18.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-25 18:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-25  8:15 [PATCH v3 0/2] net: qcom/emac: add shared mdio bus support Wang Dongsheng
2018-10-25  8:16 ` Wang, Dongsheng
  -- strict thread matches above, loose matches on Subject: below --
2018-09-20 13:42 [PATCH v2 2/4] dt-bindings: net: qcom: Add binding for shared mdio bus Timur Tabi
2018-10-25 10:08 ` [PATCH v3 0/2] net: qcom/emac: add shared mdio bus support Wang Dongsheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).