Dne sreda, 11. januar 2023 ob 02:53:24 CET je Andre Przywara napisal(a): > Currently the probe routine explicitly compares the compatible string of > the device node to figure out which features and quirks a certain > Allwinner MUSB model requires. This gets harder to maintain for new > SoCs. > > Add a struct sunxi_musb_cfg that names the features and quirks > explicitly, and create instances of this struct for every type of MUSB > device we support. Then bind this to the compatible strings via the OF > data feature. > > Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx> Reviewed-by: Jernej Skrabec <jernej.skrabec@xxxxxxxxx> Best regards, Jernej