ARM: mach-meson: update & rework USB for GXL, GXM & AXG
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | ARM: dts: sync amlogic AXG/GXL/GXM DT from Linux 5.8-rc1arch/ arch/ arch/ +19 more | +358 | 0 replies | |
| 2/8 | usb: dwc3: add Amlogic GXL & GXL DWC3 Gluearch/ drivers/ drivers/ +1 more | +436 | 0 replies | |
| 3/8 | ARM: mach-meson: use new DWC3 glue for GXL & GXMarch/ configs/ configs/ +5 more | +79 | 0 replies | |
| 4/8 | phy: meson-gxl: remove invalid USB3 PHY driverarch/ drivers/ drivers/ | +1 | 0 replies | |
| 5/8 | phy: meson-gxl-usb: depend on Meson AXG aswelldrivers/ | +1 | 0 replies | |
| 6/8 | arm: meson-axg: add board_usb_init()/cleanup() for USB gadgetarch/ | +128 | 0 replies | |
| 7/8 | ARM: dts: meson-axg: add USB nodes for S400arch/ arch/ | +74 | 0 replies | |
| 8/8 | configs: s400: enable USBconfigs/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] ARM: mach-meson: update & rework USB for GXL, GXM & AXG
This serie follows the recent work under Linux to rework and update support of the USB complex in the Amlogic GXL, GXM & AXG SoCs.
This rework follows the clean implementation for the G12A & following SoCs to support Host, Device & OTG functionnality.
The GXL, GXM & AXG USB complex is architectured in the same was as the G12A & later USB complex, thus we can use the same architecture but adapted to the different init & config flow found in the Amlogic GXL, GXM & AXG SoCs.
With this patchset, USB Host functionnality is retained, working & tested on the Khadas VIM2 (GXM), Libretech-CC (GXL) & S400 (AXG), with Device mode added and tested by using the UMS gadget.
Neil Armstrong (8):
ARM: dts: sync amlogic AXG/GXL/GXM DT from Linux 5.8-rc1
usb: dwc3: add Amlogic GXL & GXL DWC3 Glue
ARM: mach-meson: use new DWC3 glue for GXL & GXM
phy: meson-gxl: remove invalid USB3 PHY driver
phy: meson-gxl-usb: depend on Meson AXG aswell
arm: meson-axg: add board_usb_init()/cleanup() for USB gadget
ARM: dts: meson-axg: add USB nodes for S400
configs: s400: enable USB
arch/arm/dts/meson-axg-s400-u-boot.dtsi | 12 + arch/arm/dts/meson-axg-u-boot.dtsi | 62 +++ arch/arm/dts/meson-axg.dtsi | 6 +- arch/arm/dts/meson-gx-libretech-pc.dtsi | 78 +++- arch/arm/dts/meson-gx.dtsi | 23 +- arch/arm/dts/meson-gxbb-nanopi-k2.dts | 2 +- arch/arm/dts/meson-gxbb-odroidc2.dts | 2 +- arch/arm/dts/meson-gxbb.dtsi | 23 + .../meson-gxl-s805x-libretech-ac-u-boot.dtsi | 4 - arch/arm/dts/meson-gxl-s805x-libretech-ac.dts | 73 ++- .../meson-gxl-s905d-libretech-pc-u-boot.dtsi | 4 - .../meson-gxl-s905x-khadas-vim-u-boot.dtsi | 4 - arch/arm/dts/meson-gxl-s905x-khadas-vim.dts | 4 + .../meson-gxl-s905x-libretech-cc-u-boot.dtsi | 4 - arch/arm/dts/meson-gxl-s905x-libretech-cc.dts | 77 +++- arch/arm/dts/meson-gxl-s905x-p212.dtsi | 3 +- arch/arm/dts/meson-gxl-u-boot.dtsi | 16 - arch/arm/dts/meson-gxl.dtsi | 79 +++- .../arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi | 4 - arch/arm/dts/meson-gxm-khadas-vim2.dts | 3 +- .../meson-gxm-s912-libretech-pc-u-boot.dtsi | 4 - arch/arm/dts/meson-gxm.dtsi | 7 +- arch/arm/include/asm/arch-meson/usb-gx.h | 3 +- arch/arm/mach-meson/board-axg.c | 128 ++++++ arch/arm/mach-meson/board-gx.c | 127 +++--- configs/khadas-vim2_defconfig | 2 +- configs/khadas-vim_defconfig | 2 +- configs/libretech-ac_defconfig | 2 +- configs/libretech-cc_defconfig | 2 +- configs/libretech-s905d-pc_defconfig | 2 +- configs/libretech-s912-pc_defconfig | 2 +- configs/p212_defconfig | 2 +- configs/s400_defconfig | 15 + drivers/phy/Kconfig | 2 +- drivers/phy/Makefile | 2 +- drivers/phy/meson-gxl-usb3.c | 219 --------- drivers/usb/dwc3/Kconfig | 8 + drivers/usb/dwc3/Makefile | 1 + drivers/usb/dwc3/dwc3-meson-gxl.c | 425 ++++++++++++++++++ .../reset/amlogic,meson-gxbb-reset.h | 2 +- include/dt-bindings/sound/meson-aiu.h | 18 + 41 files changed, 1092 insertions(+), 366 deletions(-) create mode 100644 arch/arm/dts/meson-axg-u-boot.dtsi delete mode 100644 drivers/phy/meson-gxl-usb3.c create mode 100644 drivers/usb/dwc3/dwc3-meson-gxl.c create mode 100644 include/dt-bindings/sound/meson-aiu.h
Signature · 1 line
2.22.0