linux-loongson/Documentation/devicetree/bindings/phy/marvell,pxa1928-usb-phy.yaml
Duje Mihanović 03c866cab4 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>
2023-10-13 15:53:57 +05:30

48 lines
838 B
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/marvell,pxa1928-usb-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Marvell PXA1928 USB/HSIC PHY
maintainers:
- Duje Mihanović <duje.mihanovic@skole.hr>
properties:
compatible:
enum:
- marvell,pxa1928-usb-phy
- marvell,pxa1928-hsic-phy
reg:
maxItems: 1
clocks:
maxItems: 1
'#phy-cells':
const: 0
resets:
maxItems: 1
required:
- compatible
- reg
- clocks
- '#phy-cells'
additionalProperties: false
examples:
- |
#include <dt-bindings/clock/marvell,pxa1928.h>
usbphy: phy@7000 {
compatible = "marvell,pxa1928-usb-phy";
reg = <0x7000 0xe0>;
clocks = <&apmu PXA1928_CLK_USB>;
#phy-cells = <0>;
};