Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1695434
| From | Maxime Ripard <maxime.ripard@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 02/10] clk: sunxi-ng: Add MP_MMC clocks that support MMC timing modes switching |
| Date | 2017-07-25 09:40 +0200 |
| Message-ID | <u72BH-8li-9@gated-at.bofh.it> (permalink) |
| References | <u6M3T-5Cy-11@gated-at.bofh.it> <u6M3T-5Cy-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Mon, Jul 24, 2017 at 09:58:57PM +0800, Chen-Yu Tsai wrote: > All of our MMC clocks are of the MP clock type. A few MMC clocks on some > SoCs, such as MMC2 on the A83T, support new/old timing mode switching. > > From a clock rate point of view, when the new timing mode is active. the > output clock rate is halved. > > This patch adds a special wrapper class of clocks, MP_MMC, around the > generic MP type clocks. The rate related callbacks in ccu_mp_mmc_ops > for this class look at the timing mode bit and apply the /2 post-divider > when needed, before passing it through to the generic class ops, > ccu_mp_ops. > > Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v3 02/10] clk: sunxi-ng: Add MP_MMC clocks that support MMC timing modes switching Chen-Yu Tsai <wens@csie.org> - 2017-07-24 16:00 +0200 Re: [PATCH v3 02/10] clk: sunxi-ng: Add MP_MMC clocks that support MMC timing modes switching Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-07-25 09:40 +0200
csiph-web