[PATCH v2 0/5] usb: meson: switch to set_mode callback and other cleanup

Neil Armstrong neil.armstrong at linaro.org
Mon Jun 24 11:11:38 CEST 2024


Hi Marek,

On 20/06/2024 09:42, Neil Armstrong wrote:
> Switch to set_mode callback now it's available and in the same
> time make public functions static and drop useless mach-meson
> headers that are no more needed.

Thanks for the review, is it ok to apply it via my tree ?

Thanks,
Neil

> 
> Signed-off-by: Neil Armstrong <neil.armstrong at linaro.org>
> ---
> Changes in v2:
> - Update commit message in patch 1 to specify why we use _ in the set_mode callback
> - Link to v1: https://lore.kernel.org/r/20240618-u-boot-usb-gxl-phy-set-mode-v1-0-6b41efa46e35@linaro.org
> 
> ---
> Neil Armstrong (5):
>        phy: meson-gxl-usb2: add set_mode callback
>        usb: dwc3: meson-gxl: switch to generic_phy_set_mode
>        phy: meson-gxl-usb2: remove phy_meson_gxl_usb2_set_mode
>        usb: dwc3: meson-gxl: drop usb-gx.h and make dwc3_meson_gxl_force_mode static
>        usb: dwc3: meson-g12a: drop usb.h and make dwc3_meson_g12a_force_mode static
> 
>   arch/arm/include/asm/arch-meson/usb-gx.h | 17 -----------------
>   arch/arm/include/asm/arch-meson/usb.h    | 12 ------------
>   drivers/phy/meson-gxl-usb2.c             | 30 ++++++++++++++++++------------
>   drivers/usb/dwc3/dwc3-meson-g12a.c       |  2 +-
>   drivers/usb/dwc3/dwc3-meson-gxl.c        | 18 ++++++++++--------
>   5 files changed, 29 insertions(+), 50 deletions(-)
> ---
> base-commit: f1de28e67aa9b66bfca0fad3dc18446a6ec0b504
> change-id: 20240618-u-boot-usb-gxl-phy-set-mode-c3991c5f1da2
> 
> Best regards,



More information about the U-Boot mailing list