Hi Anson, On Mon, Aug 5, 2019 at 11:25 PM Anson Huang <[email protected]> wrote: > > Hi, Stephen > I think we should resume this thread, without this patch, mainline > kernel boot up will cause mmc timeout all the time. If it is NOT good to > disabling those peripheral devices' clock in i.MX7ULP's clock driver, then we > have to change the core framework to disable clock explicitly if the > CLK_SET_RATE_GATE/CLK_SET_PARENT_GATE is present, most likely it will impact > other platforms I think, so the most safe way is just to do it inside our > i.MX7ULP composite clock driver. What do you think?
Just tested your patch against 5.3 and mmc card can be detected with it. Please note that I had to manually add: #include <linux/io.h> so that it can build. I agree we need to come to a solution for this. Stephen, please let us know your thoughts. Thanks

