All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/21] Add support for MMC higher speed modes for TI's am65x, j721e and j7200 platforms
@ 2020-10-16 11:08 Faiz Abbas
  2020-10-16 11:08 ` [PATCH v2 01/21] mmc: sdhci: Add helper functions for UHS modes Faiz Abbas
                   ` (21 more replies)
  0 siblings, 22 replies; 31+ messages in thread
From: Faiz Abbas @ 2020-10-16 11:08 UTC (permalink / raw)
  To: u-boot

The following patches add support for higher speeds in the SD card and
eMMC for TI's am65x, j721e, j7200 platforms.

With these patches, the following max speeds are supported:
j721e: DDR50, HS200
j7200: SDR104, HS200
am65x: SDR104*, HS200

v2:
1. Added patches to support UHS modes for the SD card even in am654x platforms.
2. Fixed an issue with patch 1 that was breaking builds on some platforms.

* There's an issue with the am65x base board such that the power cycle
circuit to the card takes way longer than the wait time in mmc core.
Until this is fixed, am654x-evm and -idk will only support High speed mode
at 3.3V (see patch 20) but this shouldn't block us from adding UHS modes in the
dtsi as well as in the configs so other boards can still take advantage of the
higher speed. UHS modes have been tested by adding the appropriate delay in the
power cycle circuit.

Link to v1:
https://patchwork.ozlabs.org/project/uboot/list/?series=206622

Faiz Abbas (21):
  mmc: sdhci: Add helper functions for UHS modes
  mmc: am654_sdhci: Unconditionally switch off DLL in the beginning of
    ios_post()
  mmc: am654_sdhci: Convert flag fields to BIT macro
  mmc: am654_sdhci: Add flag for PHY calibration
  mmc: am654_sdhci: Add support for AM65x SR2.0
  mmc: am654_sdhci: Add support for input tap delay
  mmc: am654_sdhci: Add support for writing to clkbuf_sel
  mmc: am654_sdhci: Add support for software tuning
  mmc: am654_sdhci: Fix HISPD bit configuration in some lower speed
    modes
  mmc: am654_sdhci: Use sdhci_set_control_reg()
  arm: dts: k3-am65: Fix mmc nodes
  arm: dts: k3-j721e-main: Update otap-delay values
  arm: dts: k3-j721e-common-proc-board: Add support for UHS modes for SD
    card
  arm: dts: k3-j7200-main: Add support for gpio0
  arm: dts: k3-j7200-common-proc-board: Enable support for UHS modes
  configs: j721e_evm: Add support for UHS modes
  configs: j7200_evm: Add support for UHS modes
  i2c: Makefile: Add SPL_DM_I2C_GPIO
  arm: dts: k3-am65-main: Add itapdly and clkbuf-sel values
  arm: dts: k3-am654-base-board: Limit Sd card to High speed modes
  configs: am65x_evm: Add configs for UHS modes

 arch/arm/dts/k3-am65-main.dtsi                |  31 ++
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi  |  67 +--
 arch/arm/dts/k3-am654-base-board.dts          |  26 ++
 arch/arm/dts/k3-am654-r5-base-board.dts       |  20 +-
 arch/arm/dts/k3-j7200-common-proc-board.dts   |  49 ++-
 arch/arm/dts/k3-j7200-main.dtsi               |  23 ++
 .../arm/dts/k3-j7200-r5-common-proc-board.dts |  15 +
 arch/arm/dts/k3-j721e-common-proc-board.dts   |  32 ++
 arch/arm/dts/k3-j721e-main.dtsi               |   8 +-
 configs/am65x_evm_a53_defconfig               |   8 +
 configs/am65x_evm_r5_defconfig                |   2 +
 configs/j7200_evm_a72_defconfig               |   8 +
 configs/j7200_evm_r5_defconfig                |   1 +
 configs/j721e_evm_a72_defconfig               |   8 +
 configs/j721e_evm_r5_defconfig                |   1 +
 drivers/i2c/Makefile                          |   2 +-
 drivers/mmc/Kconfig                           |   1 +
 drivers/mmc/am654_sdhci.c                     | 384 +++++++++++++-----
 drivers/mmc/sdhci.c                           |  51 +++
 include/sdhci.h                               |   1 +
 20 files changed, 564 insertions(+), 174 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2021-01-21 12:46 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16 11:08 [PATCH v2 00/21] Add support for MMC higher speed modes for TI's am65x, j721e and j7200 platforms Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 01/21] mmc: sdhci: Add helper functions for UHS modes Faiz Abbas
2020-10-21 11:38   ` Jaehoon Chung
2020-11-04 19:05     ` Faiz Abbas
2020-11-04 22:33       ` Jaehoon Chung
2021-01-19 12:35         ` Aswath Govindraju
2021-01-20 22:56           ` Jaehoon Chung
2021-01-21  4:13             ` Aswath Govindraju
2021-01-21  5:10               ` Jaehoon Chung
2021-01-21 12:46                 ` Aswath Govindraju
2020-10-16 11:08 ` [PATCH v2 02/21] mmc: am654_sdhci: Unconditionally switch off DLL in the beginning of ios_post() Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 03/21] mmc: am654_sdhci: Convert flag fields to BIT macro Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 04/21] mmc: am654_sdhci: Add flag for PHY calibration Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 05/21] mmc: am654_sdhci: Add support for AM65x SR2.0 Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 06/21] mmc: am654_sdhci: Add support for input tap delay Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 07/21] mmc: am654_sdhci: Add support for writing to clkbuf_sel Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 08/21] mmc: am654_sdhci: Add support for software tuning Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 09/21] mmc: am654_sdhci: Fix HISPD bit configuration in some lower speed modes Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 10/21] mmc: am654_sdhci: Use sdhci_set_control_reg() Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 11/21] arm: dts: k3-am65: Fix mmc nodes Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 12/21] arm: dts: k3-j721e-main: Update otap-delay values Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 13/21] arm: dts: k3-j721e-common-proc-board: Add support for UHS modes for SD card Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 14/21] arm: dts: k3-j7200-main: Add support for gpio0 Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 15/21] arm: dts: k3-j7200-common-proc-board: Enable support for UHS modes Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 16/21] configs: j721e_evm: Add " Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 17/21] configs: j7200_evm: " Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 18/21] i2c: Makefile: Add SPL_DM_I2C_GPIO Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 19/21] arm: dts: k3-am65-main: Add itapdly and clkbuf-sel values Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 20/21] arm: dts: k3-am654-base-board: Limit Sd card to High speed modes Faiz Abbas
2020-10-16 11:08 ` [PATCH v2 21/21] configs: am65x_evm: Add configs for UHS modes Faiz Abbas
2020-10-19  6:46 ` [PATCH v2 00/21] Add support for MMC higher speed modes for TI's am65x, j721e and j7200 platforms Peng Fan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.