Skip to content

renesas: rcar-gen3: add HS400 quirk for SD clock

Niklas Söderlund linux-renesas-soc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clk: renesas: rcar-gen3: add documentation for SD clocksdrivers/clk/renesas/rcar-gen3-cpg.c+5 -52 replies
2/2clk: renesas: rcar-gen3: add HS400 quirk for SD clockdrivers/clk/renesas/rcar-gen3-cpg.c+22 -67 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchWolfram Sang
1/2R-b T-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] renesas: rcar-gen3: add HS400 quirk for SD clock

From: Niklas Söderlund <[email protected]>

Hi Geert,

This is the result of the SDHI hackathon for a possible solution to the clock issue on early ES versions. It is based on the Gen2 solution where a row of the possible clock settings are ignored on the effected SoC+ES versions. The first row is not effected when reading settings left by the bootloader, only when the setting the clock.

This is tested on H3 (ES1.0, ES2.0), M3-W (ES1.0) and M3-N together with patches to enable HS400 with great results. No regressions found for eMMC HS200/HS400 modes nor for SDR{25,50,104} on any of the SoCs.

Patch 1/2 adds documentation on which settings is used while 2/2 is the real change where the quirk is implemented.

Niklas Söderlund (2):
clk: renesas: rcar-gen3: add documentation for SD clocks
clk: renesas: rcar-gen3: add HS400 quirk for SD clock

 drivers/clk/renesas/rcar-gen3-cpg.c | 38 ++++++++++++++++++++---------
 1 file changed, 27 insertions(+), 11 deletions(-)
Signature · 1 line
2.19.1