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

dt-bindings: phy: Convert PXA1928 USB/HSIC PHY to DT schema

Convert the binding for the Marvell PXA1928 USB and HSIC PHYs from TXT
to DT schema.

Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231004-pxa1928-usb-yaml-v3-1-150c9ef3ab9d@skole.hr
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Duje Mihanović and committed by
Vinod Koul
03c866ca dd69a637

+47 -18
+47
Documentation/devicetree/bindings/phy/marvell,pxa1928-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,pxa1928-usb-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Marvell PXA1928 USB/HSIC PHY 8 + 9 + maintainers: 10 + - Duje Mihanović <duje.mihanovic@skole.hr> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - marvell,pxa1928-usb-phy 16 + - marvell,pxa1928-hsic-phy 17 + 18 + reg: 19 + maxItems: 1 20 + 21 + clocks: 22 + maxItems: 1 23 + 24 + '#phy-cells': 25 + const: 0 26 + 27 + resets: 28 + maxItems: 1 29 + 30 + required: 31 + - compatible 32 + - reg 33 + - clocks 34 + - '#phy-cells' 35 + 36 + additionalProperties: false 37 + 38 + examples: 39 + - | 40 + #include <dt-bindings/clock/marvell,pxa1928.h> 41 + 42 + usbphy: phy@7000 { 43 + compatible = "marvell,pxa1928-usb-phy"; 44 + reg = <0x7000 0xe0>; 45 + clocks = <&apmu PXA1928_CLK_USB>; 46 + #phy-cells = <0>; 47 + };
-18
Documentation/devicetree/bindings/phy/pxa1928-usb-phy.txt
··· 1 - * Marvell PXA1928 USB and HSIC PHYs 2 - 3 - Required properties: 4 - - compatible: "marvell,pxa1928-usb-phy" or "marvell,pxa1928-hsic-phy" 5 - - reg: base address and length of the registers 6 - - clocks - A single clock. From common clock binding. 7 - - #phys-cells: should be 0. From common phy binding. 8 - - resets: reference to the reset controller 9 - 10 - Example: 11 - 12 - usbphy: phy@7000 { 13 - compatible = "marvell,pxa1928-usb-phy"; 14 - reg = <0x7000 0xe0>; 15 - clocks = <&apmu_clocks PXA1928_CLK_USB>; 16 - #phy-cells = <0>; 17 - }; 18 -