|
Takashi Iwai |
cb142b |
From a3542b0ccd58f9fd42f34afa9daea435279a7c1c Mon Sep 17 00:00:00 2001
|
|
Takashi Iwai |
cb142b |
From: Samuel Holland <samuel@sholland.org>
|
|
Takashi Iwai |
cb142b |
Date: Sat, 31 Dec 2022 16:05:46 -0600
|
|
Takashi Iwai |
cb142b |
Subject: [PATCH] dt-bindings: net: sun8i-emac: Add phy-supply property
|
|
Takashi Iwai |
cb142b |
Git-commit: a3542b0ccd58f9fd42f34afa9daea435279a7c1c
|
|
Takashi Iwai |
cb142b |
Patch-mainline: v6.2-rc3
|
|
Takashi Iwai |
cb142b |
References: git-fixes
|
|
Takashi Iwai |
cb142b |
|
|
Takashi Iwai |
cb142b |
This property has always been supported by the Linux driver; see
|
|
Takashi Iwai |
cb142b |
commit 9f93ac8d4085 ("net-next: stmmac: Add dwmac-sun8i"). In fact, the
|
|
Takashi Iwai |
cb142b |
original driver submission includes the phy-supply code but no mention
|
|
Takashi Iwai |
cb142b |
of it in the binding, so the omission appears to be accidental. In
|
|
Takashi Iwai |
cb142b |
addition, the property is documented in the binding for the previous
|
|
Takashi Iwai |
cb142b |
hardware generation, allwinner,sun7i-a20-gmac.
|
|
Takashi Iwai |
cb142b |
|
|
Takashi Iwai |
cb142b |
Document phy-supply in the binding to fix devicetree validation for the
|
|
Takashi Iwai |
cb142b |
25+ boards that already use this property.
|
|
Takashi Iwai |
cb142b |
|
|
Takashi Iwai |
cb142b |
Fixes: 0441bde003be ("dt-bindings: net-next: Add DT bindings documentation for Allwinner dwmac-sun8i")
|
|
Takashi Iwai |
cb142b |
Acked-by: Rob Herring <robh@kernel.org>
|
|
Takashi Iwai |
cb142b |
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
|
|
Takashi Iwai |
cb142b |
Signed-off-by: Samuel Holland <samuel@sholland.org>
|
|
Takashi Iwai |
cb142b |
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
Takashi Iwai |
cb142b |
Acked-by: Takashi Iwai <tiwai@suse.de>
|
|
Takashi Iwai |
cb142b |
|
|
Takashi Iwai |
cb142b |
---
|
|
Takashi Iwai |
cb142b |
.../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml | 3 +++
|
|
Takashi Iwai |
cb142b |
1 file changed, 3 insertions(+)
|
|
Takashi Iwai |
cb142b |
|
|
Takashi Iwai |
cb142b |
diff --git a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
|
|
Takashi Iwai |
cb142b |
index 1432fda3b603..47bc2057e629 100644
|
|
Takashi Iwai |
cb142b |
--- a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
|
|
Takashi Iwai |
cb142b |
+++ b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
|
|
Takashi Iwai |
cb142b |
@@ -40,6 +40,9 @@ properties:
|
|
Takashi Iwai |
cb142b |
clock-names:
|
|
Takashi Iwai |
cb142b |
const: stmmaceth
|
|
Takashi Iwai |
cb142b |
|
|
Takashi Iwai |
cb142b |
+ phy-supply:
|
|
Takashi Iwai |
cb142b |
+ description: PHY regulator
|
|
Takashi Iwai |
cb142b |
+
|
|
Takashi Iwai |
cb142b |
syscon:
|
|
Takashi Iwai |
cb142b |
$ref: /schemas/types.yaml#/definitions/phandle
|
|
Takashi Iwai |
cb142b |
description:
|
|
Takashi Iwai |
cb142b |
--
|
|
Takashi Iwai |
cb142b |
2.35.3
|
|
Takashi Iwai |
cb142b |
|