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

dt-bindings: phy: Convert lantiq,ase-usb2-phy to DT schema

Convert the Lantiq XWAY 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/20250607212537.742287-1-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Rob Herring (Arm) and committed by
Vinod Koul
85d6af3b 66acaf8f

+71 -40
+71
Documentation/devicetree/bindings/phy/lantiq,ase-usb2-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/lantiq,ase-usb2-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Lantiq XWAY SoC RCU USB 1.1/2.0 PHY 8 + 9 + maintainers: 10 + - Hauke Mehrtens <hauke@hauke-m.de> 11 + 12 + description: 13 + This node has to be a sub node of the Lantiq RCU block. 14 + 15 + properties: 16 + compatible: 17 + items: 18 + - enum: 19 + - lantiq,ase-usb2-phy 20 + - lantiq,danube-usb2-phy 21 + - lantiq,xrx100-usb2-phy 22 + - lantiq,xrx200-usb2-phy 23 + - lantiq,xrx300-usb2-phy 24 + 25 + reg: 26 + items: 27 + - description: Offset of the USB PHY configuration register 28 + - description: Offset of the USB Analog configuration register 29 + 30 + clocks: 31 + maxItems: 1 32 + 33 + clock-names: 34 + items: 35 + - const: phy 36 + 37 + resets: 38 + minItems: 1 39 + maxItems: 2 40 + 41 + reset-names: 42 + minItems: 1 43 + items: 44 + - enum: [ phy, ctrl ] 45 + - const: ctrl 46 + 47 + '#phy-cells': 48 + const: 0 49 + 50 + required: 51 + - compatible 52 + - reg 53 + - clocks 54 + - clock-names 55 + - resets 56 + - reset-names 57 + - '#phy-cells' 58 + 59 + additionalProperties: false 60 + 61 + examples: 62 + - | 63 + usb2-phy@18 { 64 + compatible = "lantiq,xrx200-usb2-phy"; 65 + reg = <0x18 4>, <0x38 4>; 66 + clocks = <&pmu 1>; 67 + clock-names = "phy"; 68 + resets = <&reset1 4 4>, <&reset0 4 4>; 69 + reset-names = "phy", "ctrl"; 70 + #phy-cells = <0>; 71 + };
-40
Documentation/devicetree/bindings/phy/phy-lantiq-rcu-usb2.txt
··· 1 - Lantiq XWAY SoC RCU USB 1.1/2.0 PHY binding 2 - =========================================== 3 - 4 - This binding describes the USB PHY hardware provided by the RCU module on the 5 - Lantiq XWAY SoCs. 6 - 7 - This node has to be a sub node of the Lantiq RCU block. 8 - 9 - ------------------------------------------------------------------------------- 10 - Required properties (controller (parent) node): 11 - - compatible : Should be one of 12 - "lantiq,ase-usb2-phy" 13 - "lantiq,danube-usb2-phy" 14 - "lantiq,xrx100-usb2-phy" 15 - "lantiq,xrx200-usb2-phy" 16 - "lantiq,xrx300-usb2-phy" 17 - - reg : Defines the following sets of registers in the parent 18 - syscon device 19 - - Offset of the USB PHY configuration register 20 - - Offset of the USB Analog configuration 21 - register (only for xrx200 and xrx200) 22 - - clocks : References to the (PMU) "phy" clk gate. 23 - - clock-names : Must be "phy" 24 - - resets : References to the RCU USB configuration reset bits. 25 - - reset-names : Must be one of the following: 26 - "phy" (optional) 27 - "ctrl" (shared) 28 - 29 - ------------------------------------------------------------------------------- 30 - Example for the USB PHYs on an xRX200 SoC: 31 - usb_phy0: usb2-phy@18 { 32 - compatible = "lantiq,xrx200-usb2-phy"; 33 - reg = <0x18 4>, <0x38 4>; 34 - 35 - clocks = <&pmu PMU_GATE_USB0_PHY>; 36 - clock-names = "phy"; 37 - resets = <&reset1 4 4>, <&reset0 4 4>; 38 - reset-names = "phy", "ctrl"; 39 - #phy-cells = <0>; 40 - };