<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/clk/rockchip, branch linux-6.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-10-10T10:00:59Z</updated>
<entry>
<title>clk: rockchip: fix error for unknown clocks</title>
<updated>2024-10-10T10:00:59Z</updated>
<author>
<name>Sebastian Reichel</name>
</author>
<published>2024-03-25T19:33:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a6c6ccab3d88ee04761830b86bd390ab2277b51'/>
<id>urn:sha1:7a6c6ccab3d88ee04761830b86bd390ab2277b51</id>
<content type='text'>
commit 12fd64babaca4dc09d072f63eda76ba44119816a upstream.

There is a clk == NULL check after the switch to check for
unsupported clk types. Since clk is re-assigned in a loop,
this check is useless right now for anything but the first
round. Let's fix this up by assigning clk = NULL in the
loop before the switch statement.

Fixes: a245fecbb806 ("clk: rockchip: add basic infrastructure for clock branches")
Cc: stable@vger.kernel.org
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
[added fixes + stable-cc]
Link: https://lore.kernel.org/r/20240325193609.237182-6-sebastian.reichel@collabora.com
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: rk3588: Fix 32k clock name for pmu_24m_32k_100m_src_p</title>
<updated>2024-10-04T14:33:09Z</updated>
<author>
<name>Alexander Shiyan</name>
</author>
<published>2024-08-29T05:28:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f1ceb401347b61f8e2f0911522442be2e6cb5168'/>
<id>urn:sha1:f1ceb401347b61f8e2f0911522442be2e6cb5168</id>
<content type='text'>
[ Upstream commit 0d02e8d284a45bfa8997ebe8764437b8eb6b108b ]

The 32kHz input clock is named "xin32k" in the driver,
so the name "32k" appears to be a typo in this case. Lets fix this.

Signed-off-by: Alexander Shiyan &lt;eagle.alexander923@gmail.com&gt;
Reviewed-by: Dragan Simic &lt;dsimic@manjaro.org&gt;
Fixes: f1c506d152ff ("clk: rockchip: add clock controller for the RK3588")
Link: https://lore.kernel.org/r/20240829052820.3604-1-eagle.alexander923@gmail.com
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: Set parent rate for DCLK_VOP clock on RK3228</title>
<updated>2024-10-04T14:33:03Z</updated>
<author>
<name>Jonas Karlman</name>
</author>
<published>2024-06-15T17:03:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fd7996cc3a96b177fd19cd4ace267594800286fa'/>
<id>urn:sha1:fd7996cc3a96b177fd19cd4ace267594800286fa</id>
<content type='text'>
[ Upstream commit 1d34b9757523c1ad547bd6d040381f62d74a3189 ]

Similar to DCLK_LCDC on RK3328, the DCLK_VOP on RK3228 is typically
parented by the hdmiphy clk and it is expected that the DCLK_VOP and
hdmiphy clk rate are kept in sync.

Use CLK_SET_RATE_PARENT and CLK_SET_RATE_NO_REPARENT flags, same as used
on RK3328, to make full use of all possible supported display modes.

Fixes: 0a9d4ac08ebc ("clk: rockchip: set the clock ids for RK3228 VOP")
Fixes: 307a2e9ac524 ("clk: rockchip: add clock controller for rk3228")
Signed-off-by: Jonas Karlman &lt;jonas@kwiboo.se&gt;
Link: https://lore.kernel.org/r/20240615170417.3134517-3-jonas@kwiboo.se
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3568: Add PLL rate for 724 MHz</title>
<updated>2024-05-04T10:38:13Z</updated>
<author>
<name>Lucas Stach</name>
</author>
<published>2024-05-03T15:33:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f513991b69885025995dcb4ca75d2ee7261e1273'/>
<id>urn:sha1:f513991b69885025995dcb4ca75d2ee7261e1273</id>
<content type='text'>
This rate allows to provide a low-jitter 72,4 MHz pixelclock
for a custom eDP panel from the VPLL.

Signed-off-by: Lucas Stach &lt;l.stach@pengutronix.de&gt;
Link: https://lore.kernel.org/r/20240503153329.3906030-1-l.stach@pengutronix.de
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: Remove an unused field in struct rockchip_mmc_clock</title>
<updated>2024-05-04T10:38:02Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2024-04-24T14:48:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=947b8f2a8b5155f6e9560af07ed65b3cc9aecd75'/>
<id>urn:sha1:947b8f2a8b5155f6e9560af07ed65b3cc9aecd75</id>
<content type='text'>
In "struct rockchip_mmc_clock", the 'id' field is unused.
Remove it.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Link: https://lore.kernel.org/r/410bc0f86c7b9f1c80f8a4e9a2a028a9a6ee1ec0.1713970085.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3588: Add reset line for HDMI Receiver</title>
<updated>2024-04-10T05:10:40Z</updated>
<author>
<name>Shreeya Patel</name>
</author>
<published>2024-03-27T22:50:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7af67019cd78d028ef377df689ac103d51905518'/>
<id>urn:sha1:7af67019cd78d028ef377df689ac103d51905518</id>
<content type='text'>
Export hdmirx_biu reset line required by the Synopsys
DesignWare HDMIRX Controller.

Signed-off-by: Shreeya Patel &lt;shreeya.patel@collabora.com&gt;
Link: https://lore.kernel.org/r/20240327225057.672304-3-shreeya.patel@collabora.com
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3568: Add missing USB480M_PHY mux</title>
<updated>2024-04-10T05:10:17Z</updated>
<author>
<name>David Jander</name>
</author>
<published>2024-04-05T07:38:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=007bd99669eae90f23817023dc78dbb38e76437d'/>
<id>urn:sha1:007bd99669eae90f23817023dc78dbb38e76437d</id>
<content type='text'>
The USB480M clock can source from a MUX that selects the clock to come
from either of the USB-phy internal 480MHz PLLs. These clocks are
provided by the USB phy driver.

Signed-off-by: David Jander &lt;david@protonic.nl&gt;
Link: https://lore.kernel.org/r/20240404-clk-rockchip-rk3568-add-usb480m-phy-mux-v1-1-e8542afd58b9@pengutronix.de
Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Link: https://lore.kernel.org/r/20240405-clk-rk3568-usb480m-phy-mux-v1-2-6c89de20a6ff@pengutronix.de
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3399: Allow to set rate of clk_i2s0_frac's parent</title>
<updated>2024-02-27T22:45:53Z</updated>
<author>
<name>Ondrej Jirman</name>
</author>
<published>2024-02-17T19:34:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1361d75503fccc0e6b3ecbcd5bb53bbdfdc52f0a'/>
<id>urn:sha1:1361d75503fccc0e6b3ecbcd5bb53bbdfdc52f0a</id>
<content type='text'>
Otherwise when when clk_i2s0 muxes to clk_i2s0_div which requires
setting high divider value on clk_i2s0_div, and then muxes back to
clk_i2s0_frac, clk_i2s0_frac would have no way to change the
clk_i2s0_div's divider ratio back to 1 so that it can satisfy the
condition for m/n &gt; 20 for fractional division to work correctly.

Bug is reproducible by playing 44.1k audio, then 48k audio, and then
44.1k audio again. This results in clk_i2s0_div being set to 49 and
clk_i2s0_frac not being able to cope with such a low input clock rate
and audio playing extremely slowly.

The identical issue is on i2s1 and i2s2 clocks, too.

Signed-off-by: Ondrej Jirman &lt;megi@xff.cz&gt;
Link: https://lore.kernel.org/r/20240217193439.1762213-1-megi@xff.cz
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3588: use linked clock ID for GATE_LINK</title>
<updated>2024-02-27T21:23:06Z</updated>
<author>
<name>Sebastian Reichel</name>
</author>
<published>2024-01-26T18:18:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dae3e57000fb2d6f491e3ee2956f5918326d6b72'/>
<id>urn:sha1:dae3e57000fb2d6f491e3ee2956f5918326d6b72</id>
<content type='text'>
In preparation for properly supporting GATE_LINK switch the unused
linked clock argument from the clock's name to its ID. This allows
easy and fast lookup of the 'struct clk'.

Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
Link: https://lore.kernel.org/r/20240126182919.48402-7-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3588: fix indent</title>
<updated>2024-02-27T21:23:06Z</updated>
<author>
<name>Sebastian Reichel</name>
</author>
<published>2024-01-26T18:18:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2a6e4710672242281347103b64e01693aa823a29'/>
<id>urn:sha1:2a6e4710672242281347103b64e01693aa823a29</id>
<content type='text'>
pclk_mailbox2 is the only RK3588 clock indented with one tab instead of
two tabs. Let's fix this.

Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
Link: https://lore.kernel.org/r/20240126182919.48402-6-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
</feed>
