[PATCH v2] usb: musb-new: Extend and move Allwinner quirk into Kconfig

Marek Vasut marex at denx.de
Wed May 5 16:31:10 CEST 2021


On 5/5/21 2:51 PM, Andre Przywara wrote:
> All newer Allwinner SoCs (since about 2013) miss the CONFIGDATA register
> in their MUSB implementation, so they need a quirk to hardcode this.
> 
> Currently this quirk depends on listing the SoCs affected in musb_reg.h,
> which means that this list needs to grow with every new chip.
> 
> Move the quirk feature into Kconfig, next to PIO_ONLY, and change the
> default to y (for Allwinner builds), while listing the early
> implementations as exceptions.
> 
> This fixes USB peripheral operation on some newer SoCs, which were not
> explicitly listed before.
> 
> Tested on H6, H616, R40 (which were broken before), and also on the H5
> and A20, for regressions.

Applied, thanks


More information about the U-Boot mailing list