<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/sh/kernel/cpu/clock-cpg.c, branch linux-2.6.34.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-02-22T10:11:22Z</updated>
<entry>
<title>sh: add sh7724 kick callback to clk_div4_table</title>
<updated>2010-02-22T10:11:22Z</updated>
<author>
<name>Magnus Damm</name>
</author>
<published>2010-02-19T09:26:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7be85c6eb4462cd973e680d9dcf897a7b5b26165'/>
<id>urn:sha1:7be85c6eb4462cd973e680d9dcf897a7b5b26165</id>
<content type='text'>
This patch adds a -&gt;kick() callback to clk_div4_table
and ties it into sh_clk_div4_set_rate(). A sh7724
specific kick function is also added that updates the
KICK bit whenever div4 clocks in FRQCRA and FRQCRB
have been set. Allows us to set the VPU clock.

Signed-off-by: Magnus Damm &lt;damm@opensource.se&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: introduce struct clk_div4_table</title>
<updated>2010-02-22T10:11:20Z</updated>
<author>
<name>Magnus Damm</name>
</author>
<published>2010-02-19T09:22:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a5f337ecd20e70e84a5cfc0f2c24d0366087026'/>
<id>urn:sha1:0a5f337ecd20e70e84a5cfc0f2c24d0366087026</id>
<content type='text'>
This patch introduces struct clk_div4_table. The structure
will be used to keep div4 specific data, and is with this
patch replacing the struct clk_div_mult_table pointer arg
used by the sh_clk_div4_register() functions.

Signed-off-by: Magnus Damm &lt;damm@opensource.se&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: clock-cpg div4 set_rate() shift fix</title>
<updated>2010-02-22T10:11:19Z</updated>
<author>
<name>Magnus Damm</name>
</author>
<published>2010-02-19T09:12:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=de7ca2144c36291a491bd39afad172f56432a4bb'/>
<id>urn:sha1:de7ca2144c36291a491bd39afad172f56432a4bb</id>
<content type='text'>
Make sure the div4 bitfield is shifted according
to the enable_bit value in sh_clk_div4_set_rate().

Signed-off-by: Magnus Damm &lt;damm@opensource.se&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: support SIU sourcing from external clock on sh7722</title>
<updated>2010-01-19T11:23:00Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
</author>
<published>2010-01-19T11:14:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=31c3af503eb75488aafb7a3d292b9e00962f2cee'/>
<id>urn:sha1:31c3af503eb75488aafb7a3d292b9e00962f2cee</id>
<content type='text'>
Implement .set_rate() for all SH "div4 clocks," .enable(), .disable(), and
.set_parent() for those, that support them. This allows, among other uses,
reparenting of SIU clocks to the external source, and enabling and
disabling of the IrDA clock on sh7722.

Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: use kzalloc() for cpg clocks</title>
<updated>2009-06-17T06:39:53Z</updated>
<author>
<name>Magnus Damm</name>
</author>
<published>2009-06-17T04:55:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c7eb4ebc9001ce343969f58fa538e164e82000b'/>
<id>urn:sha1:4c7eb4ebc9001ce343969f58fa538e164e82000b</id>
<content type='text'>
Convert the shared clock cpg code from bootmem to slab.
Without this patch the current bootmem code triggers
WARN_ON() because the slab is available.

Signed-off-by: Magnus Damm &lt;damm@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: add enable()/disable()/set_rate() to div6 code</title>
<updated>2009-06-11T06:12:58Z</updated>
<author>
<name>Magnus Damm</name>
</author>
<published>2009-06-04T05:31:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=098dee99d14e8324d3793df442d6078d0c134140'/>
<id>urn:sha1:098dee99d14e8324d3793df442d6078d0c134140</id>
<content type='text'>
This patch updates the div6 clock helper code to add support
for enable(), disable() and set_rate() callbacks.

Needed by the camera clock enabling board code on Migo-R.

Signed-off-by: Magnus Damm &lt;damm@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: clock div6 helper code</title>
<updated>2009-06-11T06:07:13Z</updated>
<author>
<name>Magnus Damm</name>
</author>
<published>2009-06-02T08:53:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2693e2740ddae364a80e6083043ba760b6366b69'/>
<id>urn:sha1:2693e2740ddae364a80e6083043ba760b6366b69</id>
<content type='text'>
This patch adds div6 clock helper code. The div6 clocks
are simply 6-bit divide-by-n modules where n is 1 to 64.

Needed for vclk on sh7722, sh7723, sh7343 and sh7366.
sh7724 needs this even more for vclk, fclka, fclkb,
irdaclk and spuclk.

Signed-off-by: Magnus Damm &lt;damm@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: clock div4 frequency table offset fix</title>
<updated>2009-06-11T06:07:04Z</updated>
<author>
<name>Magnus Damm</name>
</author>
<published>2009-06-02T08:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a50de78dc6d21ee074e9561c800d194bec12128b'/>
<id>urn:sha1:a50de78dc6d21ee074e9561c800d194bec12128b</id>
<content type='text'>
This patch fixes the per clock offset calculation in
sh_clk_div4_register(). Without this patch the offset
to the frequency table for each clock is incorrect.

Signed-off-by: Magnus Damm &lt;damm@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: shared div4 clock code</title>
<updated>2009-06-01T09:07:37Z</updated>
<author>
<name>Magnus Damm</name>
</author>
<published>2009-05-28T13:11:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1153e27eec25e9963f5843ba8932952bd9847ac'/>
<id>urn:sha1:a1153e27eec25e9963f5843ba8932952bd9847ac</id>
<content type='text'>
Add shared code for 4-bit divisor clocks.

Processor specific code can use SH_CLK_DIV4()
to initialize div4 clocks, and then use
sh_clk_div4_register() for registration.

Signed-off-by: Magnus Damm &lt;damm@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: shared mstp32 clock code</title>
<updated>2009-06-01T09:05:37Z</updated>
<author>
<name>Magnus Damm</name>
</author>
<published>2009-05-28T12:52:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6881e8bf3d86b23dd124134fae113ebd05fae08a'/>
<id>urn:sha1:6881e8bf3d86b23dd124134fae113ebd05fae08a</id>
<content type='text'>
Add shared 32-bit module stop bit clock support.

Processor specific code can use SH_CLK_MSTP32()
to initialize module stop bit clocks, and then
use sh_clk_mstp32() for registration.

Signed-off-by: Magnus Damm &lt;damm@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
</feed>
