From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Lin Subject: Re: [PATCHv2 03/10] mmc: dw_mmc: change the DW_MCI_FREQ_MIN from 400K to 100K Date: Wed, 16 Nov 2016 17:06:04 +0800 Message-ID: <2f69a462-d373-e91a-a273-9dfdccf08bd5@rock-chips.com> References: <20161115101232.3854-1-jh80.chung@samsung.com> <20161115101232.3854-4-jh80.chung@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20161115101232.3854-4-jh80.chung-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jaehoon Chung , linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org List-Id: linux-mmc@vger.kernel.org ÔÚ 2016/11/15 18:12, Jaehoon Chung дµÀ: > If there is no property "clock-freq-min-max", mmc->f_min should be set > to 400K by default. But Some SoC can be used 100K. > When 100K is used, MMC core will try to check from 400K to 100K. > > Reported-by: Shawn Lin > Signed-off-by: Jaehoon Chung > Tested-by: Heiko Stuebner It makes more sense that the original 400KHz, thanks for improving that. Reviewed-by: Shawn Lin > --- > drivers/mmc/host/dw_mmc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c > index 6c0c4c5..be36f48 100644 > --- a/drivers/mmc/host/dw_mmc.c > +++ b/drivers/mmc/host/dw_mmc.c > @@ -54,7 +54,7 @@ > #define DW_MCI_DMA_THRESHOLD 16 > > #define DW_MCI_FREQ_MAX 200000000 /* unit: HZ */ > -#define DW_MCI_FREQ_MIN 400000 /* unit: HZ */ > +#define DW_MCI_FREQ_MIN 100000 /* unit: HZ */ > > #define IDMAC_INT_CLR (SDMMC_IDMAC_INT_AI | SDMMC_IDMAC_INT_NI | \ > SDMMC_IDMAC_INT_CES | SDMMC_IDMAC_INT_DU | \ > -- Best Regards Shawn Lin -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html