From: heiko@sntech.de (Heiko Stuebner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] Revert "clk: rockchip: reset init state before mmc card initialization"
Date: Fri, 13 May 2016 01:41:11 +0200 [thread overview]
Message-ID: <2083095.luTHhmZ9EO@phil> (raw)
In-Reply-To: <1463076197-15900-1-git-send-email-dianders@chromium.org>
Am Donnerstag, 12. Mai 2016, 11:03:16 schrieb Douglas Anderson:
Not sure what the policy is for revert-subjects in the clock-tree, but I
guess
clk: rockchip: Revert "reset init state before mmc card initialization"
might look nicer?
> This reverts commit 7a03fe6f48f3 ("clk: rockchip: reset init state
> before mmc card initialization").
I've tested these two patches together with the dw_mmc one and everything
that worked before still works (tuning on veyron-jerry) and everything that
didn't work still doesn't work (tuning on firefly [likely a regulator issue]).
And re-checking the code against the TRM I now also see the mask that is to
short (1 bit in the code vs. the actual 2 bits described in the manual)
[...]
> 1. Just this revert: likely will fix rk3288-veyron eMMC on some devices
> + other cases; might break someone with a strange bootloader that
> sets the phase to 0 or one that uses delay elements (pretty
> unpredicable what would happen in that case).
> 2. Just dw_mmc patch: fixes everyone. Effectly the dw_mmc patch will
> totally override the broken patch and fix everything.
> 3. Both patches: fixes everyone. Once dw_mmc is initting properly then
> any defaults from the clock code doesn't mattery.
I'm still trying to make up my mind on how to proceed - aka in which order
patches should get picked up.
Going with the "if it isn't upstream it doesn't exist" mantra Rob wrote
somewhere some days ago, taking this revert should not hurt anything, as all
the non-veyron devices currently don't support any tuning at all.
So I'd think except for the issue Shawn was originally trying to fix (for
some non-mainline board?) it should be possible to take this patch any time
independently of the dw_mmc part.
If Stephen or Mike want to do this directly, this is
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
> Fixes: 7a03fe6f48f3 ("clk: rockchip: reset init state before mmc card
> initialization")
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
next prev parent reply other threads:[~2016-05-12 23:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-12 18:03 [PATCH 1/2] Revert "clk: rockchip: reset init state before mmc card initialization" Douglas Anderson
2016-05-12 18:03 ` [PATCH 2/2] clk: rockchip: fix the rk3399 sdmmc sample shift Douglas Anderson
2016-05-12 23:10 ` Brian Norris
2016-05-12 23:47 ` Shawn Lin
2016-05-13 4:36 ` Doug Anderson
2016-05-13 7:46 ` Shawn Lin
2016-05-13 16:38 ` Doug Anderson
2016-05-12 23:41 ` Heiko Stuebner [this message]
2016-05-13 2:11 ` [PATCH 1/2] Revert "clk: rockchip: reset init state before mmc card initialization" Doug Anderson
2016-05-13 0:19 ` Shawn Lin
2016-05-17 21:56 ` Heiko Stuebner
2016-05-18 7:25 ` Shawn Lin
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=2083095.luTHhmZ9EO@phil \
--to=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).