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

Kamal Dasu kdasu.kdev at gmail.com
Fri May 20 11:31:06 PDT 2022


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/96fd3054-17b1-db42-9a44-a60485243807@linaro.org/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(-)

-- 
2.17.1




More information about the linux-arm-kernel mailing list