
5 May
2021
5 May
'21
4:31 p.m.
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