[PATCH v4 0/6] Enable IPQ5332 USB2

From: Varadarajan Narayanan
Date: Wed Jul 12 2023 - 07:39:41 EST


This patch series adds the relevant phy and controller
configurations for enabling USB2 on IPQ5332

v4:
Binding and dts:-
Change node name (bindings & dts)
Driver:-
Remove unused enum
static const for '.data'
Error handling for devm_clk_get
v3:
Fix bindings file based on review comments

v1:
Cleanup DTS
Combine driver, kconfig and makefile patches
Remove unused functions from M31 driver
Drop the clock driver changes

Varadarajan Narayanan (6):
dt-bindings: usb: dwc3: Add IPQ5332 compatible
dt-bindings: phy: qcom,m31: Document qcom,m31 USB phy
phy: qcom-m31: Introduce qcom,m31 USB phy driver
arm64: dts: qcom: ipq5332: Add USB related nodes
arm64: dts: qcom: ipq5332: Enable USB
arm64: defconfig: Enable M31 USB phy driver

.../bindings/phy/qcom,ipq5332-usb-hsphy.yaml | 48 ++++
.../devicetree/bindings/usb/qcom,dwc3.yaml | 3 +
arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 12 +
arch/arm64/boot/dts/qcom/ipq5332.dtsi | 53 +++++
arch/arm64/configs/defconfig | 1 +
drivers/phy/qualcomm/Kconfig | 11 +
drivers/phy/qualcomm/Makefile | 1 +
drivers/phy/qualcomm/phy-qcom-m31.c | 256 +++++++++++++++++++++
8 files changed, 385 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml
create mode 100644 drivers/phy/qualcomm/phy-qcom-m31.c

--
2.7.4