Skip to content

SDHCI clock handling fixes and cleanups

Michał Mirosław linux-mmc lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7mmc: sdhci: fix base clock usage in preset valuedrivers/mmc/host/sdhci.c+0 -15 replies
2/7mmc: sdhci: fix programmable clock config from preset valuedrivers/mmc/host/sdhci.c+2 -31 reply
3/7mmc: sdhci: fix SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKENdrivers/mmc/host/sdhci.c+5 -53 replies
4/7mmc: sdhci: move SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN frequency limitdrivers/mmc/host/sdhci-of-arasan.c drivers/mmc/host/sdhci.c+5 -53 replies
5/7mmc: sdhci: simplify clock frequency calculationdrivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+29 -313 replies
6/7mmc: sdhci: squash v2/v3+ clock calculation differencesdrivers/mmc/host/sdhci.c+49 -570 replies
7/7mmc: sdhci: respect non-zero div quirk in programmable clock modedrivers/mmc/host/sdhci.c+6 -30 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchAl CooperAdrian Hunter
1/7A-b A-b A-b
2/7
3/7
4/7
5/7
6/7
7/7

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/7] SDHCI clock handling fixes and cleanups

This patch set combines a few of code improvements for SDHCI clock handling. Besides small fixes, most value comes from simplifying the code, so it's easier to understand.

Michał Mirosław (7):
mmc: sdhci: fix base clock usage in preset value
mmc: sdhci: fix programmable clock config from preset value
mmc: sdhci: fix SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN
mmc: sdhci: move SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN frequency limit
mmc: sdhci: simplify clock frequency calculation
mmc: sdhci: squash v2/v3+ clock calculation differences
mmc: sdhci: respect non-zero div quirk in programmable clock mode

 drivers/mmc/host/sdhci-of-arasan.c |   7 +-
 drivers/mmc/host/sdhci.c           | 126 +++++++++++++----------------
 drivers/mmc/host/sdhci.h           |   4 +-
 3 files changed, 64 insertions(+), 73 deletions(-)
Signature · 1 line
2.20.1