From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 0/8] mmc: zynqmp_sdhci: Add support for Tap delay
Date: Fri, 23 Oct 2020 13:14:38 +0200 [thread overview]
Message-ID: <cover.1603451681.git.michal.simek@xilinx.com> (raw)
Hi,
this patchset adding support for Tap delay programming for ZynqMP and
Versal.
Based on mainline discussion also DT properties have been introduced which
are documented here.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/Documentation/devicetree/bindings/mmc/mmc-controller.yaml?h=v5.7-rc6&id=fec81c5bca2499b4a263667860018c2ce47f4f51
The patchset is using these DT properties which are optional.
Default values are also listed.
The patchset is based on:
https://lists.denx.de/pipermail/u-boot/2020-May/410326.html
Also new code is adding checking for SOCs which are not needed at that time
when patch is applied (For example "mmc: zynq_sdhci: Read clock phase
delays from dt" and IS_ENABLED(CONFIG_ARCH_ZYNQMP)...
But I kept it there for more cleaner patches built on the top.
Thanks,
Michal
Changes in v2:
- Timing macro's are common to all mmc drivers, hence remove zynq_sdhci
from subject and description.
- Add common function to set tapdelays based on the values read from DT
- Remove tapdelay settings based on speed
Ashok Reddy Soma (6):
Revert "mmc: zynq: parse dt when probing"
mmc: Define timing macro's
mmc: zynq_sdhci: Set tapdelays based on clk phase delays
mmc: zynq_sdhci: Add clock phase delays for Versal
mmc: zynq_sdhci: Extend UHS timings till hs200
mmc: zynq_sdhci: Add common function to set input/output tapdelays
Michal Simek (2):
mmc: zynq_sdhci: Move macro to the top
mmc: zynq_sdhci: Read clock phase delays from dt
board/xilinx/zynqmp/tap_delays.c | 199 +++------------
drivers/mmc/sdhci.c | 3 +-
drivers/mmc/zynq_sdhci.c | 406 +++++++++++++++++++++++++++++--
include/mmc.h | 13 +
include/sdhci.h | 1 +
include/zynqmp_tap_delay.h | 5 +-
6 files changed, 434 insertions(+), 193 deletions(-)
--
2.28.0
next reply other threads:[~2020-10-23 11:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-23 11:14 Michal Simek [this message]
2020-10-23 11:14 ` [PATCH v2 1/8] Revert "mmc: zynq: parse dt when probing" Michal Simek
2020-10-26 7:22 ` Jaehoon Chung
2020-10-26 9:19 ` Michal Simek
2020-10-23 11:14 ` [PATCH v2 2/8] mmc: Define timing macro's Michal Simek
2020-10-23 11:14 ` [PATCH v2 3/8] mmc: zynq_sdhci: Move macro to the top Michal Simek
2020-10-23 11:14 ` [PATCH v2 4/8] mmc: zynq_sdhci: Read clock phase delays from dt Michal Simek
2020-10-23 11:14 ` [PATCH v2 5/8] mmc: zynq_sdhci: Set tapdelays based on clk phase delays Michal Simek
2020-10-26 9:48 ` Jaehoon Chung
2020-10-26 11:21 ` Ashok Reddy Soma
2020-10-23 11:14 ` [PATCH v2 6/8] mmc: zynq_sdhci: Add clock phase delays for Versal Michal Simek
2020-10-23 11:14 ` [PATCH v2 7/8] mmc: zynq_sdhci: Extend UHS timings till hs200 Michal Simek
2020-10-23 11:14 ` [PATCH v2 8/8] mmc: zynq_sdhci: Add common function to set input/output tapdelays Michal Simek
2020-10-26 9:25 ` [PATCH v2 0/8] mmc: zynqmp_sdhci: Add support for Tap delay Peng Fan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1603451681.git.michal.simek@xilinx.com \
--to=michal.simek@xilinx.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox