On Mon, 5 Aug 2024 at 11:15, Chen Wang <unicornxw@xxxxxxxxx> wrote: > > From: Chen Wang <unicorn_wang@xxxxxxxxxxx> > > This patchset is composed of two parts: > - one is the improvement of the sdhci-of-dwcmshc framework, > - the other is the support for sg2042 based on the improvement of the > framework. > The reason for merging the two parts into one patchset is mainly to > facilitate review, especially to facilitate viewing why we need to > improve the framework and what benefits it will bring to us. > > When I tried to add a new soc(SG2042) to sdhci-of-dwcmshc, I found > that the existing driver code could be optimized to facilitate expansion > for the new soc. Patch 1 ~ Patch 5 is for this. > > Patch 6 ~ 7 are adding support for the mmc controller for Sophgo SG2042. > Adding corresponding new compatible strings, and implement > custom callbacks for SG2042 based on new framework. > > Patch 8 is the change for DTS. > > By the way, although I believe this patch only optimizes the framework > of the code and does not change the specific logic, simple verification > is certainly better. Since I don't have rk35xx/th1520 related hardware, > it would be greatly appreciated if someone could help verify it. > > --- > > Changes in v6: > > The patch series is based on latest 'next' branch of [mmc-git]. > > - Some minor improvements based on Adrian's review suggestions. > - Added Reviewed-by and Tested-by signatures from Conor/Drew/Inochi. > Patch 1 -> 7 applied for next, thanks! Kind regards Uffe