From: Quentin Schulz <quentin.schulz@cherry.de>
To: Heiko Stuebner <heiko@sntech.de>
Cc: mturquette@baylibre.com, sboyd@kernel.org,
zhangqing@rock-chips.com, sebastian.reichel@collabora.com,
linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, andyshrk@163.com,
macromorgan@hotmail.com,
Heiko Stuebner <heiko.stuebner@cherry.de>,
stable@vger.kernel.org
Subject: Re: [PATCH v2 1/2] clk: rockchip: rk3588: Don't change PLL rates when setting dclk_vop2_src
Date: Tue, 10 Mar 2026 11:25:31 +0100 [thread overview]
Message-ID: <df1cf96c-cbd9-4ea7-a5da-9e69b91db2c1@cherry.de> (raw)
In-Reply-To: <20260304121426.1184680-2-heiko@sntech.de>
Hi Heiko,
On 3/4/26 1:14 PM, Heiko Stuebner wrote:
> From: Heiko Stuebner <heiko.stuebner@cherry.de>
>
> dclk_vop2_src currently has the CLK_SET_RATE_PARENT flag set, which is
> very different from dclk_vop0_src or dclk_vop1_src, which don't have it.
>
> With this flag in dclk_vop2_src, actually setting the clock then results
> in a lot of other peripherals breaking, because setting the rate results
> in the PLL source getting changed:
>
> [ 14.898718] clk_core_set_rate_nolock: setting rate for dclk_vop2 to 152840000
> [ 15.155017] clk_change_rate: setting rate for pll_gpll to 1680000000
> [ clk adjusting every gpll user ]
>
> This includes possibly the other vops, i2s, spdif and even the uarts.
> Among other possible things, this breaks the uart console on a board
> I use. Sometimes it recovers later on, but there will be a big block
> of garbled output for a while at least.
>
> Shared PLLs should not be changed by individual users, so drop this flag
> from dclk_vop2_src.
>
> Fixes: f1c506d152ff ("clk: rockchip: add clock controller for the RK3588")
> Cc: stable@vger.kernel.org
> Tested-by: Quentin Schulz <quentin.schulz@cherry.de> # RK3588 Tiger w/ DP
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Thanks!
Quentin
next prev parent reply other threads:[~2026-03-10 10:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-04 12:14 [PATCH v2 0/2] Bring dclk_vop2 in line with other VPs on RK3588 Heiko Stuebner
2026-03-04 12:14 ` [PATCH v2 1/2] clk: rockchip: rk3588: Don't change PLL rates when setting dclk_vop2_src Heiko Stuebner
2026-03-10 9:30 ` Quentin Schulz
2026-03-10 10:25 ` Quentin Schulz [this message]
2026-03-04 12:14 ` [PATCH v2 2/2] clk: rockchip: rk3588: Allow VP2 the same sourcing options as other VPs Heiko Stuebner
2026-03-10 9:43 ` Quentin Schulz
2026-03-10 10:26 ` Quentin Schulz
2026-03-09 22:13 ` [PATCH v2 0/2] Bring dclk_vop2 in line with other VPs on RK3588 Chris Morgan
2026-07-07 9:41 ` Heiko Stuebner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=df1cf96c-cbd9-4ea7-a5da-9e69b91db2c1@cherry.de \
--to=quentin.schulz@cherry.de \
--cc=andyshrk@163.com \
--cc=heiko.stuebner@cherry.de \
--cc=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=macromorgan@hotmail.com \
--cc=mturquette@baylibre.com \
--cc=sboyd@kernel.org \
--cc=sebastian.reichel@collabora.com \
--cc=stable@vger.kernel.org \
--cc=zhangqing@rock-chips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome