<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/clk/mmp, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-02-05T13:03:41Z</updated>
<entry>
<title>clk: mmp2: Fix the order of timer mux parents</title>
<updated>2020-02-05T13:03:41Z</updated>
<author>
<name>Lubomir Rintel</name>
</author>
<published>2019-12-18T19:04:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c69bc89b8deeadc4f9cf0c173899ab9769fb11ba'/>
<id>urn:sha1:c69bc89b8deeadc4f9cf0c173899ab9769fb11ba</id>
<content type='text'>
[ Upstream commit 8bea5ac0fbc5b2103f8779ddff216122e3c2e1ad ]

Determined empirically, no documentation is available.

The OLPC XO-1.75 laptop used parent 1, that one being VCTCXO/4 (65MHz), but
thought it's a VCTCXO/2 (130MHz). The mmp2 timer driver, not knowing
what is going on, ended up just dividing the rate as of
commit f36797ee4380 ("ARM: mmp/mmp2: dt: enable the clock")'

Link: https://lore.kernel.org/r/20191218190454.420358-3-lkundrak@v3.sk
Signed-off-by: Lubomir Rintel &lt;lkundrak@v3.sk&gt;
Acked-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
Signed-off-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: mmp2: fix the clock id for sdh2_clk and sdh3_clk</title>
<updated>2019-11-28T17:25:42Z</updated>
<author>
<name>Lubomir Rintel</name>
</author>
<published>2018-09-10T12:01:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b4c4bde8b6eeba938f490bfdbcd36af2539e6be'/>
<id>urn:sha1:2b4c4bde8b6eeba938f490bfdbcd36af2539e6be</id>
<content type='text'>
[ Upstream commit 4917fb90eec7c26dac1497ada3bd4a325f670fcc ]

A typo that makes it impossible to get the correct clocks for
MMP2_CLK_SDH2 and MMP2_CLK_SDH3.

Signed-off-by: Lubomir Rintel &lt;lkundrak@v3.sk&gt;
Fixes: 1ec770d92a62 ("clk: mmp: add mmp2 DT support for clock driver")
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: mmp: Off by one in mmp_clk_add()</title>
<updated>2018-12-21T13:09:53Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2018-12-03T14:51:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1370aabe19c1e55fbe4bb62b035be797ab7db7ad'/>
<id>urn:sha1:1370aabe19c1e55fbe4bb62b035be797ab7db7ad</id>
<content type='text'>
[ Upstream commit 2e85c57493e391b93445c1e0d530b36b95becc64 ]

The &gt; comparison should be &gt;= or we write one element beyond the end of
the unit-&gt;clk_table[] array.

(The unit-&gt;clk_table[] array is allocated in the mmp_clk_init() function
and it has unit-&gt;nr_clks elements).

Fixes: 4661fda10f8b ("clk: mmp: add basic support functions for DT support")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: mmp: mmp2: fix return value check in mmp2_clk_init()</title>
<updated>2016-11-26T08:54:53Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2016-09-17T15:54:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8aa3e98c1a8bc46c0f63cc444bcf2d05dd64759'/>
<id>urn:sha1:c8aa3e98c1a8bc46c0f63cc444bcf2d05dd64759</id>
<content type='text'>
commit a29e52a6e66f4c0c895e7083e4bad2e7957f1fb5 upstream.

Fix the retrn value check which testing the wrong variable
in mmp2_clk_init().

Fixes: 1ec770d92a62 ("clk: mmp: add mmp2 DT support for clock driver")
Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: mmp: pxa168: fix return value check in pxa168_clk_init()</title>
<updated>2016-11-26T08:54:53Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2016-09-17T15:54:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96576127ffb7937c9c4cf43971b3ef2af0b13018'/>
<id>urn:sha1:96576127ffb7937c9c4cf43971b3ef2af0b13018</id>
<content type='text'>
commit deab07261d54b4db7b627d38e0efac97f176c6d6 upstream.

Fix the retrn value check which testing the wrong variable
in pxa168_clk_init().

Fixes: ab08aefcd12d ("clk: mmp: add pxa168 DT support for clock driver")
Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: mmp: pxa910: fix return value check in pxa910_clk_init()</title>
<updated>2016-11-26T08:54:53Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2016-09-17T15:55:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4709b4582acf5234fa6a4c6aef45822c223dfe5'/>
<id>urn:sha1:a4709b4582acf5234fa6a4c6aef45822c223dfe5</id>
<content type='text'>
commit 10f2bfb092e3b49000526c02cfe8b2abbbdbb752 upstream.

Fix the retrn value check which testing the wrong variable
in pxa910_clk_init().

Fixes: 2bc61da9f7ff ("clk: mmp: add pxa910 DT support for clock driver")
Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: mmp: add linux/clk.h includes</title>
<updated>2015-11-25T22:06:16Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2015-11-25T22:03:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c21ac06648a7a9985fa81a53ba3a65569a1de388'/>
<id>urn:sha1:c21ac06648a7a9985fa81a53ba3a65569a1de388</id>
<content type='text'>
The common clk implementation for MMP broke without anyone noticing
when we stopped including linux/clk.h from the clk-provider header.

This did not show up in the defconfig builds because those use the
legacy MMP clk drivers, and it did not show up in my randconfig tests
either because I was testing with my mmp multiplatform series
applied, which at some point gained the fixup.

This fixes the three broken files.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Fixes: 61ae76563ec3 ("clk: Remove clk.h from clk-provider.h")
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: mmp: Convert to clk_hw based provider APIs</title>
<updated>2015-08-24T23:48:49Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2015-07-31T00:20:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aef28cb6b3b22fb5a6718650340d2efcfe10dd20'/>
<id>urn:sha1:aef28cb6b3b22fb5a6718650340d2efcfe10dd20</id>
<content type='text'>
We're removing struct clk from the clk provider API, so switch
this code to using the clk_hw based provider APIs.

Cc: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: Replace __clk_get_num_parents with clk_hw_get_num_parents()</title>
<updated>2015-08-24T23:48:43Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2015-06-25T23:53:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=497295afb5ab070211a9963c80a89bc6fbfd6197'/>
<id>urn:sha1:497295afb5ab070211a9963c80a89bc6fbfd6197</id>
<content type='text'>
Mostly converted with the following semantic patch:

@@
struct clk_hw *E;
@@

-__clk_get_num_parents(E-&gt;clk)
+clk_hw_get_num_parents(E)

Acked-by: Boris Brezillon &lt;boris.brezillon@free-electrons.com&gt;
Cc: Chao Xie &lt;chao.xie@marvell.com&gt;
Cc: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Cc: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Cc: Tomasz Figa &lt;tomasz.figa@gmail.com&gt;
Cc: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Cc: "Emilio López" &lt;emilio@elopez.com.ar&gt;
Acked-by: Tero Kristo &lt;t-kristo@ti.com&gt;
Cc: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Acked-by: Sylwester Nawrocki &lt;s.nawrocki@samsung.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk/mmp: use kmemdup rather than duplicating its implementation</title>
<updated>2015-08-07T22:16:28Z</updated>
<author>
<name>Andrzej Hajda</name>
</author>
<published>2015-08-07T07:59:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e8f35aabae837e6d1a1d82a8cc54f8ce7366ed49'/>
<id>urn:sha1:e8f35aabae837e6d1a1d82a8cc54f8ce7366ed49</id>
<content type='text'>
The patch was generated using fixed coccinelle semantic patch
scripts/coccinelle/api/memdup.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2014320

Signed-off-by: Andrzej Hajda &lt;a.hajda@samsung.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
</feed>
