mbox series

[U-Boot,v2,00/13] Add Support for eMMC in AM65x-evm

Message ID 20190205141301.21250-1-faiz_abbas@ti.com
Headers show
Series Add Support for eMMC in AM65x-evm | expand

Message

Faiz Abbas Feb. 5, 2019, 2:12 p.m. UTC
Add Support for eMMC in TI's AM65x-evm. The series starts
by syncing the sdhci0 node from the kernel. Then it adds APIs and
changes to the driver required for handling the driver's integrated
phy. The current maximum supported speed is DDR52. Higher speeds and
tuning support will be added in a subsequent series.

Support for booting from eMMC will also be added in subsequent patches.

Tested on Lokesh's branch[1] as sysfw loading for AM65x is not yet
upstream.

[1] https://github.com/lokeshvutla/u-boot/tree/devel/am65x-evm-boot

Changes in v2:
Patch 9: Fixed return value
Patch 12: Fixed spacing

Faiz Abbas (13):
  arm64: dts: k3: Sync sdhci0 node from kernel
  mmc: am654_mmc: Change driver name
  mmc: am654_sdhci: Remove quirks
  regmap: Add API regmap_init_mem_index()
  regmap: Add support for polling on a register
  mmc: sdhci: Add support for sdhci-caps-mask
  mmc: sdhci: Make sdhci_set_clock() non static
  arm: dts: k3: Add phy specific properties to SD card node
  mmc: sdhci: Make set_ios_post() return int
  mmc: am654_sdhci: Add Support for PHY
  configs: am65x_evm: Enable CONFIG_REGMAP
  mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings
  mmc: am654_sdhci: Add a platform specific set_control_reg() callback

 arch/arm/dts/k3-am65-main.dtsi               |  22 ++
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi |  40 +--
 arch/arm/dts/k3-am654-base-board.dts         |  28 ++
 configs/am65x_evm_a53_defconfig              |   4 +-
 configs/am65x_evm_r5_defconfig               |   4 +-
 drivers/core/regmap.c                        |  42 +++
 drivers/mmc/Kconfig                          |   9 +-
 drivers/mmc/Makefile                         |   2 +-
 drivers/mmc/am654_sdhci.c                    | 338 +++++++++++++++++++
 drivers/mmc/k3_arsan_sdhci.c                 | 109 ------
 drivers/mmc/sdhci.c                          |  53 ++-
 drivers/mmc/xenon_sdhci.c                    |   4 +-
 drivers/mmc/zynq_sdhci.c                     |  31 +-
 include/regmap.h                             |  36 ++
 include/sdhci.h                              |  22 +-
 15 files changed, 552 insertions(+), 192 deletions(-)
 create mode 100644 drivers/mmc/am654_sdhci.c
 delete mode 100644 drivers/mmc/k3_arsan_sdhci.c