<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/clk/sirf, branch v4.4.73</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>clk: atlas7: fix noc/socket disconnect/reconnect for unit clks</title>
<updated>2015-09-29T15:27:14+00:00</updated>
<author>
<name>Guo Zeng</name>
<email>Guo.Zeng@csr.com</email>
</author>
<published>2015-08-14T01:11:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a3ff23375aa4dac7ceee2087f02b4141c78c762e'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>clk: atlas7: move variable-definition together</title>
<updated>2015-09-29T15:27:13+00:00</updated>
<author>
<name>Guo Zeng</name>
<email>Guo.Zeng@csr.com</email>
</author>
<published>2015-08-14T01:11:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1f57d1d88cb2a89466e1782e1c2fd358771ea4c5'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>clk: atlas7: fix pll missed divide NR in fraction mode</title>
<updated>2015-08-24T23:49:08+00:00</updated>
<author>
<name>Guo Zeng</name>
<email>guo.zeng@csr.com</email>
</author>
<published>2015-08-04T14:45:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b32a7cc63bee7bffbd61f88b157b78a9b2101de0'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>clk: atlas7: fix bit field and its root clk for coresight_tpiu</title>
<updated>2015-08-24T23:49:07+00:00</updated>
<author>
<name>Guo Zeng</name>
<email>guo.zeng@csr.com</email>
</author>
<published>2015-08-04T14:45:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cf8709eabc07c4681eb0bfd63139142c9bef8b59'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>clk: atlas7: replace dto resolution magic number by macro</title>
<updated>2015-08-24T23:49:06+00:00</updated>
<author>
<name>Yibo Cai</name>
<email>yibo.cai@csr.com</email>
</author>
<published>2015-08-04T14:45:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d1ccbddd090b74b8027727cb543b9c23d7f0f23e'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>clk: atlas7: fix integer overflow in dto rate calculation</title>
<updated>2015-08-24T23:49:06+00:00</updated>
<author>
<name>Yibo Cai</name>
<email>yibo.cai@csr.com</email>
</author>
<published>2015-08-04T14:45:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6132e89aef51df044246b5aef822144217794ae1'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>clk: atlas7: export mux clks so that consumers can get them</title>
<updated>2015-08-24T23:49:05+00:00</updated>
<author>
<name>Guo Zeng</name>
<email>guo.zeng@csr.com</email>
</author>
<published>2015-08-04T14:45:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b1062298fea59dca23cdbcafaa5bed79c273d88f'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>clk: atlas7: add lost pwm unit clks</title>
<updated>2015-08-24T23:49:04+00:00</updated>
<author>
<name>Guo Zeng</name>
<email>Guo.Zeng@csr.com</email>
</author>
<published>2015-08-04T14:45:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3922107c796164560b797ae8dece697b5b5e4c24'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>clk: sirf: Convert to clk_hw based provider APIs</title>
<updated>2015-08-24T23:48:54+00:00</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2015-07-31T00:20:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b17dbff418f62e87fdb3d683d532c139c4f1bf31'/>
<id>b17dbff418f62e87fdb3d683d532c139c4f1bf31</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: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We're removing struct clk from the clk provider API, so switch
this code to using the clk_hw based provider APIs.

Cc: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clk: sirf: Properly include clk.h</title>
<updated>2015-07-20T18:11:13+00:00</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2015-06-19T22:00:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fdb94059d89aab102b4debc30e77f0b5521f8148'/>
<id>fdb94059d89aab102b4debc30e77f0b5521f8148</id>
<content type='text'>
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Move the include of clk.h into
clk-common.c because that's the only file that's really using
clk.h, even if it's included into the atlas6 and prima2 files.

Cc: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Move the include of clk.h into
clk-common.c because that's the only file that's really using
clk.h, even if it's included into the atlas6 and prima2 files.

Cc: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
