Re: [RFC PATCH 0/3] acpi: Add acpi mdio support code

2018-11-12 Thread Wang, Dongsheng
Hello Rafael, On 2018/11/13 1:19, Andrew Lunn wrote: >>> I'm just trying to ensure whatever is defined is flexible enough that >>> we really can later support everything which DT does. We have PHYs on >>> MDIO busses, inside switches, which are on MDIO busses, which are >>> inside Ethernet interfa

Re: [RFC PATCH 0/3] acpi: Add acpi mdio support code

2018-11-12 Thread Andrew Lunn
> > I'm just trying to ensure whatever is defined is flexible enough that > > we really can later support everything which DT does. We have PHYs on > > MDIO busses, inside switches, which are on MDIO busses, which are > > inside Ethernet interfaces, etc. > > I think it can be satisfied. See the ta

Re: [RFC PATCH 0/3] acpi: Add acpi mdio support code

2018-11-11 Thread Wang, Dongsheng
On 2018/11/9 7:23, Andrew Lunn wrote: > I'm just trying to ensure whatever is defined is flexible enough that > we really can later support everything which DT does. We have PHYs on > MDIO busses, inside switches, which are on MDIO busses, which are > inside Ethernet interfaces, etc. > > An MDIO bu

Re: [RFC PATCH 0/3] acpi: Add acpi mdio support code

2018-11-10 Thread Wang, Dongsheng
Hi Andrew, On 2018/11/9 7:23, Andrew Lunn wrote: > On Thu, Nov 08, 2018 at 03:21:29PM +0800, Wang Dongsheng wrote: >> Originally I just push "phy-handle" support for ACPI on the QCOM QDF2400 >> platform. After some discussion and following Andrew's advice, I send >> out with a generic version of A

Re: [RFC PATCH 0/3] acpi: Add acpi mdio support code

2018-11-08 Thread Timur Tabi
On 11/8/18 5:23 PM, Andrew Lunn wrote: I don't know much about ACPI. I do know DT. MDIO busses can have multiple PHYs on them. Is the following valid to list two PHYs? Device (MDIO) { Name (_DSD, Package () { ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),

Re: [RFC PATCH 0/3] acpi: Add acpi mdio support code

2018-11-08 Thread Andrew Lunn
On Thu, Nov 08, 2018 at 03:21:29PM +0800, Wang Dongsheng wrote: > Originally I just push "phy-handle" support for ACPI on the QCOM QDF2400 > platform. After some discussion and following Andrew's advice, I send > out with a generic version of ACPI. > > Current there is no clear documentation about

[RFC PATCH 0/3] acpi: Add acpi mdio support code

2018-11-07 Thread Wang Dongsheng
Originally I just push "phy-handle" support for ACPI on the QCOM QDF2400 platform. After some discussion and following Andrew's advice, I send out with a generic version of ACPI. Current there is no clear documentation about MDIO/PHY for ACPI, so when I reading some documents about ACPI [1], I thi