RE: Pinmuxing and SDHC speeds on sdhci-esdhc-imx

From: Bough Chen
Date: Tue Oct 09 2018 - 23:29:07 EST


Hi Adam

Yes, MMC_DDR52 can use pins_100mhz. You can do that, thanks!

Best Regards
Bough Chen

> -----Original Message-----
> From: linux-mmc-owner@xxxxxxxxxxxxxxx
> [mailto:linux-mmc-owner@xxxxxxxxxxxxxxx] On Behalf Of Adam Ford
> Sent: 2018å10æ9æ 21:38
> To: linux-mmc@xxxxxxxxxxxxxxx; Linux Kernel Mailing List
> <linux-kernel@xxxxxxxxxxxxxxx>; A.s. Dong <aisheng.dong@xxxxxxx>;
> haibo.chen@xxxxxxxxxxxxx; Fabio Estevam <fabio.estevam@xxxxxxx>
> Subject: Pinmuxing and SDHC speeds on sdhci-esdhc-imx
>
> I have a question regarding the pinstate and the corresponding uhs_signaling.
>
> The uhs_signaling shows a variety of timing options,
>
> MMC_TIMING_UHS_SDR12, MMC_TIMING_UHS_SDR25:,
> MMC_TIMING_UHS_SDR50, MMC_TIMING_UHS_SDR104,
> MMC_TIMING_MMC_HS200, MMC_TIMING_UHS_DDR50,
> MMC_TIMING_MMC_DDR52, MMC_TIMING_MMC_HS400, and
> MMC_TIMING_LEGACY
>
> However the esdhc_change_pinstate function only lists
> MMC_TIMING_UHS_SDR50, MMC_TIMING_UHS_DDR50,
> MMC_TIMING_UHS_SDR104, MMC_TIMING_MMC_HS200, and
> MMC_TIMING_MMC_HS40, and a defaut.
>
> From what I can tell, this means that MMC_TIMING_MMC_DDR52 uses the
> default pinmux. I am wondering if it should use pins_100mhz. We have an
> eMMC part that we want to operate at this point and it seems like it missing.
> If so, I can submit a patch.
>
> It also seems like that SDR12, SDR25 use the default. I assume this is OK.
>
> adam