<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/sh/clk/cpg.c, branch v3.18</title>
<subtitle>Linux Kernel (branches are rebased on master from time to time)</subtitle>
<id>https://sre.ring0.de/linux/atom?h=v3.18</id>
<link rel='self' href='https://sre.ring0.de/linux/atom?h=v3.18'/>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/'/>
<updated>2014-02-04T01:22:39Z</updated>
<entry>
<title>ARM: shmobile: wait for MSTP clock status to toggle, when enabling it</title>
<updated>2014-02-04T01:22:39Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
<email>g.liakhovetski@gmx.de</email>
</author>
<published>2013-12-14T15:23:51Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=a028c6da34d434e35ba8322568c756ea97ff3c18'/>
<id>urn:sha1:a028c6da34d434e35ba8322568c756ea97ff3c18</id>
<content type='text'>
On r-/sh-mobile SoCs MSTP clocks are used by the runtime PM to dynamically
enable and disable peripheral clocks. To make sure the clock has really
started we have to read back its status register until it confirms success.

Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski+renesas@gmail.com&gt;
Signed-off-by: Simon Horman &lt;horms+renesas@verge.net.au&gt;
</content>
</entry>
<entry>
<title>sh: clkfwk: bugfix: sh_clk_div_enable() care sh_clk_div_set_rate() if div6</title>
<updated>2013-01-11T11:57:58Z</updated>
<author>
<name>Kuninori Morimoto</name>
<email>kuninori.morimoto.gx@renesas.com</email>
</author>
<published>2012-11-26T06:01:46Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=5a799b824b6046befa7e10107a3d65f40816f645'/>
<id>urn:sha1:5a799b824b6046befa7e10107a3d65f40816f645</id>
<content type='text'>
764f4e4e33d18cde4dcaf8a0d860b749c6d6d08b
(sh: clkfwk: Use shared sh_clk_div_enable/disable())
shared enable/disable funcions for div4/div6.
But new sh_clk_div_enable() didn't care sh_clk_div_set_rate()
which is required on div6 clock.
This patch fixes it.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: clkfwk: fixup unsed variable warning</title>
<updated>2012-11-13T02:45:40Z</updated>
<author>
<name>Kuninori Morimoto</name>
<email>kuninori.morimoto.gx@renesas.com</email>
</author>
<published>2012-11-13T00:33:17Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=94091c6b9498116abe3035137d8c3e707528efd0'/>
<id>urn:sha1:94091c6b9498116abe3035137d8c3e707528efd0</id>
<content type='text'>
This patch solves above warning

${LINUX}/drivers/sh/clk/cpg.c:404:6: warning: \
unused variable 'val' [-Wunused-variable]

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>sh: clkfwk: add sh_clk_fsidiv_register()</title>
<updated>2012-11-08T06:21:30Z</updated>
<author>
<name>Kuninori Morimoto</name>
<email>kuninori.morimoto.gx@renesas.com</email>
</author>
<published>2012-10-31T03:06:55Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=9d626eccb1de90a310f3fb9bc5e8803706be1a95'/>
<id>urn:sha1:9d626eccb1de90a310f3fb9bc5e8803706be1a95</id>
<content type='text'>
This patch adds sh_clk_fsidiv_register() to share FSI-DIV clock code

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Acked-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
Signed-off-by: Simon Horman &lt;horms@verge.net.au&gt;
</content>
</entry>
<entry>
<title>sh: clkfwk: Consolidate div clk registration helper.</title>
<updated>2012-05-25T07:55:05Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2012-05-25T07:55:05Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=609d7558f232e583a31951c65a6ee43d81c65720'/>
<id>urn:sha1:609d7558f232e583a31951c65a6ee43d81c65720</id>
<content type='text'>
This consolidates the div6/4 versions of the clk registration wrapper.
The existing wrappers with their own sh_clk_ops are maintained for API
compatability, though in the future it should be possible to be rid of
them entirely.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: clkfwk: Consolidate div6/div4 clk_ops definitions.</title>
<updated>2012-05-25T07:43:42Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2012-05-25T07:43:42Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=e3c87607731e1a8937567e92a52eedee1bec622d'/>
<id>urn:sha1:e3c87607731e1a8937567e92a52eedee1bec622d</id>
<content type='text'>
Everything with the exception of the _reparent ops are now shared, so
switch everything over to common types.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: clkfwk: Use shared sh_clk_div_enable/disable().</title>
<updated>2012-05-25T07:34:48Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2012-05-25T07:34:48Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=764f4e4e33d18cde4dcaf8a0d860b749c6d6d08b'/>
<id>urn:sha1:764f4e4e33d18cde4dcaf8a0d860b749c6d6d08b</id>
<content type='text'>
This introduces a new flag for clocks that need to have their divisor
ratio set back to their initial mask at disable time to prevent
interactivity problems with the clock stop bit (presently div6 only).
With this in place it's possible to handle the corner case on top of the
div4 op without any particular need for leaving things split out.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: clkfwk: Use shared sh_clk_div_set_rate()</title>
<updated>2012-05-25T06:52:10Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2012-05-25T06:52:10Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=0fa22168e00106797f28b2655aaefd0d16a6e67b'/>
<id>urn:sha1:0fa22168e00106797f28b2655aaefd0d16a6e67b</id>
<content type='text'>
Follows the sh_clk_div_recalc() change.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: clkfwk: Use shared sh_clk_div_recalc().</title>
<updated>2012-05-25T06:26:01Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2012-05-25T06:26:01Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=75f5f8a56e0fdf6d32b3ae9c44c10bc0acd3857c'/>
<id>urn:sha1:75f5f8a56e0fdf6d32b3ae9c44c10bc0acd3857c</id>
<content type='text'>
This generalizes the div4 recalc routine for use by div6 and others, then
makes it the default.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: clkfwk: Introduce a div_mask for variable div types.</title>
<updated>2012-05-25T06:21:43Z</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2012-05-25T06:21:43Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=1111cc1e8080b5ff46f5b945acb2f99d6176b2d1'/>
<id>urn:sha1:1111cc1e8080b5ff46f5b945acb2f99d6176b2d1</id>
<content type='text'>
This plugs in a div_mask for the clock and sets it up for the existing
div6/4 cases. This will make it possible to support other div types, as
well as share more div6/4 infrastructure.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
</feed>
