[PATCH] dt-bindings: phy: Delete old 'phy-bindings.txt' bindings file
Ioana Ciornei
ioana.ciornei at nxp.com
Thu Nov 19 01:24:29 PST 2026
The generic PHY provider and consumer properties ('#phy-cells',
'phy-supply', 'phys' and 'phy-names') are already described by the
phy-provider.yaml and phy-consumer.yaml schemas in the dt-schema
repository, which are applied to all nodes. The old free-form
Documentation/devicetree/bindings/phy/phy-bindings.txt file therefore
only duplicates them.
Delete the file and remove or update the dangling references to it in
the remaining binding documents and in the PHY driver-api documentation.
Signed-off-by: Ioana Ciornei <ioana.ciornei at nxp.com>
---
.../phy/nvidia,tegra124-xusb-padctl.yaml | 2 +-
.../phy/nvidia,tegra186-xusb-padctl.yaml | 2 +-
.../phy/nvidia,tegra194-xusb-padctl.yaml | 2 +-
.../phy/nvidia,tegra210-xusb-padctl.yaml | 2 +-
.../devicetree/bindings/phy/phy-bindings.txt | 72 -------------------
.../devicetree/bindings/phy/phy-miphy28lp.txt | 2 +-
.../bindings/phy/renesas,usb3-phy.yaml | 1 -
.../bindings/phy/rockchip,inno-usb2phy.yaml | 2 -
.../pinctrl/nvidia,tegra124-xusb-padctl.txt | 3 +-
.../bindings/usb/nvidia,tegra-xudc.yaml | 1 -
.../bindings/usb/ti,keystone-dwc3.yaml | 1 -
Documentation/driver-api/phy/phy.rst | 4 +-
.../translations/zh_CN/driver-api/phy/phy.rst | 4 +-
13 files changed, 12 insertions(+), 86 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/phy/phy-bindings.txt
diff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.yaml b/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.yaml
index 33b41b6b2fd5..aed7176d1d5d 100644
--- a/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.yaml
+++ b/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.yaml
@@ -30,7 +30,7 @@ description: |
Pads will be represented as children of the top-level XUSB pad controller
device tree node. Each lane exposed by the pad will be represented by its
own subnode and can be referenced by users of the lane using the standard
- PHY bindings, as described by the phy-bindings.txt file in this directory.
+ PHY bindings.
The Tegra hardware documentation refers to the connection between the XUSB
pad controller and the XUSB controller as "ports". This is confusing since
diff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra186-xusb-padctl.yaml b/Documentation/devicetree/bindings/phy/nvidia,tegra186-xusb-padctl.yaml
index 8b1d5a8529e3..fa9bb1232dfc 100644
--- a/Documentation/devicetree/bindings/phy/nvidia,tegra186-xusb-padctl.yaml
+++ b/Documentation/devicetree/bindings/phy/nvidia,tegra186-xusb-padctl.yaml
@@ -30,7 +30,7 @@ description: |
Pads will be represented as children of the top-level XUSB pad controller
device tree node. Each lane exposed by the pad will be represented by its
own subnode and can be referenced by users of the lane using the standard
- PHY bindings, as described by the phy-bindings.txt file in this directory.
+ PHY bindings.
The Tegra hardware documentation refers to the connection between the XUSB
pad controller and the XUSB controller as "ports". This is confusing since
diff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra194-xusb-padctl.yaml b/Documentation/devicetree/bindings/phy/nvidia,tegra194-xusb-padctl.yaml
index fbafe8eb150b..7cdccfad3872 100644
--- a/Documentation/devicetree/bindings/phy/nvidia,tegra194-xusb-padctl.yaml
+++ b/Documentation/devicetree/bindings/phy/nvidia,tegra194-xusb-padctl.yaml
@@ -30,7 +30,7 @@ description: |
Pads will be represented as children of the top-level XUSB pad controller
device tree node. Each lane exposed by the pad will be represented by its
own subnode and can be referenced by users of the lane using the standard
- PHY bindings, as described by the phy-bindings.txt file in this directory.
+ PHY bindings.
The Tegra hardware documentation refers to the connection between the XUSB
pad controller and the XUSB controller as "ports". This is confusing since
diff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra210-xusb-padctl.yaml b/Documentation/devicetree/bindings/phy/nvidia,tegra210-xusb-padctl.yaml
index e9237c58ce45..6b84d3e7fc5f 100644
--- a/Documentation/devicetree/bindings/phy/nvidia,tegra210-xusb-padctl.yaml
+++ b/Documentation/devicetree/bindings/phy/nvidia,tegra210-xusb-padctl.yaml
@@ -30,7 +30,7 @@ description: |
Pads will be represented as children of the top-level XUSB pad controller
device tree node. Each lane exposed by the pad will be represented by its
own subnode and can be referenced by users of the lane using the standard
- PHY bindings, as described by the phy-bindings.txt file in this directory.
+ PHY bindings.
The Tegra hardware documentation refers to the connection between the XUSB
pad controller and the XUSB controller as "ports". This is confusing since
diff --git a/Documentation/devicetree/bindings/phy/phy-bindings.txt b/Documentation/devicetree/bindings/phy/phy-bindings.txt
deleted file mode 100644
index c4eb38902533..000000000000
--- a/Documentation/devicetree/bindings/phy/phy-bindings.txt
+++ /dev/null
@@ -1,72 +0,0 @@
-This document explains only the device tree data binding. For general
-information about PHY subsystem refer to Documentation/driver-api/phy/phy.rst
-
-PHY device node
-===============
-
-Required Properties:
-#phy-cells: Number of cells in a PHY specifier; The meaning of all those
- cells is defined by the binding for the phy node. The PHY
- provider can use the values in cells to find the appropriate
- PHY.
-
-Optional Properties:
-phy-supply: Phandle to a regulator that provides power to the PHY. This
- regulator will be managed during the PHY power on/off sequence.
-
-For example:
-
-phys: phy {
- compatible = "xxx";
- reg = <...>;
- .
- .
- #phy-cells = <1>;
- .
- .
-};
-
-That node describes an IP block (PHY provider) that implements 2 different PHYs.
-In order to differentiate between these 2 PHYs, an additional specifier should be
-given while trying to get a reference to it.
-
-PHY user node
-=============
-
-Required Properties:
-phys : the phandle for the PHY device (used by the PHY subsystem; not to be
- confused with the Ethernet specific 'phy' and 'phy-handle' properties,
- see Documentation/devicetree/bindings/net/ethernet.txt for these)
-phy-names : the names of the PHY corresponding to the PHYs present in the
- *phys* phandle
-
-Example 1:
-usb1: usb_otg_ss at xxx {
- compatible = "xxx";
- reg = <xxx>;
- .
- .
- phys = <&usb2_phy>, <&usb3_phy>;
- phy-names = "usb2phy", "usb3phy";
- .
- .
-};
-
-This node represents a controller that uses two PHYs, one for usb2 and one for
-usb3.
-
-Example 2:
-usb2: usb_otg_ss at xxx {
- compatible = "xxx";
- reg = <xxx>;
- .
- .
- phys = <&phys 1>;
- phy-names = "usbphy";
- .
- .
-};
-
-This node represents a controller that uses one of the PHYs of the PHY provider
-device defined previously. Note that the phy handle has an additional specifier
-"1" to differentiate between the two PHYs.
diff --git a/Documentation/devicetree/bindings/phy/phy-miphy28lp.txt b/Documentation/devicetree/bindings/phy/phy-miphy28lp.txt
index 89caa885d08c..02334039bb38 100644
--- a/Documentation/devicetree/bindings/phy/phy-miphy28lp.txt
+++ b/Documentation/devicetree/bindings/phy/phy-miphy28lp.txt
@@ -103,7 +103,7 @@ Specifying phy control of devices
Device nodes should specify the configuration required in their "phys"
property, containing a phandle to the miphy device node and an index
-specifying which configuration to use, as described in phy-bindings.txt.
+specifying which configuration to use.
example:
sata0: sata at 9b20000 {
diff --git a/Documentation/devicetree/bindings/phy/renesas,usb3-phy.yaml b/Documentation/devicetree/bindings/phy/renesas,usb3-phy.yaml
index fe57c5373d18..90cb1b2e6741 100644
--- a/Documentation/devicetree/bindings/phy/renesas,usb3-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/renesas,usb3-phy.yaml
@@ -39,7 +39,6 @@ properties:
- const: usb_extal # The usb2's external clock
'#phy-cells':
- # see phy-bindings.txt in the same directory
const: 0
power-domains:
diff --git a/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml
index f50fc69fbbe4..6576e3dd0dfc 100644
--- a/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml
+++ b/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml
@@ -106,7 +106,6 @@ properties:
phy-supply:
description:
Phandle to a regulator that provides power to VBUS.
- See ./phy-bindings.txt for details.
required:
- "#phy-cells"
@@ -135,7 +134,6 @@ properties:
phy-supply:
description:
Phandle to a regulator that provides power to VBUS.
- See ./phy-bindings.txt for details.
required:
- "#phy-cells"
diff --git a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt
index 02e971c39d81..9722d6c968f8 100644
--- a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt
+++ b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt
@@ -14,8 +14,7 @@ associated PHY that must be powered up before the pad can be used.
This document defines the device-specific binding for the XUSB pad controller.
Refer to pinctrl-bindings.txt in this directory for generic information about
-pin controller device tree bindings and ../phy/phy-bindings.txt for details on
-how to describe and reference PHYs in device trees.
+pin controller device tree bindings.
Required properties:
--------------------
diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
index c6e661e8915c..eacf5759bd71 100644
--- a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
+++ b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
@@ -94,7 +94,6 @@ properties:
maxItems: 2
description:
Must contain an entry for each entry in phy-names.
- See ../phy/phy-bindings.txt for details.
phy-names:
minItems: 1
diff --git a/Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml b/Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml
index 9252d893f694..824df36cd3f8 100644
--- a/Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml
@@ -46,7 +46,6 @@ properties:
description:
PHY specifier for the USB3.0 PHY. Some SoCs need the USB3.0 PHY
to be turned on before the controller.
- Documentation/devicetree/bindings/phy/phy-bindings.txt
phy-names:
items:
diff --git a/Documentation/driver-api/phy/phy.rst b/Documentation/driver-api/phy/phy.rst
index 0865c2e94eec..29013517f248 100644
--- a/Documentation/driver-api/phy/phy.rst
+++ b/Documentation/driver-api/phy/phy.rst
@@ -220,4 +220,6 @@ DeviceTree Binding
==================
The documentation for PHY dt binding can be found @
-Documentation/devicetree/bindings/phy/phy-bindings.txt
+
+- https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/phy/phy-provider.yaml
+- https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/phy/phy-consumer.yaml
diff --git a/Documentation/translations/zh_CN/driver-api/phy/phy.rst b/Documentation/translations/zh_CN/driver-api/phy/phy.rst
index 0d7489081b90..d194b903954a 100644
--- a/Documentation/translations/zh_CN/driver-api/phy/phy.rst
+++ b/Documentation/translations/zh_CN/driver-api/phy/phy.rst
@@ -209,4 +209,6 @@ DeviceTree绑定
==============
PHY dt 绑定的文档可以在以下位置找到 @
-Documentation/devicetree/bindings/phy/phy-bindings.txt
+
+- https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/phy/phy-provider.yaml
+- https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/phy/phy-consumer.yaml
--
2.25.1
More information about the linux-phy
mailing list