
On 03/10/2023 13:28, Alexey Romanov wrote:
Hello!
This patchset adds USB stack support for Amlogic A1 SoC's series. Made reset / phy / dwc3 drivers more flexible and added support for A1 board.
V2:
- Made power domain for PHY optional.
- Add missing CLKID_USB_PHY gate.
- Drop patch with USB stack initialization in board-a1.c.
Instead of, enable CONFIG_DM_USB_GADGET for AD401 board.
- Support A1 in g12a_child_pre_probe/post_remove functions
in dwc3 driver.
Alexey Romanov (7): dt-bindings: reset: add Meson A1 reset bindings reset: add support for Amlogic A1 family phy: get rid of raw hex values phy: move clk enable/disable in init/exit phy: support Amlogic A1 family dwc3: add support for Amlogic A1 family ad401: enable USB stack
Igor Prusov (1): a1: clk: Add missing USB_PHY_IN and USB_PHY gates
configs/ad401_defconfig | 3 + drivers/clk/meson/a1.c | 6 + drivers/phy/Kconfig | 2 +- drivers/phy/meson-g12a-usb2.c | 235 ++++++++++++++++-- drivers/reset/reset-meson.c | 42 +++- drivers/usb/dwc3/dwc3-meson-g12a.c | 73 +++++- .../reset/amlogic,meson-a1-reset.h | 76 ++++++ 7 files changed, 403 insertions(+), 34 deletions(-) create mode 100644 include/dt-bindings/reset/amlogic,meson-a1-reset.h
The PHY and DWC3 patches don't apply cleanly, could you rebase on top of: https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commits/u-boot-aml...
Thanks, Neil