Skip to content

mmc: sdhci-brcmstb: Add support for optional sdio_freq clock

Kamal Dasu linux-arm-kernel linux-devicetree linux-mmc 3 versions – Applied

Status from this message: Queued for v5.20 on the devel branch, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- PATCH 1/2 v3
- Based on review comments reverted to using the 'clock-frequency' field in sdhci-brcmstb controller node for the sdio_freq clock
- PATCH 2/2 v3
- use devm_clk_get_optional() to get sdio_freq clock
- look for clock-frequency value if set in the sdhci-brcmstb dt node
- Added pmops to unprepare, prepare sdio_freq clock on suspend/resume in addition to the sdhci_pltfm_suspend/resume()

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: mmc: Add Broadcom optional sdio_freq clockDocumentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml+26 -60 replies
2/2mmc: sdhci-brcmstb: Add ability to increase max clock rate for 72116b0drivers/mmc/host/sdhci-brcmstb.c+68 -11 reply

Reviews trailers per patch

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

PatchKrzysztof KozlowskiFlorian Fainelli
1/2R-b A-b
2/2A-b

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

Read the v3 thread

Cover letter [PATCH v3 0/2] mmc: sdhci-brcmstb: Add support for optional sdio_freq clock

v3 changes:
- PATCH 1/2 v3
- Based on review comments reverted to using the 'clock-frequency' field in sdhci-brcmstb controller node for the sdio_freq clock
- PATCH 2/2 v3
- use devm_clk_get_optional() to get sdio_freq clock
- look for clock-frequency value if set in the sdhci-brcmstb dt node
- Added pmops to unprepare, prepare sdio_freq clock on suspend/resume in addition to the sdhci_pltfm_suspend/resume()

v2 changes :
- Added Reviewed-by tag to PATCH v2 1/2
- In PATCH v2 2/2 Used host->mmc->f_max instead of parsing the device tree again, /s/clock-frequency/max-frequency in commit message

v1 Changes :
Sending the remaining 2 patches separately after implementing review comments for the patches 3/4 and 4/4 as part of the following:
"mmc: sdhci-brcmstb: host controller clock enhancements"
https://lore.kernel.org/linux-arm-kernel/[email protected]/t/
changes are rebased over
git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git refs/heads/next

tested brcm,sdhci-brcmstb.yaml and driver with and without sdio_freq clock.

Kamal Dasu (2):
dt-bindings: mmc: Add Broadcom optional sdio_freq clock
mmc: sdhci-brcmstb: Add ability to increase max clock rate for 72116b0

 .../bindings/mmc/brcm,sdhci-brcmstb.yaml      | 32 +++++++--
 drivers/mmc/host/sdhci-brcmstb.c              | 69 ++++++++++++++++++-
 2 files changed, 94 insertions(+), 7 deletions(-)
Signature · 1 line
2.17.1