diff options
| author | Tanmay Kathpalia <[email protected]> | 2025-12-03 04:21:34 -0800 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2025-12-11 20:53:51 +0800 |
| commit | fa7e82127fad8b5926b383ec20e06af75a15bd3a (patch) | |
| tree | 3a47373d02eaeb45c56e9ff35b769c3fe723c861 /scripts/objdiff | |
| parent | 1e40e419aeb25f8d9a3f6872b5dcd05a2ed2b06e (diff) | |
mmc: sdhci-cadence: Set controller and PHY speed modes for SD and eMMC cards
Replace the legacy clock frequency-based timing mode selection with
proper MMC timing mode constants.
Changes to sdhci-cadence.c:
- Add sdhci_cdns_get_hrs06_mode() helper function for mode selection
- Replace clock frequency logic with mmc->selected_mode switch statement
- Use proper MMC timing constants (MMC_HS, UHS_SDR104, etc.)
- Add SD card specific handling with standard SDHCI control register setup
Changes to sdhci-cadence6.c:
- Add SD high speed PHY and control configuration arrays
- Update sdhci_cdns6_phy_adj() to use timing modes instead of HRS06 modes
- Support both SD and eMMC timing modes with appropriate PHY settings
Signed-off-by: Tanmay Kathpalia <[email protected]>
Reviewed-by: Balsundar Ponnusamy <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
