<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/drivers/clk/mmp, branch linux-3.18.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-3.18.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-3.18.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2014-03-27T03:59:27+00:00</updated>
<entry>
<title>clk: mmp: try to use closer one when do round rate</title>
<updated>2014-03-27T03:59:27+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2014-01-23T02:47:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5d26c15d3ba98c31b24286dac7a390a307fcff29'/>
<id>urn:sha1:5d26c15d3ba98c31b24286dac7a390a307fcff29</id>
<content type='text'>
The orignal code will use the bigger rate between
"previous rate" and "current rate" when caculate the
rate.
In fact, hardware cares about the closest one.
So choose the closer rate between "previous rate" and
"current rate".

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: mmp: fix the wrong calculation formula</title>
<updated>2014-03-27T03:59:27+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2014-01-23T02:47:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c45693a6480cee906557a9fba533a9f3c224f91e'/>
<id>urn:sha1:c45693a6480cee906557a9fba533a9f3c224f91e</id>
<content type='text'>
The formula is numerator/denominator = Fin / (Fout * factor)
So
Fout = Fin * denominator / (numerator * factor).
Current clk_factor_round_rate and clk_factor_recalc_rate use
wrong formula. This patch will fix them.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: mmp: fix wrong mask when calculate denominator</title>
<updated>2014-03-27T03:59:26+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2014-01-23T02:47:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7433ab43fa17094173f18a39f33c3a24d50b300f'/>
<id>urn:sha1:7433ab43fa17094173f18a39f33c3a24d50b300f</id>
<content type='text'>
The code has typo when calculate denominator. It should use
den_mask instead of num_mask.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: add CLK_SET_RATE_NO_REPARENT flag</title>
<updated>2013-08-19T19:27:17+00:00</updated>
<author>
<name>James Hogan</name>
<email>james.hogan@imgtec.com</email>
</author>
<published>2013-07-29T11:25:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=819c1de344c5b8350bffd35be9a0fa74541292d3'/>
<id>urn:sha1:819c1de344c5b8350bffd35be9a0fa74541292d3</id>
<content type='text'>
Add a CLK_SET_RATE_NO_REPARENT clock flag, which will prevent muxes
being reparented during clk_set_rate.

To avoid breaking existing platforms, all callers of clk_register_mux()
are adjusted to pass the new flag. Platform maintainers are encouraged
to remove the flag if they wish to allow mux reparenting on set_rate.

Signed-off-by: James Hogan &lt;james.hogan@imgtec.com&gt;
Reviewed-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Cc: Mike Turquette &lt;mturquette@linaro.org&gt;
Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
Cc: Sascha Hauer &lt;kernel@pengutronix.de&gt;
Cc: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Cc: Viresh Kumar &lt;viresh.linux@gmail.com&gt;
Cc: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Cc: Haojian Zhuang &lt;haojian.zhuang@linaro.org&gt;
Cc: Chao Xie &lt;xiechao.mail@gmail.com&gt;
Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: "Emilio López" &lt;emilio@elopez.com.ar&gt;
Cc: Gregory CLEMENT &lt;gregory.clement@free-electrons.com&gt;
Cc: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Cc: Prashant Gaikwad &lt;pgaikwad@nvidia.com&gt;
Cc: Thierry Reding &lt;thierry.reding@gmail.com&gt;
Cc: Peter De Schrijver &lt;pdeschrijver@nvidia.com&gt;
Cc: Pawel Moll &lt;pawel.moll@arm.com&gt;
Cc: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Cc: Andrew Chew &lt;achew@nvidia.com&gt;
Cc: Doug Anderson &lt;dianders@chromium.org&gt;
Cc: Heiko Stuebner &lt;heiko@sntech.de&gt;
Cc: Paul Walmsley &lt;pwalmsley@nvidia.com&gt;
Cc: Sylwester Nawrocki &lt;s.nawrocki@samsung.com&gt;
Cc: Thomas Abraham &lt;thomas.abraham@linaro.org&gt;
Cc: Tomasz Figa &lt;t.figa@samsung.com&gt;
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: spear-devel@list.st.com
Cc: linux-tegra@vger.kernel.org
Tested-by: Haojian Zhuang &lt;haojian.zhuang@gmail.com&gt;
Acked-by: Stephen Warren &lt;swarren@nvidia.com&gt; [tegra]
Acked-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt; [sunxi]
Acked-by: Sören Brinkmann &lt;soren.brinkmann@xilinx.com&gt; [Zynq]
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>ARM: pxa: remove cpu_is_xxx in gpio driver</title>
<updated>2013-04-11T01:59:23+00:00</updated>
<author>
<name>Haojian Zhuang</name>
<email>haojian.zhuang@linaro.org</email>
</author>
<published>2013-04-07T08:44:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2cab0292285ce3180224c130d2fb1104aee44ff1'/>
<id>urn:sha1:2cab0292285ce3180224c130d2fb1104aee44ff1</id>
<content type='text'>
Avoid to use cpu_is_xxx() in pxa gpio driver. Use platform_device_id
to identify the difference.

Signed-off-by: Haojian Zhuang &lt;haojian.zhuang@linaro.org&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: mmp: add clock definition for mmp2</title>
<updated>2012-08-28T21:15:42+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2012-08-20T02:55:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4c5bca3419527f5efde68771e791dd7bee5f19b9'/>
<id>urn:sha1:4c5bca3419527f5efde68771e791dd7bee5f19b9</id>
<content type='text'>
Initialize the clocks for mmp2

Signed-off-by: Chao Xie &lt;xiechao.mail@gmail.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Haojian Zhuang &lt;haojian.zhuang@gmail.com&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: mmp: add clock definition for pxa910</title>
<updated>2012-08-28T21:15:28+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2012-08-20T02:55:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=84a62e6ed7efe769e359aebbeab58b20ea1beba9'/>
<id>urn:sha1:84a62e6ed7efe769e359aebbeab58b20ea1beba9</id>
<content type='text'>
Initialize the clocks for pxa910

Signed-off-by: Chao Xie &lt;xiechao.mail@gmail.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Haojian Zhuang &lt;haojian.zhuang@gmail.com&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: mmp: add clock definition for pxa168</title>
<updated>2012-08-28T21:15:03+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2012-08-20T02:55:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e1b53b3d0fba5f052d3306bfac01ee40dc3c0d37'/>
<id>urn:sha1:e1b53b3d0fba5f052d3306bfac01ee40dc3c0d37</id>
<content type='text'>
Initialize the clocks for pxa168

Signed-off-by: Chao Xie &lt;xiechao.mail@gmail.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Haojian Zhuang &lt;haojian.zhuang@gmail.com&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: mmp: add mmp specific clocks</title>
<updated>2012-08-28T21:14:14+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2012-08-20T02:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6b63f023184e34b404b96bb9a8c4ac6692ff3fbd'/>
<id>urn:sha1:6b63f023184e34b404b96bb9a8c4ac6692ff3fbd</id>
<content type='text'>
add mmp specific clocks including apbc cloks, apmu clocks,
and pll2, fraction clocks

Signed-off-by: Chao Xie &lt;xiechao.mail@gmail.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Haojian Zhuang &lt;haojian.zhuang@gmail.com&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
</feed>
