[PATCH] dt-bindings: phy: Delete old 'phy-bindings.txt' bindings file
#ProposedFrom:Ioana Ciornei <ioana.ciornei@nxp.com>
Date:
Message-ID:<20261119092429.2414671-1-ioana.ciornei@nxp.com>
Patch:v1 · 1/1
Language:zh_CN
Patch-ID:f0bdeba93a49b1c0065347f8d14c7090eb97d2e4
Files:
Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.yamlDocumentation/devicetree/bindings/phy/nvidia,tegra186-xusb-padctl.yamlDocumentation/devicetree/bindings/phy/nvidia,tegra194-xusb-padctl.yamlDocumentation/devicetree/bindings/phy/nvidia,tegra210-xusb-padctl.yamlDocumentation/devicetree/bindings/phy/phy-bindings.txtDocumentation/devicetree/bindings/phy/phy-miphy28lp.txtDocumentation/devicetree/bindings/phy/renesas,usb3-phy.yamlDocumentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yamlDocumentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txtDocumentation/devicetree/bindings/usb/nvidia,tegra-xudc.yamlDocumentation/devicetree/bindings/usb/ti,keystone-dwc3.yamlDocumentation/driver-api/phy/phy.rstDocumentation/translations/zh_CN/driver-api/phy/phy.rstLinks:lore message ↗ · raw mail ↗
Patch content 13 changed files
The generic PHY provider and consumer properties ('#phy-cells','phy-supply', 'phys' and 'phy-names') are already described by thephy-provider.yaml and phy-consumer.yaml schemas in the dt-schemarepository, which are applied to all nodes. The old free-formDocumentation/devicetree/bindings/phy/phy-bindings.txt file thereforeonly duplicates them. Delete the file and remove or update the dangling references to it inthe remaining binding documents and in the PHY driver-api documentation. Signed-off-by: Ioana Ciornei <ioana.ciornei@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.yamlindex 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 sincediff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra186-xusb-padctl.yaml b/Documentation/devicetree/bindings/phy/nvidia,tegra186-xusb-padctl.yamlindex 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 sincediff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra194-xusb-padctl.yaml b/Documentation/devicetree/bindings/phy/nvidia,tegra194-xusb-padctl.yamlindex 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 sincediff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra210-xusb-padctl.yaml b/Documentation/devicetree/bindings/phy/nvidia,tegra210-xusb-padctl.yamlindex 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 sincediff --git a/Documentation/devicetree/bindings/phy/phy-bindings.txt b/Documentation/devicetree/bindings/phy/phy-bindings.txtdeleted file mode 100644index 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@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@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.txtindex 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@9b20000 {diff --git a/Documentation/devicetree/bindings/phy/renesas,usb3-phy.yaml b/Documentation/devicetree/bindings/phy/renesas,usb3-phy.yamlindex 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.yamlindex 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.txtindex 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.yamlindex 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: 1diff --git a/Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml b/Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yamlindex 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.rstindex 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.yamldiff --git a/Documentation/translations/zh_CN/driver-api/phy/phy.rst b/Documentation/translations/zh_CN/driver-api/phy/phy.rstindex 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