Skip to content

Commit 222bb02

Browse files
robherringvinodkoul
authored andcommitted
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>
1 parent 35b629b commit 222bb02

2 files changed

Lines changed: 37 additions & 19 deletions

File tree

Documentation/devicetree/bindings/phy/keystone-usb-phy.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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+
};

0 commit comments

Comments
 (0)