Thread (39 messages) 39 messages, 5 authors, 2018-11-13

Re: [PATCH v3 2/2] net: qcom/emac: add phy-handle support for ACPI

From: Wang, Dongsheng <hidden>
Date: 2018-10-26 02:18:57
Also in: linux-acpi

On 2018/10/26 3:24, Andrew Lunn wrote:
On Thu, Oct 25, 2018 at 06:09:15PM +0800, Wang Dongsheng wrote:
quoted
Use "phy-handle" to porint an internal MDIO device port.
Hi Dongsheng

You are basically defining how all future ACPI based MAC drivers get
access to their PHY. This needs to become part of the ACPI standard,
etc.

This code should not be hidden away in the emac driver. It needs to be
placed somewhere public so other drivers can use it. And it needs good
documentation, including an example of what needs to go into the ACPI
tables, etc.
Hi Andrew

I saw AppliedMicro(apm) xgene has used "phy-handle" for ACPI method, so
I guess "phy-handle" has become part of the ACPI standard. But I cannot
make sure.
I tried to confirm the property is defined in the document(Like DT
binding). However, I did not find any documentation on the description
property definition on the UEFI/ACPICA website.
But when I was reading Documentation/acpi/DSD-properties-rules.txt, my
understanding is we should try to conform to DT bindings. So maybe ACPI
doesn't have such a document, just DT bindings.

Cheers,
Dongsheng
Thanks
	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help