<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/clk/rockchip, branch linux-4.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-05-11T09:21:28Z</updated>
<entry>
<title>clk: rockchip: free memory in error cases when registering clock branches</title>
<updated>2016-05-11T09:21:28Z</updated>
<author>
<name>Shawn Lin</name>
</author>
<published>2016-02-02T03:37:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f2f2e7d177ed83dda98c3248e8bf603b9558498'/>
<id>urn:sha1:4f2f2e7d177ed83dda98c3248e8bf603b9558498</id>
<content type='text'>
commit 2467b6745e0ae9c6cdccff24c4cceeb14b1cce3f upstream.

Add free memeory if rockchip_clk_register_branch fails.

Fixes: a245fecbb806 ("clk: rockchip: add basic infrastructure...")
Signed-off-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: rockchip: fix wrong mmc phase shift for rk3228</title>
<updated>2016-05-11T09:21:28Z</updated>
<author>
<name>Shawn Lin</name>
</author>
<published>2016-01-26T03:30:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2697f62467377bc43901145638b67887b0bcdd9'/>
<id>urn:sha1:d2697f62467377bc43901145638b67887b0bcdd9</id>
<content type='text'>
commit bb07698fc8d13ec74f4f5bd87b04953777ee6982 upstream.

mmc sample shift is 0 for rk3228 refer to user manaul.
So it's broken if we enable mmc tuning for rk3228.

Fixes: 307a2e9ac ("clk: rockchip: add clock controller for rk3228")
Signed-off-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
Reviewed-by: Xing Zheng &lt;zhengxing@rock-chips.com&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk-divider: make sure read-only dividers do not write to their register</title>
<updated>2016-05-11T09:21:28Z</updated>
<author>
<name>Heiko Stuebner</name>
</author>
<published>2016-01-21T20:53:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2a9208d19bd14adda6a4ab8738315b4c9b5959b'/>
<id>urn:sha1:a2a9208d19bd14adda6a4ab8738315b4c9b5959b</id>
<content type='text'>
commit 50359819794b4a16ae35051cd80f2dab025f6019 upstream.

Commit e6d5e7d90be9 ("clk-divider: Fix READ_ONLY when divider &gt; 1") removed
the special ops struct for read-only clocks and instead opted to handle
them inside the regular ops.

On the rk3368 this results in breakage as aclkm now gets set a value.
While it is the same divider value, the A53 core still doesn't like it,
which can result in the cpu ending up in a hang.
The reason being that "ACLKENMasserts one clock cycle before the rising
edge of ACLKM" and the clock should only be touched when STANDBYWFIL2
is asserted.

To fix this, reintroduce the read-only ops but do include the round_rate
callback. That way no writes that may be unsafe are done to the divider
register in any case.

The Rockchip use of the clk_divider_ops is adapted to this split again,
as is the nxp, lpc18xx-ccu driver that was included since the original
commit. On lpc18xx-ccu the divider seems to always be read-only
so only uses the new ops now.

Fixes: e6d5e7d90be9 ("clk-divider: Fix READ_ONLY when divider &gt; 1")
Reported-by: Zhang Qing &lt;zhangqing@rock-chips.com&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: rockchip: add hclk_cpubus to the list of rk3188 critical clocks</title>
<updated>2016-04-12T14:33:46Z</updated>
<author>
<name>Alexander Kochetkov</name>
</author>
<published>2016-01-26T13:34:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df775ddbb1f1603df4c4fd56b45ae2ccf30ae7d4'/>
<id>urn:sha1:df775ddbb1f1603df4c4fd56b45ae2ccf30ae7d4</id>
<content type='text'>
commit e8b63288b37dbb8457b510c9d96f6006da4653f6 upstream.

hclk_cpubus needs to keep running because it is needed for devices like
the rom, i2s0 or spdif to be accessible via cpu. Without that all
accesses to devices (readl/writel) return wrong data. So add it
to the list of critical clocks.

Fixes: 78eaf6095cc763c ("clk: rockchip: disable unused clocks")
Signed-off-by: Alexander Kochetkov &lt;al.kochet@gmail.com&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: rockchip: rk3368: fix hdmi_cec gate-register</title>
<updated>2016-04-12T14:33:46Z</updated>
<author>
<name>Heiko Stuebner</name>
</author>
<published>2016-01-20T20:47:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76f5f39b0f9da3499f00118343b94e88aa617567'/>
<id>urn:sha1:76f5f39b0f9da3499f00118343b94e88aa617567</id>
<content type='text'>
commit fd0c0740fac17a014704ef89d8c8b1768711ca59 upstream.

Fix a typo making the sclk_hdmi_cec access a wrong register to handle
its gate.

Fixes: 3536c97a52db ("clk: rockchip: add rk3368 clock controller")
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Reviewed-by: zhangqing &lt;zhangqing@rock-chips.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: rockchip: rk3368: fix parents of video encoder/decoder</title>
<updated>2016-04-12T14:33:46Z</updated>
<author>
<name>Heiko Stuebner</name>
</author>
<published>2016-01-20T18:22:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c21ff6a51626a9f7d213ba21f707c3e31ca42fff'/>
<id>urn:sha1:c21ff6a51626a9f7d213ba21f707c3e31ca42fff</id>
<content type='text'>
commit 0f28d98463498c61c61a38aacbf9f69e92e85e9d upstream.

The vdpu and vepu clocks can also be parented to the npll and current
parent list also is wrong as it would use the npll as "usbphy" source,
so adapt the parent to the correct one.

Fixes: 3536c97a52db ("clk: rockchip: add rk3368 clock controller")
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Reviewed-by: zhangqing &lt;zhangqing@rock-chips.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: rockchip: rk3368: fix cpuclk core dividers</title>
<updated>2016-04-12T14:33:46Z</updated>
<author>
<name>Heiko Stuebner</name>
</author>
<published>2016-01-19T09:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c72f04687ad0818c0c9fc50dfad315368d3c4bb'/>
<id>urn:sha1:2c72f04687ad0818c0c9fc50dfad315368d3c4bb</id>
<content type='text'>
commit c6d5fe2ca8286f35a79f7345c9378c39d48a1527 upstream.

Similar to commit 9880d4277f6a ("clk: rockchip: fix rk3288 cpuclk core
dividers") it seems the cpuclk dividers are one to high on the rk3368
as well.

And again similar to the previous fix, we opt to make the divider list
contain the values to be written to use the same paradigm for them on all
supported socs.

Fixes: 3536c97a52db ("clk: rockchip: add rk3368 clock controller")
Reported-by: Zhang Qing &lt;zhangqing@rock-chips.com&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Reviewed-by: zhangqing &lt;zhangqing@rock-chips.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: rockchip: rk3368: fix cpuclk mux bit of big cpu-cluster</title>
<updated>2016-04-12T14:33:46Z</updated>
<author>
<name>Heiko Stuebner</name>
</author>
<published>2016-01-19T09:01:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02bde5aae8d4b0120a8efb6ed6c53f10ca2c3727'/>
<id>urn:sha1:02bde5aae8d4b0120a8efb6ed6c53f10ca2c3727</id>
<content type='text'>
commit 535ebd428aeb07c3327947281306f2943f2c9faa upstream.

Both clusters have their mux bit in bit 7 of their respective register.
For whatever reason the big cluster currently lists bit 15 which is
definitly wrong.

Fixes: 3536c97a52db ("clk: rockchip: add rk3368 clock controller")
Reported-by: Zhang Qing &lt;zhangqing@rock-chips.com&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Reviewed-by: zhangqing &lt;zhangqing@rock-chips.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: rockchip: rk3368: fix some clock gates</title>
<updated>2016-01-16T15:01:21Z</updated>
<author>
<name>Jianqun xu</name>
</author>
<published>2016-01-07T09:18:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8931f8e02979e4180566907019d432527c80abf7'/>
<id>urn:sha1:8931f8e02979e4180566907019d432527c80abf7</id>
<content type='text'>
Reference to the Rockchip RK3368 TRM v1.1, some clock
gates need to be updated.

Signed-off-by: Jianqun xu &lt;jay.xu@rock-chips.com&gt;
Signed-off-by: Caesar Wang &lt;wxt@rock-chips.com&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3036: rename emac ext source clock</title>
<updated>2016-01-16T15:01:21Z</updated>
<author>
<name>Xing Zheng</name>
</author>
<published>2016-01-07T12:17:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3d667920bc8fc0c3b39e4e740352d9367fa4916e'/>
<id>urn:sha1:3d667920bc8fc0c3b39e4e740352d9367fa4916e</id>
<content type='text'>
There is only support rmii in the RK3036, so we should use the correct
ext clock name as described in the TRM.

Signed-off-by: Xing Zheng &lt;zhengxing@rock-chips.com&gt;
[update dt-binding document as well]
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
</feed>
