mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 05:12:49 +00:00
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>
This commit is contained in:
parent
dd69a6379a
commit
03c866cab4
2 changed files with 47 additions and 18 deletions
|
@ -0,0 +1,47 @@
|
|||
# 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>;
|
||||
};
|
|
@ -1,18 +0,0 @@
|
|||
* Marvell PXA1928 USB and HSIC PHYs
|
||||
|
||||
Required properties:
|
||||
- compatible: "marvell,pxa1928-usb-phy" or "marvell,pxa1928-hsic-phy"
|
||||
- reg: base address and length of the registers
|
||||
- clocks - A single clock. From common clock binding.
|
||||
- #phys-cells: should be 0. From common phy binding.
|
||||
- resets: reference to the reset controller
|
||||
|
||||
Example:
|
||||
|
||||
usbphy: phy@7000 {
|
||||
compatible = "marvell,pxa1928-usb-phy";
|
||||
reg = <0x7000 0xe0>;
|
||||
clocks = <&apmu_clocks PXA1928_CLK_USB>;
|
||||
#phy-cells = <0>;
|
||||
};
|
||||
|
Loading…
Reference in a new issue