[PATCH v3 0/5] Add support for CP110 UTMI PHY

From: kostap
Date: Sun Mar 07 2021 - 11:36:25 EST


From: Konstantin Porotchkin <kostap@xxxxxxxxxxx>

This series of patches adds a new PHY driver for supporting CP110 UTMI
PHY in Linux. Currently the functionality of USB ports connected to
this PHY depends on boot loader setup.
The new driver eliminates kernel configuration dependency from the boot
loader.

v3:
- rebase on top of Linux 5.12-rc2
- convert Armada 3700 UTMI PHY DT binding document to YAML schema
- create a separate DT binding for Armada CP11x UTMI PHY in YAML format
- change UTMI PHY port node names from "phy" to "usb-phy"

v2:
- extend the comment about reference clock
- fix driver probe function, add some prints
- move to usage of dr_mode from connected USB controller instead of
dedicated device tree property

Konstantin Porotchkin (5):
drivers: phy: add support for Armada CP110 UTMI PHY
dt-bindings: phy: convert phy-mvebu-utmi to YAML schema
devicetree/bindings: add support for CP110 UTMI PHY
arch/arm64: dts: add support for Marvell CP110 UTMI PHY
arch/arm64: dts: enable CP110 UTMI PHY usage

.../phy/marvell,armada-3700-utmi-phy.yaml | 57 +++
.../phy/marvell,armada-cp110-utmi-phy.yaml | 109 +++++
.../bindings/phy/phy-mvebu-utmi.txt | 38 --
.../arm64/boot/dts/marvell/armada-7040-db.dts | 14 +-
.../arm64/boot/dts/marvell/armada-8040-db.dts | 21 +-
.../boot/dts/marvell/armada-8040-mcbin.dtsi | 19 +-
arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 19 +
arch/arm64/boot/dts/marvell/cn9130-db.dts | 12 +-
arch/arm64/boot/dts/marvell/cn9131-db.dts | 9 +-
arch/arm64/boot/dts/marvell/cn9132-db.dts | 11 +-
drivers/phy/marvell/Kconfig | 8 +
drivers/phy/marvell/Makefile | 1 +
drivers/phy/marvell/phy-mvebu-cp110-utmi.c | 384 ++++++++++++++++++
13 files changed, 650 insertions(+), 52 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/marvell,armada-3700-utmi-phy.yaml
create mode 100644 Documentation/devicetree/bindings/phy/marvell,armada-cp110-utmi-phy.yaml
delete mode 100644 Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt
create mode 100644 drivers/phy/marvell/phy-mvebu-cp110-utmi.c

--
2.17.1