On 3/6/24 09:24, Catalin Popescu wrote:
Add support for PHY WOL capability to dwmac-imx MAC driver.
Signed-off-by: Catalin Popescu <catalin.popescu@xxxxxxxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
index 4c01cae7c93a..6cf373772eb1 100644
--- a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
+++ b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
@@ -71,6 +71,12 @@ properties:
description:
To select RMII reference clock from external.
+ nxp,phy-wol:
+ $ref: /schemas/types.yaml#/definitions/flag
+ description:
+ If present, indicates that PHY supports WOL(Wake-On-LAN), and PHY WOL will be enabled.
+ Otherwise, MAC WOL is preferred.
This is encoding a policy in Device Tree, which is not acceptable, see
my comment about your second patch.
pw-bot: cr
--
Florian