<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/clk/ingenic, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-03-23T19:11:29Z</updated>
<entry>
<title>clk: ingenic: Fix doc of ingenic_cgu_div_info</title>
<updated>2019-03-23T19:11:29Z</updated>
<author>
<name>Paul Cercueil</name>
</author>
<published>2019-01-28T02:09:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f11fa22a7a5f9ddfa9fabcf919fad4728ea38acd'/>
<id>urn:sha1:f11fa22a7a5f9ddfa9fabcf919fad4728ea38acd</id>
<content type='text'>
commit 7ca4c922aad2e3c46767a12f80d01c6b25337b59 upstream.

The 'div' field does not represent a number of bits used to divide
(understand: right-shift) the divider, but a number itself used to
divide the divider.

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Signed-off-by: Maarten ter Huurne &lt;maarten@treewalker.org&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: ingenic: Fix round_rate misbehaving with non-integer dividers</title>
<updated>2019-03-23T19:11:29Z</updated>
<author>
<name>Paul Cercueil</name>
</author>
<published>2019-01-28T02:09:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d4966247a99b8d549a3301fe06310911db286b8'/>
<id>urn:sha1:7d4966247a99b8d549a3301fe06310911db286b8</id>
<content type='text'>
commit bc5d922c93491878c44c9216e9d227c7eeb81d7f upstream.

Take a parent rate of 180 MHz, and a requested rate of 4.285715 MHz.
This results in a theorical divider of 41.999993 which is then rounded
up to 42. The .round_rate function would then return (180 MHz / 42) as
the clock, rounded down, so 4.285714 MHz.

Calling clk_set_rate on 4.285714 MHz would round the rate again, and
give a theorical divider of 42,0000028, now rounded up to 43, and the
rate returned would be (180 MHz / 43) which is 4.186046 MHz, aka. not
what we requested.

Fix this by rounding up the divisions.

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Tested-by: Maarten ter Huurne &lt;maarten@treewalker.org&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: Add Ingenic jz4725b CGU driver</title>
<updated>2018-10-16T22:19:48Z</updated>
<author>
<name>Paul Cercueil</name>
</author>
<published>2018-08-23T13:17:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=226dfa4726ebb102479d668e01160a1dc77485e8'/>
<id>urn:sha1:226dfa4726ebb102479d668e01160a1dc77485e8</id>
<content type='text'>
Add support for the clocks provided by the CGU in the Ingenic JZ4725B
SoC.

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: ingenic: Add proper Kconfig entries</title>
<updated>2018-10-16T22:19:15Z</updated>
<author>
<name>Paul Cercueil</name>
</author>
<published>2018-08-23T13:17:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0880fb86608acf1bbf4df9b3580e5a1b58fe8ba6'/>
<id>urn:sha1:0880fb86608acf1bbf4df9b3580e5a1b58fe8ba6</id>
<content type='text'>
Previously, the CGU code corresponding to the SoC for which we're
compiling the kernel was the only one enabled, which made it impossible
to build one kernel that supports them all.

Now, it is possible to select more than one SoC to support.

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: ingenic: Add missing flag for UDC clock</title>
<updated>2018-07-06T18:47:28Z</updated>
<author>
<name>Paul Cercueil</name>
</author>
<published>2018-06-27T12:14:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b555a4b9caecfcab1b2aade176df795ceceaefa'/>
<id>urn:sha1:2b555a4b9caecfcab1b2aade176df795ceceaefa</id>
<content type='text'>
The UDC clock of the JZ4740 SoC can be gated, but the data structure
representing it was missing the CGU_CLK_GATE flag to make it work.

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: ingenic: Fix incorrect data for the i2s clock</title>
<updated>2018-07-06T18:47:27Z</updated>
<author>
<name>Paul Cercueil</name>
</author>
<published>2018-06-27T12:14:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=574f4e80d59e5c669c0729718525df8bac5e4d78'/>
<id>urn:sha1:574f4e80d59e5c669c0729718525df8bac5e4d78</id>
<content type='text'>
The register field for configuring the divider for the i2s clock
occupies the bits [8-0], which means 9 bits and not 8.

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>docs: Fix some broken references</title>
<updated>2018-06-15T21:10:01Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2018-05-08T18:14:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5fb94e9ca333f0fe1d96de06704a79942b3832c3'/>
<id>urn:sha1:5fb94e9ca333f0fe1d96de06704a79942b3832c3</id>
<content type='text'>
As we move stuff around, some doc references are broken. Fix some of
them via this script:
	./scripts/documentation-file-ref-check --fix

Manually checked if the produced result is valid, removing a few
false-positives.

Acked-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Acked-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;
Acked-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
Acked-by: Charles Keepax &lt;ckeepax@opensource.wolfsonmicro.com&gt;
Acked-by: Mathieu Poirier &lt;mathieu.poirier@linaro.org&gt;
Reviewed-by: Coly Li &lt;colyli@suse.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Acked-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>clk: ingenic: jz4770: Add 150us delay after enabling VPU clock</title>
<updated>2018-06-02T06:21:39Z</updated>
<author>
<name>Paul Cercueil</name>
</author>
<published>2018-05-20T16:31:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ee3d385c263248ce0ab2fcd679835082530445d'/>
<id>urn:sha1:6ee3d385c263248ce0ab2fcd679835082530445d</id>
<content type='text'>
This is required, as we must not use the AHB1 bus before it is stable.

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: ingenic: jz4770: Enable power of AHB1 bus after ungating VPU clock</title>
<updated>2018-06-02T06:21:33Z</updated>
<author>
<name>Paul Cercueil</name>
</author>
<published>2018-05-20T16:31:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a6523b6fb8b54bd53b63c1ca171bed7d9dd3f68e'/>
<id>urn:sha1:a6523b6fb8b54bd53b63c1ca171bed7d9dd3f68e</id>
<content type='text'>
This was broken before, because the AHB1 bus was enabled before the VPU
clock was ungated, while it must be done afterwards.

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: ingenic: jz4770: Modify C1CLK clock to disable CPU clock stop on idle</title>
<updated>2018-06-02T06:21:33Z</updated>
<author>
<name>Paul Cercueil</name>
</author>
<published>2018-05-20T16:31:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45ba63a29fd9b8a461110185e3abc5b4c90b806a'/>
<id>urn:sha1:45ba63a29fd9b8a461110185e3abc5b4c90b806a</id>
<content type='text'>
When the main processor goes idle, by default its clock is stopped.
However, this also stops the clock of the co-processor.

Here, if the C1CLK clock is enabled, we disable this functionality.

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
</feed>
