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

dt-bindings: phy: Convert marvell,berlin2-usb-phy to DT schema

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

authored by

Rob Herring (Arm) and committed by
Vinod Koul
08a9bc35 f4b522ce

+42 -16
-16
Documentation/devicetree/bindings/phy/berlin-usb-phy.txt
··· 1 - * Marvell Berlin USB PHY 2 - 3 - Required properties: 4 - - compatible: "marvell,berlin2-usb-phy" or "marvell,berlin2cd-usb-phy" 5 - - reg: base address and length of the registers 6 - - #phys-cells: should be 0 7 - - resets: reference to the reset controller 8 - 9 - Example: 10 - 11 - usb-phy@f774000 { 12 - compatible = "marvell,berlin2-usb-phy"; 13 - reg = <0xf774000 0x128>; 14 - #phy-cells = <0>; 15 - resets = <&chip 0x104 14>; 16 - };
+42
Documentation/devicetree/bindings/phy/marvell,berlin2-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/marvell,berlin2-usb-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Marvell Berlin USB PHY 8 + 9 + maintainers: 10 + - Antoine Tenart <atenart@kernel.org> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - marvell,berlin2-usb-phy 16 + - marvell,berlin2cd-usb-phy 17 + 18 + reg: 19 + maxItems: 1 20 + 21 + "#phy-cells": 22 + const: 0 23 + 24 + resets: 25 + maxItems: 1 26 + 27 + required: 28 + - compatible 29 + - reg 30 + - "#phy-cells" 31 + - resets 32 + 33 + additionalProperties: false 34 + 35 + examples: 36 + - | 37 + usb-phy@f774000 { 38 + compatible = "marvell,berlin2-usb-phy"; 39 + reg = <0xf774000 0x128>; 40 + #phy-cells = <0>; 41 + resets = <&chip 0x104 14>; 42 + };