[PATCH RFC v2 0/4] phy: mvebu-cp110-utmi: add support for armada-380 utmi phys

From: Josua Mayer
Date: Tue Jul 16 2024 - 16:53:05 EST


Armada 380 has smilar USB-2.0 PHYs as CP-110 (Armada 8K).

Add support for Armada 380 to cp110 utmi phy driver.

Signed-off-by: Josua Mayer <josua@xxxxxxxxxxxxx>
---
Changes in v2:
- add support for optional regs / make syscon use optional
- add device-tree changes for armada-388-clearfog
- attempted to fix warning reported by krobot (untested)
- tested on actual hardware
- drafted dt-bindings
- Link to v1: https://lore.kernel.org/r/20240715-a38x-utmi-phy-v1-0-d57250f53cf2@xxxxxxxxxxxxx

---
Josua Mayer (4):
dt-bindings: phy: cp110-utmi-phy: add compatible string for armada-38x
arm: dts: marvell: armada-38x: add description for usb phys
phy: mvebu-cp110-utmi: add support for armada-380 utmi phys
arm: dts: marvell: armada-388-clearfog: add description for usb phys

.../phy/marvell,armada-cp110-utmi-phy.yaml | 15 +-
.../boot/dts/marvell/armada-388-clearfog-base.dts | 8 +
arch/arm/boot/dts/marvell/armada-388-clearfog.dts | 8 +
arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi | 30 ++-
arch/arm/boot/dts/marvell/armada-38x.dtsi | 29 +++
drivers/phy/marvell/phy-mvebu-cp110-utmi.c | 209 ++++++++++++++++-----
6 files changed, 244 insertions(+), 55 deletions(-)
---
base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
change-id: 20240715-a38x-utmi-phy-02e8059afe35

Sincerely,
--
Josua Mayer <josua@xxxxxxxxxxxxx>