Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: phy: Convert ti,keystone-usbphy to DT schema

Convert the TI Keystone USB PHY binding to DT schema format. Drop the
"#address-cells" and "#size-cells" properties which don't make sense
without any child nodes.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250607212641.744683-1-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Rob Herring (Arm) and committed by
Vinod Koul
222bb02e 35b629b2

+37 -19
-19
Documentation/devicetree/bindings/phy/keystone-usb-phy.txt
··· 1 - TI Keystone USB PHY 2 - 3 - Required properties: 4 - - compatible: should be "ti,keystone-usbphy". 5 - - #address-cells, #size-cells : should be '1' if the device has sub-nodes 6 - with 'reg' property. 7 - - reg : Address and length of the usb phy control register set. 8 - 9 - The main purpose of this PHY driver is to enable the USB PHY reference clock 10 - gate on the Keystone SOC for both the USB2 and USB3 PHY. Otherwise it is just 11 - an NOP PHY driver. Hence this node is referenced as both the usb2 and usb3 12 - phy node in the USB Glue layer driver node. 13 - 14 - usb_phy: usb_phy@2620738 { 15 - compatible = "ti,keystone-usbphy"; 16 - #address-cells = <1>; 17 - #size-cells = <1>; 18 - reg = <0x2620738 32>; 19 - };
+37
Documentation/devicetree/bindings/phy/ti,keystone-usbphy.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/phy/ti,keystone-usbphy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TI Keystone USB PHY 8 + 9 + maintainers: 10 + - Nishanth Menon <nm@ti.com> 11 + - Santosh Shilimkar <ssantosh@kernel.org> 12 + 13 + description: 14 + The main purpose of this PHY driver is to enable the USB PHY reference clock 15 + gate on the Keystone SOC for both the USB2 and USB3 PHY. Otherwise it is just 16 + an NOP PHY driver. Hence this node is referenced as both the usb2 and usb3 17 + phy node in the USB Glue layer driver node. 18 + 19 + properties: 20 + compatible: 21 + const: ti,keystone-usbphy 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + required: 27 + - compatible 28 + - reg 29 + 30 + additionalProperties: false 31 + 32 + examples: 33 + - | 34 + usb-phy@2620738 { 35 + compatible = "ti,keystone-usbphy"; 36 + reg = <0x2620738 32>; 37 + };