Skip to content

Add Support for eMMC in AM65x-evm

Faiz Abbas u-boot 9 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest14 patches 0 repliesNew
  2. v715 patches 0 repliesSuperseded
  3. v6 posting 2/20 of 15 patches 0 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v6 posting 1/215 patches0 repliesSuperseded
v515 patches0 repliesSuperseded
v415 patches0 repliesSuperseded
v313 patches0 repliesSuperseded
v213 patches0 repliesSuperseded
v113 patches0 repliesSuperseded

Changes in v8 from the cover letter

1. Fixed build issues with some xylinx configs.
2. Fixed-up patch 10 to patch 8 so it makes more sense now.

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14arm64: dts: k3: Sync sdhci0 node from kernel and change driver namearch/arm/dts/k3-am65-main.dtsi arch/arm/dts/k3-am654-base-board-u-boot.dtsi arch/arm/dts/k3-am654-base-board.dts +6 more+116 -491 reply
2/14mmc: am654_sdhci: Remove quirksdrivers/mmc/am654_sdhci.c+0 -31 reply
3/14regmap: Add API regmap_init_mem_index()drivers/core/regmap.c include/regmap.h+44 -01 reply
4/14mmc: sdhci: Add support for sdhci-caps-maskdrivers/mmc/sdhci.c+15 -31 reply
5/14mmc: sdhci: Make sdhci_set_clock() non staticdrivers/mmc/sdhci.c include/sdhci.h+2 -11 reply
6/14arm: dts: k3: Add phy specific properties to SD card nodearch/arm/dts/k3-am654-base-board-u-boot.dtsi arch/arm/dts/k3-am654-r5-base-board.dts+4 -01 reply
7/14mmc: sdhci: Make set_ios_post() return intdrivers/mmc/sdhci.c drivers/mmc/xenon_sdhci.c include/sdhci.h+5 -31 reply
8/14mmc: am654_sdhci: Add Support for PHYdrivers/mmc/Kconfig drivers/mmc/am654_sdhci.c+219 -71 reply
9/14configs: am65x_evm: Enable CONFIG_REGMAPconfigs/am65x_evm_a53_defconfig configs/am65x_evm_r5_defconfig+4 -01 reply
10/14mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timingsdrivers/mmc/sdhci.c drivers/mmc/zynq_sdhci.c include/sdhci.h+55 -371 reply
11/14mmc: am654_sdhci: Add a platform specific set_control_reg() callbackdrivers/mmc/am654_sdhci.c+17 -11 reply
12/14configs: am65x: Add configs to support environment in eMMCconfigs/am65x_evm_a53_defconfig include/configs/am65x_evm.h+12 -31 reply
13/14am65x_evm: Add Support for creating a filesystem GPT partition in eMMCinclude/configs/am65x_evm.h+7 -21 reply
14/14configs: am65x_evm_a53: Add Support for creating GPT partitionsconfigs/am65x_evm_a53_defconfig+1 -11 reply

Reviews trailers per patch

10 of 14 patches have a Reviewed-by or Acked-by.

PatchTom Rini
1/14R-b
2/14R-b
3/14R-b
4/14R-b
5/14R-b
6/14R-b
7/14
8/14R-b
9/14R-b
10/14R-b
11/14R-b
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [U-Boot] [PATCH v8 00/14] Add Support for eMMC in AM65x-evm

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.

Tested with Andreas's latest series[1] on top. Can be applied independently of that series though.

Changes in v8:
1. Fixed build issues with some xylinx configs.
2. Fixed-up patch 10 to patch 8 so it makes more sense now.

Changes in v7:
Fixed a device tree entry in patch 1 and tested eMMC boot as well with Andreas's latest series[1].

Changes in v6:
1. Squashed one more dependency for clk_200mhz from Andreas's patches[1] into patch 1. Patches now build without any help from the other
series.

2. Improved line wrapping in patch 8.

Changes in v5:
Patches were tested with Andreas's system firmware patches[1] but can now be
independently merged cleanly on latest U-boot.

Changes in v4:
1. Dropped the patch including regmap_read_poll_timeout() because that support was
already added by someone else
2. Fixed a NULL pointer exception in patch 8.
3. Rebased on top of latest master
4. Added extra patches to support GPT partitions in user partition
5. Added Support for environment in eMMC by default

Changes in v3:
Patch 9: Got rid of variable ret

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

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=111844

Faiz Abbas (14):
arm64: dts: k3: Sync sdhci0 node from kernel and change driver name
mmc: am654_sdhci: Remove quirks
regmap: Add API regmap_init_mem_index()
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
configs: am65x: Add configs to support environment in eMMC
am65x_evm: Add Support for creating a filesystem GPT partition in eMMC
configs: am65x_evm_a53: Add Support for creating GPT partitions

 arch/arm/dts/k3-am65-main.dtsi               |  22 ++
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi |  30 +-
 arch/arm/dts/k3-am654-base-board.dts         |  28 ++
 arch/arm/dts/k3-am654-r5-base-board.dts      |  39 +++
 configs/am65x_evm_a53_defconfig              |  11 +-
 configs/am65x_evm_r5_defconfig               |   4 +-
 drivers/core/regmap.c                        |  42 +++
 drivers/mmc/Kconfig                          |   9 +-
 drivers/mmc/Makefile                         |   2 +-
 drivers/mmc/am654_sdhci.c                    | 333 +++++++++++++++++++
 drivers/mmc/k3_arsan_sdhci.c                 | 109 ------
 drivers/mmc/sdhci.c                          |  50 ++-
 drivers/mmc/xenon_sdhci.c                    |   4 +-
 drivers/mmc/zynq_sdhci.c                     |  45 +--
 include/configs/am65x_evm.h                  |  19 +-
 include/regmap.h                             |   2 +
 include/sdhci.h                              |  22 +-
 17 files changed, 581 insertions(+), 190 deletions(-)
 create mode 100644 drivers/mmc/am654_sdhci.c
 delete mode 100644 drivers/mmc/k3_arsan_sdhci.c
Signature · 1 line
2.19.2