[RFC-v2 0/2] Add Support for SDHC bus bandwidth voting
From: Pradeep P V K
Date: Fri Nov 08 2019 - 08:45:42 EST
Vote for the MSM bus bandwidth required by SDHC driver
based on the clock speed and bus width of the card.
Otherwise, the system clocks may run at minimum clock
speed and thus affecting the performance.
Adapt to the new ICB framework for bus bandwidth voting.
This requires the source/destination port ids.
Also this requires a tuple of values.
The tuple is for two different paths - from SDHC master
to BIMC slave. The other is from CPU master to SDHC slave.
This tuple consists of the average and peak bandwidth.
This change is based on Georgi Djakov [RFC]
(https://lkml.org/lkml/2018/10/11/499)
---
changed since v1:
* Addressed all the Review comments.
* Minor code rebasing.
Pradeep P V K (2):
dt-bindings: mmc: sdhci-msm: Add Bus BW vote supported strings
mmc: sdhci-msm: Add support for bus bandwidth voting
.../devicetree/bindings/mmc/sdhci-msm.txt | 32 ++
drivers/mmc/host/sdhci-msm.c | 366 ++++++++++++++++++++-
2 files changed, 395 insertions(+), 3 deletions(-)
--
1.9.1