Message ID | 20200124115252.15712-2-faiz_abbas@ti.com |
---|---|
State | Accepted |
Commit | 0d3c8584885a7c76929bfa59fa34e44a2134ae1f |
Headers | show |
Series | Add Support for eMMC boot in AM65x and J721e | expand |
On 1/24/20 8:52 PM, Faiz Abbas wrote: > Add a saved_clock member to struct mmc to store the previous clock speed > in the clock needs to be stopped for some time. I think that it doesn't need to add saved_clock for mmc member. This is for only yours. Does it impossible to add saved_clock in platdata? And i'm not sure but mmc->tran_speed should be kept previous speed. I will check it Best Regards, Jaehoon Chung > > Signed-off-by: Faiz Abbas <faiz_abbas at ti.com> > Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com> > --- > include/mmc.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/mmc.h b/include/mmc.h > index b5cb514f57..2f21dbf1b7 100644 > --- a/include/mmc.h > +++ b/include/mmc.h > @@ -602,6 +602,7 @@ struct mmc { > bool clk_disable; /* true if the clock can be turned off */ > uint bus_width; > uint clock; > + uint saved_clock; > enum mmc_voltage signal_voltage; > uint card_caps; > uint host_caps; >
diff --git a/include/mmc.h b/include/mmc.h index b5cb514f57..2f21dbf1b7 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -602,6 +602,7 @@ struct mmc { bool clk_disable; /* true if the clock can be turned off */ uint bus_width; uint clock; + uint saved_clock; enum mmc_voltage signal_voltage; uint card_caps; uint host_caps;