<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/clk/sirf, 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-08-21T08:53:06Z</updated>
<entry>
<title>clk: clk-atlas6: fix return value check in atlas6_clk_init()</title>
<updated>2020-08-21T08:53:06Z</updated>
<author>
<name>Xu Wang</name>
</author>
<published>2020-07-13T03:21:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d8d87cae0d59e4a03c78621015fd28f8a54540bd'/>
<id>urn:sha1:d8d87cae0d59e4a03c78621015fd28f8a54540bd</id>
<content type='text'>
[ Upstream commit 12b90b40854a8461a02ef19f6f4474cc88d64b66 ]

In case of error, the function clk_register() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().

Signed-off-by: Xu Wang &lt;vulab@iscas.ac.cn&gt;
Link: https://lore.kernel.org/r/20200713032143.21362-1-vulab@iscas.ac.cn
Acked-by: Barry Song &lt;baohua@kernel.org&gt;
Fixes: 7bf21bc81f28 ("clk: sirf: re-arch to make the codes support both prima2 and atlas6")
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: sirf: Don't reference clk_init_data after registration</title>
<updated>2019-10-07T19:01:00Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2019-07-31T19:35:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dde75090314d42b88942da32be722207958de075'/>
<id>urn:sha1:dde75090314d42b88942da32be722207958de075</id>
<content type='text'>
[ Upstream commit af55dadfbce35b4f4c6247244ce3e44b2e242b84 ]

A future patch is going to change semantics of clk_register() so that
clk_hw::init is guaranteed to be NULL after a clk is registered. Avoid
referencing this member here so that we don't run into NULL pointer
exceptions.

Cc: Guo Zeng &lt;Guo.Zeng@csr.com&gt;
Cc: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
Link: https://lkml.kernel.org/r/20190731193517.237136-6-sboyd@kernel.org
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: atlas7: fix noc/socket disconnect/reconnect for unit clks</title>
<updated>2015-09-29T15:27:14Z</updated>
<author>
<name>Guo Zeng</name>
</author>
<published>2015-08-14T01:11:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a3ff23375aa4dac7ceee2087f02b4141c78c762e'/>
<id>urn:sha1:a3ff23375aa4dac7ceee2087f02b4141c78c762e</id>
<content type='text'>
Power management on of NoC(Notwork On Chip) requires that disconnect
and reconnect routine should been done during clk disable/enable.

also there are different types of clocks,
For NoC Macro clocks, write idle_bit and wait for hardward ACK;
For Socket clocks, write idle_bit;
For others, do nothing.

Signed-off-by: Guo Zeng &lt;Guo.Zeng@csr.com&gt;
Signed-off-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Michael Turquette &lt;mturquette@baylibre.com&gt;
</content>
</entry>
<entry>
<title>clk: atlas7: move variable-definition together</title>
<updated>2015-09-29T15:27:13Z</updated>
<author>
<name>Guo Zeng</name>
</author>
<published>2015-08-14T01:11:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1f57d1d88cb2a89466e1782e1c2fd358771ea4c5'/>
<id>urn:sha1:1f57d1d88cb2a89466e1782e1c2fd358771ea4c5</id>
<content type='text'>
re-order the codes more reasonable by moving variable-definition
together.

Signed-off-by: Guo Zeng &lt;Guo.Zeng@csr.com&gt;
Signed-off-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Michael Turquette &lt;mturquette@baylibre.com&gt;
</content>
</entry>
<entry>
<title>clk: atlas7: fix pll missed divide NR in fraction mode</title>
<updated>2015-08-24T23:49:08Z</updated>
<author>
<name>Guo Zeng</name>
</author>
<published>2015-08-04T14:45:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b32a7cc63bee7bffbd61f88b157b78a9b2101de0'/>
<id>urn:sha1:b32a7cc63bee7bffbd61f88b157b78a9b2101de0</id>
<content type='text'>
PLL VCO frequency is given by Fvco = Fref * 2 * NF / NR
in integer-N mode, or by Fvco = Fref * SSN / NR in Spread
Spectrum (fractional-N) mode. Thus fix the missing part
of NR

Signed-off-by: Guo Zeng &lt;guo.zeng@csr.com&gt;
Signed-off-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: atlas7: fix bit field and its root clk for coresight_tpiu</title>
<updated>2015-08-24T23:49:07Z</updated>
<author>
<name>Guo Zeng</name>
</author>
<published>2015-08-04T14:45:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf8709eabc07c4681eb0bfd63139142c9bef8b59'/>
<id>urn:sha1:cf8709eabc07c4681eb0bfd63139142c9bef8b59</id>
<content type='text'>
bit4 thcpum_cpudiv4_clken 	r/w
thcpum_cpudiv4_clk clock enable (default: 1)
Root clock CPU_CLK must be enabled for this clock to be enabled

bit3 coresight_tpiu_clken 	r/w
coresight_tpiu_clk clock enable (default: 0)
Root clock TPIU_CLK must be enabled for this clock to be enabled

Signed-off-by: Guo Zeng &lt;guo.zeng@csr.com&gt;
Signed-off-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: atlas7: replace dto resolution magic number by macro</title>
<updated>2015-08-24T23:49:06Z</updated>
<author>
<name>Yibo Cai</name>
</author>
<published>2015-08-04T14:45:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d1ccbddd090b74b8027727cb543b9c23d7f0f23e'/>
<id>urn:sha1:d1ccbddd090b74b8027727cb543b9c23d7f0f23e</id>
<content type='text'>
Signed-off-by: Yibo Cai &lt;yibo.cai@csr.com&gt;
Signed-off-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: atlas7: fix integer overflow in dto rate calculation</title>
<updated>2015-08-24T23:49:06Z</updated>
<author>
<name>Yibo Cai</name>
</author>
<published>2015-08-04T14:45:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6132e89aef51df044246b5aef822144217794ae1'/>
<id>urn:sha1:6132e89aef51df044246b5aef822144217794ae1</id>
<content type='text'>
I cannot believe that I spend quite a lot time in finding this bug.
It seems a pitfall people tend to fall in.

In "int64 = int32 * int32", conversion from 32-bits to 64-bits comes
after the multiplication. So this statement may not work as expected.

Signed-off-by: Yibo Cai &lt;yibo.cai@csr.com&gt;
Signed-off-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: atlas7: export mux clks so that consumers can get them</title>
<updated>2015-08-24T23:49:05Z</updated>
<author>
<name>Guo Zeng</name>
</author>
<published>2015-08-04T14:45:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b1062298fea59dca23cdbcafaa5bed79c273d88f'/>
<id>urn:sha1:b1062298fea59dca23cdbcafaa5bed79c273d88f</id>
<content type='text'>
this patch makes mux clks can be referenced by device drivers.

Signed-off-by: Guo Zeng &lt;guo.zeng@csr.com&gt;
Signed-off-by: Barry Song &lt;Barry.Song@csr.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: atlas7: add lost pwm unit clks</title>
<updated>2015-08-24T23:49:04Z</updated>
<author>
<name>Guo Zeng</name>
</author>
<published>2015-08-04T14:45:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3922107c796164560b797ae8dece697b5b5e4c24'/>
<id>urn:sha1:3922107c796164560b797ae8dece697b5b5e4c24</id>
<content type='text'>
Signed-off-by: Guo Zeng &lt;Guo.Zeng@csr.com&gt;
Signed-off-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
</feed>
