meson: enable USB Gadget support fot GXL/GXM SoCs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | generic-phy: add generic_phy_get_by_node()drivers/ include/ | +38 | 0 replies | |
| 1/10 | generic-phy: add generic_phy_get_by_node() | +0 | 1 reply | |
| 2/10 | phy: meson-gxl-usb: add set_mode call to force switch to peripheral modearch/ drivers/ drivers/ | +72 | 0 replies | |
| 3/10 | arm: meson-gx: add board_usb_init()/cleanup() for USB gadgetarch/ | +118 | 0 replies | |
| 4/10 | arm: dts: meson-gxl: Add USB Gadget nodes for U-Bootarch/ arch/ arch/ +1 more | +30 | 0 replies | |
| 5/10 | configs: libretech-cc: Enable USB gadget with Mass Storage functionconfigs/ | +7 | 0 replies | |
| 6/10 | configs: libretech-ac: Enable USB gadget with Mass Storage functionconfigs/ | +7 | 0 replies | |
| 7/10 | configs: khadas-vim2: Enable USB gadget with Mass Storage functionconfigs/ | +7 | 0 replies | |
| 8/10 | configs: khadas-vim: Enable USB gadget with Mass Storage functionconfigs/ | +7 | 0 replies | |
| 9/10 | configs: libretech-s905d-pc: Enable USB gadget with Mass Storage functionconfigs/ | +7 | 0 replies | |
| 10/10 | configs: libretech-s912-pc: Enable USB gadget with Mass Storage functionconfigs/ | +7 | 0 replies |
Reviews trailers per patch
2 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Tom Rini |
|---|---|
| 1/10 | R-b |
| 1/10 | R-b |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] meson: enable USB Gadget support fot GXL/GXM SoCs
Thit patchset adds support for OTG Gadget mode on the GXL/GXM SoCs.
It adds a new API generic_phy_get_by_node() to get the PHY by it's node.
It enabled Gadget and USB Mass Storage for libretech-cc, libretech-ac, khadas-vim, khadas-vim2, libretech-s905d-pc and libretech-s912-pc boards.
Neil Armstrong (10):
generic-phy: add generic_phy_get_by_node()
phy: meson-gxl-usb: add set_mode call to force switch to peripheral
mode
arm: meson-gx: add board_usb_init()/cleanup() for USB gadget
arm: dts: meson-gxl: Add USB Gadget nodes for U-Boot
configs: libretech-cc: Enable USB gadget with Mass Storage function
configs: libretech-ac: Enable USB gadget with Mass Storage function
configs: khadas-vim2: Enable USB gadget with Mass Storage function
configs: khadas-vim: Enable USB gadget with Mass Storage function
configs: libretech-s905d-pc: Enable USB gadget with Mass Storage
function
configs: libretech-s912-pc: Enable USB gadget with Mass Storage
function
.../meson-gxl-s905x-khadas-vim-u-boot.dtsi | 2 +- .../meson-gxl-s905x-libretech-cc-u-boot.dtsi | 6 +- arch/arm/dts/meson-gxl-s905x-p212-u-boot.dtsi | 2 +- arch/arm/dts/meson-gxl-u-boot.dtsi | 23 ++++ arch/arm/include/asm/arch-meson/usb-gx.h | 16 +++ arch/arm/mach-meson/board-gx.c | 118 ++++++++++++++++++ configs/khadas-vim2_defconfig | 7 ++ configs/khadas-vim_defconfig | 7 ++ configs/libretech-ac_defconfig | 7 ++ configs/libretech-cc_defconfig | 7 ++ configs/libretech-s905d-pc_defconfig | 7 ++ configs/libretech-s912-pc_defconfig | 7 ++ drivers/phy/meson-gxl-usb2.c | 30 ++++- drivers/phy/meson-gxl-usb3.c | 44 +++++-- drivers/phy/phy-uclass.c | 17 ++- include/generic-phy.h | 27 ++++ 16 files changed, 301 insertions(+), 26 deletions(-) create mode 100644 arch/arm/dts/meson-gxl-u-boot.dtsi create mode 100644 arch/arm/include/asm/arch-meson/usb-gx.h
Signature · 1 line
2.22.0