Hi Wolfram,
On Tue, Jun 4, 2019 at 5:17 PM Wolfram Sang
<[email protected]> wrote:
> Our HW engineers informed us that HS400 is not working on these SoC
> revisions.
>
> Fixes: 0f4e2054c971 ("mmc: renesas_sdhi: disable HS400 on H3 ES1.x and M3-W
> ES1.[012]")
> Signed-off-by: Wolfram Sang <[email protected]>
> --- a/drivers/mmc/host/renesas_sdhi_core.c
> +++ b/drivers/mmc/host/renesas_sdhi_core.c
> @@ -620,11 +620,17 @@ static const struct renesas_sdhi_quirks
> sdhi_quirks_h3_es2 = {
> .hs400_4taps = true,
> };
>
> +static const struct renesas_sdhi_quirks sdhi_quirks_nohs400 = {
> + .hs400_disabled = true,
> +};
> +
> static const struct soc_device_attribute sdhi_quirks_match[] = {
> { .soc_id = "r8a7795", .revision = "ES1.*", .data =
> &sdhi_quirks_h3_m3w_es1 },
> { .soc_id = "r8a7795", .revision = "ES2.0", .data =
> &sdhi_quirks_h3_es2 },
> { .soc_id = "r8a7796", .revision = "ES1.0", .data =
> &sdhi_quirks_h3_m3w_es1 },
> { .soc_id = "r8a7796", .revision = "ES1.1", .data =
> &sdhi_quirks_h3_m3w_es1 },
> + { .soc_id = "r8a7796", .revision = "ES1.2", .data =
> &sdhi_quirks_h3_m3w_es1 },
I think the above 3 lines can be combined in:
{ .soc_id = "r8a7796", .revision = "ES1.[012]", .data =
&sdhi_quirks_h3_m3w_es1 },
Or do you prefer separate lines for easier grepping?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds