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

dt-bindings: phy: Convert ti,dm816x-usb-phy to DT schema

Convert the TI DM816x USB PHY binding to DT schema format. It's a
straight forward conversion.

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

authored by

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

+58 -24
-24
Documentation/devicetree/bindings/phy/dm816x-phy.txt
··· 1 - Device tree binding documentation for am816x USB PHY 2 - ========================= 3 - 4 - Required properties: 5 - - compatible : should be "ti,dm816x-usb-phy" 6 - - reg : offset and length of the PHY register set. 7 - - reg-names : name for the phy registers 8 - - clocks : phandle to the clock 9 - - clock-names : name of the clock 10 - - syscon: phandle for the syscon node to access misc registers 11 - - #phy-cells : from the generic PHY bindings, must be 1 12 - - syscon: phandle for the syscon node to access misc registers 13 - 14 - Example: 15 - 16 - usb_phy0: usb-phy@20 { 17 - compatible = "ti,dm8168-usb-phy"; 18 - reg = <0x20 0x8>; 19 - reg-names = "phy"; 20 - clocks = <&main_fapll 6>; 21 - clock-names = "refclk"; 22 - #phy-cells = <0>; 23 - syscon = <&scm_conf>; 24 - };
+58
Documentation/devicetree/bindings/phy/ti,dm8168-usb-phy.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,dm8168-usb-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TI DM8168 USB PHY 8 + 9 + maintainers: 10 + - Tony Lindgren <tony@atomide.com> 11 + 12 + properties: 13 + compatible: 14 + const: ti,dm8168-usb-phy 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + reg-names: 20 + items: 21 + - const: phy 22 + 23 + clocks: 24 + maxItems: 1 25 + 26 + clock-names: 27 + items: 28 + - const: refclk 29 + 30 + '#phy-cells': 31 + const: 0 32 + 33 + syscon: 34 + $ref: /schemas/types.yaml#/definitions/phandle 35 + description: Phandle for the syscon node to access misc registers. 36 + 37 + required: 38 + - compatible 39 + - reg 40 + - reg-names 41 + - clocks 42 + - clock-names 43 + - '#phy-cells' 44 + - syscon 45 + 46 + additionalProperties: false 47 + 48 + examples: 49 + - | 50 + usb-phy@20 { 51 + compatible = "ti,dm8168-usb-phy"; 52 + reg = <0x20 0x8>; 53 + reg-names = "phy"; 54 + clocks = <&main_fapll 6>; 55 + clock-names = "refclk"; 56 + #phy-cells = <0>; 57 + syscon = <&scm_conf>; 58 + };