From: Praneeth Balasubramanian <praneethb2002@gmail.com>
To: sashiko-reviews@lists.linux.dev
Cc: Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Heiko Stuebner <heiko@sntech.de>,
linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clk: rockchip: Skip PLL lock wait when GRF regmap is unavailable
Date: Sat, 5 Dec 2026 00:21:07 -0800 [thread overview]
Message-ID: <20261205082107.2597142-1-praneethb2002@gmail.com> (raw)
In-Reply-To: <sashiko-outbox-251172@kernel.org>
On Sat, 05 Dec 2026 06:58:51 +0000, sashiko-bot@kernel.org wrote:
> [Severity: Medium]
> Can returning 0 immediately here let downstream consumers run on an
> unlocked PLL?
Yes. Please do not apply this version. Without the GRF there is no way
to see the lock bit, so v2 does not let Linux gate these PLLs at all.
It adds rk3066 PLL ops with only .recalc_rate and .is_enabled and uses
them when the GRF is missing. The PLL then stays as the bootloader left
it. I did not use a fixed delay, since I could not find a lock time to
base it on.
v2 also fixes the comment above rockchip_pll_wait_lock(), cites
9be83448951a in Fixes, names rockchip_rk3066_pll_enable() and says that
rockchip,grf is optional in the bindings.
prev parent reply other threads:[~2026-12-05 8:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 6:40 [PATCH] clk: rockchip: Skip PLL lock wait when GRF regmap is unavailable Praneeth Balasubramanian
2026-12-05 6:58 ` sashiko-bot
2026-12-05 8:21 ` Praneeth Balasubramanian [this message]
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=20261205082107.2597142-1-praneethb2002@gmail.com \
--to=praneethb2002@gmail.com \
--cc=bmasney+clk@redhat.com \
--cc=heiko@sntech.de \
--cc=jbrunet+clk@baylibre.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=sboyd@kernel.org \
/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