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

dt-bindings: phy: brcm,kona-usb2-phy: convert to YAML

Convert Broadcom Kona family USB 2.0 PHY bindings to DT schema.

Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230427190725.GA7730@standask-GA-A55M-S2HP
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Stanislav Jakubek and committed by
Vinod Koul
a8025fae 58247b9f

+36 -15
-15
Documentation/devicetree/bindings/phy/brcm,kona-usb2-phy.txt
··· 1 - BROADCOM KONA USB2 PHY 2 - 3 - Required properties: 4 - - compatible: brcm,kona-usb2-phy 5 - - reg: offset and length of the PHY registers 6 - - #phy-cells: must be 0 7 - Refer to phy/phy-bindings.txt for the generic PHY binding properties 8 - 9 - Example: 10 - 11 - usbphy: usb-phy@3f130000 { 12 - compatible = "brcm,kona-usb2-phy"; 13 - reg = <0x3f130000 0x28>; 14 - #phy-cells = <0>; 15 - };
+36
Documentation/devicetree/bindings/phy/brcm,kona-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/brcm,kona-usb2-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Broadcom Kona family USB 2.0 PHY 8 + 9 + maintainers: 10 + - Florian Fainelli <f.fainelli@gmail.com> 11 + 12 + properties: 13 + compatible: 14 + const: brcm,kona-usb2-phy 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + '#phy-cells': 20 + const: 0 21 + 22 + required: 23 + - compatible 24 + - reg 25 + - '#phy-cells' 26 + 27 + additionalProperties: false 28 + 29 + examples: 30 + - | 31 + usb-phy@3f130000 { 32 + compatible = "brcm,kona-usb2-phy"; 33 + reg = <0x3f130000 0x28>; 34 + #phy-cells = <0>; 35 + }; 36 + ...