[PATCH v12 0/4] Enable IPQ5332 USB2

From: Varadarajan Narayanan
Date: Thu Aug 31 2023 - 05:19:12 EST


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

v12:
DTS: usb2_0_dwc -> usb_dwc
v11:
Driver: Rebased to accommodate https://lore.kernel.org/linux-arm-msm/20230824091345.1072650-1-yangyingliang@xxxxxxxxxx/
DTS: Sort nodes in alphanumeric order
v10:
Driver: Restore register success print per Dmitry's comment
DTS: usb@8a00000 -> usb@8af8800
regulator_s0500 -> regulator-s0500
v9:
Driver: Since the driver code has been picked up for merge,
(https://lore.kernel.org/linux-arm-msm/169226613917.81413.1200008047604336868.b4-ty@xxxxxxxxxx/)
adding the coding style fixes alone in this patch.

Fix line break alignment
Remove register success print
DTS: usb2@8a00000 -> usb@8a00000
regulator_fixed_5p0: s0500 -> regulator_fixed_5p0: regulator
v8:
Driver:-
Change commit subject and message per review comments
Don't include of_platform.h
Change struct initialization coding style
GENMASK -> BIT for one of the defines
v7:
Binding:-
Move 'compatible' to be the first entry
In the example have 'usb-phy' instead of 'usb2-phy'
Add 'Reviewed-by: Krzysztof Kozlowski'
v6:
Binding and dts:-
Dropped the qcom,dwc3.yaml patch as it has been picked up for linux-next
Add const to compatible, vdd-supply
Move nodes per register address
Driver:-
Add vdd-supply
Cleanup error paths in probe with dev_err_probe
v5:
Binding and dts:-
Fix email id
Removed 'Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>'
as had to change bindings file to be able to use generic phy instead of
usb-phy

Driver:-
Remove unused definition
Use generic phy instead of usb-phy
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 (4):
phy: qcom: m31: Fix indentation issues
arm64: dts: qcom: ipq5332: Add USB related nodes
arm64: dts: qcom: ipq5332: Enable USB
arm64: defconfig: Enable M31 USB phy driver

arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 23 ++++++++++++
arch/arm64/boot/dts/qcom/ipq5332.dtsi | 55 +++++++++++++++++++++++++++++
arch/arm64/configs/defconfig | 1 +
drivers/phy/qualcomm/phy-qcom-m31.c | 6 ++--
4 files changed, 82 insertions(+), 3 deletions(-)

--
2.7.4