-This attribute appears only if CONFIG_MMC_CLKGATE is enabled. - - clkgate_delay Tune the clock gating delay with desired value in milliseconds. - -echo <desired delay> > /sys/class/mmc_host/mmcX/clkgate_delay diff --git a/drivers/mmc/core/Kconfig b/drivers/mmc/core/Kconfig index 9eb...
> MMC_CLKGATE was once invented to save power by gating the bus clock at > request inactivity. At that time it served its purpose. The modern way to > deal with power saving for these scenarios, is by using runtime PM. > > Nowadays, several host drivers have deployed runtime PM, bu...
> So, do you suggest to use runtime-PM in a way that can be used to gate > the clks-off in shorter duration and > then schedule the work for suspending of devices after longer duration > of request inactivity. Well, what I suggested was to remove MMC_CLKGATE and use runtime PM ...