Commit b109be7
committed
FROMLIST: mmc: sdhci-msm: Set ICE clk to TURBO at sdhci ICE init
MMC controller lacks a clock scaling mechanism, unlike the UFS
controller. By default, the MMC controller is set to TURBO mode
during probe, but the ICE clock remains at XO frequency,
leading to read/write performance degradation on eMMC.
To address this, set the ICE clock to TURBO during sdhci_msm_ice_init
to align it with the controller clock. This ensures consistent
performance and avoids mismatches between the controller
and ICE clock frequencies.
For platforms where ICE is represented as a separate device,
use the OPP framework to vote for TURBO mode, maintaining
proper voltage and power domain constraints.
Link: https://lore.kernel.org/all/20260409-enable-ice-clock-scaling-v8-3-ca1129798606@oss.qualcomm.com/
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>1 parent 31db98d commit b109be7
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1889 | 1889 | | |
1890 | 1890 | | |
1891 | 1891 | | |
| 1892 | + | |
| 1893 | + | |
1892 | 1894 | | |
1893 | 1895 | | |
1894 | 1896 | | |
| |||
1948 | 1950 | | |
1949 | 1951 | | |
1950 | 1952 | | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
1951 | 1958 | | |
1952 | 1959 | | |
1953 | 1960 | | |
| |||
1973 | 1980 | | |
1974 | 1981 | | |
1975 | 1982 | | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
1976 | 1993 | | |
1977 | 1994 | | |
1978 | 1995 | | |
| |||
2076 | 2093 | | |
2077 | 2094 | | |
2078 | 2095 | | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
2079 | 2103 | | |
2080 | 2104 | | |
2081 | 2105 | | |
| |||
0 commit comments