From: Alexandru M Stan <amstan@chromium.org>
To: tgih.jun@samsung.com, jh80.chung@samsung.com, ulf.hansson@linaro.org
Cc: Heiko Stuebner <heiko@sntech.de>,
Doug Anderson <dianders@chromium.org>,
addy ke <addy.ke@rock-chips.com>,
Andrew Bresticker <abrestic@chromium.org>,
Sonny Rao <sonnyrao@chromium.org>,
Kever Yang <kever.yang@rock-chips.com>,
Mike Turquette <mturquette@linaro.org>,
linux-rockchip@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org,
Alexandru M Stan <amstan@chromium.org>
Subject: [PATCH 0/3] mmc: dw_mmc: Generic clock phase tuning that works with rk3288 (possibly more!)
Date: Thu, 18 Dec 2014 15:01:00 -0800 [thread overview]
Message-ID: <1418943663-10012-1-git-send-email-amstan@chromium.org> (raw)
This series implements most of what's required to have tuning work on rk3288. A
lot of this is inspired by the exynos tuning code, but generalized to work for
any number of phases. At one point I realized that the tuning is not rockchip
specific so I changed it to work for any dw_mmc device.
Rockchip specific stuff:
"rk3288: Add drive/sample clocks" needs "ARM: dts: rockchip: set dw_mmc max-freq
150Mhz" to apply cleanly. So this series is based on heiko's github repository:
https://github.com/mmind/linux-rockchip/tree/wip/v3.20-armsoc/dts
The missing DTO interrupt is still a problem in DWMMC, at least on rockchip. So
if you want to test this you might want to grab "[PATCH v3] mmc: dw_mmc: add
quirk for broken data transfer over scheme" and my change in the replies there.
Warning: it still causes problems on some cards.
And of course one would have to enable the high speed functionality, something
like this would suffice:
https://chromium-review.googlesource.com/#/c/227199/34/arch/arm/boot/dts/rk3288-veyron.dtsi
Alexandru M Stan (3):
mmc: dw_mmc: dt-binding: Add tuning related things
mmc: dw_mmc: Generic MMC tuning with the clock phase framework
ARM: dts: rk3288: Add drive/sample clocks for dw_mmc devices
.../devicetree/bindings/mmc/synopsys-dw-mshc.txt | 14 +-
arch/arm/boot/dts/rk3288.dtsi | 20 ++-
drivers/mmc/host/dw_mmc.c | 189 +++++++++++++++++++++
include/linux/mmc/dw_mmc.h | 3 +
4 files changed, 214 insertions(+), 12 deletions(-)
--
2.2.0.rc0.207.ga3a616c
next reply other threads:[~2014-12-18 23:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-18 23:01 Alexandru M Stan [this message]
2014-12-18 23:01 ` [PATCH 1/3] mmc: dw_mmc: dt-binding: Add tuning related things Alexandru M Stan
2014-12-19 0:36 ` Doug Anderson
2014-12-18 23:01 ` [PATCH 2/3] mmc: dw_mmc: Generic MMC tuning with the clock phase framework Alexandru M Stan
2014-12-19 0:20 ` Doug Anderson
2014-12-19 18:29 ` Stephen Boyd
2014-12-19 8:51 ` Ulf Hansson
2014-12-18 23:01 ` [PATCH 3/3] ARM: dts: rk3288: Add drive/sample clocks for dw_mmc devices Alexandru M Stan
2014-12-19 0:21 ` Doug Anderson
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=1418943663-10012-1-git-send-email-amstan@chromium.org \
--to=amstan@chromium.org \
--cc=abrestic@chromium.org \
--cc=addy.ke@rock-chips.com \
--cc=dianders@chromium.org \
--cc=heiko@sntech.de \
--cc=jh80.chung@samsung.com \
--cc=kever.yang@rock-chips.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mturquette@linaro.org \
--cc=sonnyrao@chromium.org \
--cc=tgih.jun@samsung.com \
--cc=ulf.hansson@linaro.org \
/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