[PATCH v2 0/2] tegra_mmc: get tap and trim from dts
    Svyatoslav Ryhel 
    clamor95 at gmail.com
       
    Thu Aug 24 20:53:30 CEST 2023
    
    
  
Default-tap and default-trim values are used for eMMC setup
mostly on T114+ devices. As for now, those values are hardcoded
for T210 and ignored for all other Tegra generations. Fix this
by passing tap and trim values from dts.
---
Changes from v1
- move t210 device tree fix into this series
- switch dev_read_u32_default > dev_read_u32
- if reading of device tree tap/trim values returns error
  store error in entries of driver structure
- apply tap and trim only if they pass error check
---
Svyatoslav Ryhel (2):
  ARM: tegra210: set default-tap and default-trim values in sdhci nodes
  mmc: tegra: get default-tap and default-trim from device tree
 arch/arm/dts/tegra210.dtsi                  |  8 ++++
 arch/arm/include/asm/arch-tegra/tegra_mmc.h | 17 +++----
 drivers/mmc/tegra_mmc.c                     | 52 +++++++++++----------
 3 files changed, 44 insertions(+), 33 deletions(-)
-- 
2.39.2
    
    
More information about the U-Boot
mailing list