From: "Heiko Stübner" <heiko@sntech.de>
To: srinivas.kandagatla@linaro.org, Diederik de Haas <didi.debian@cknow.org>
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
detlev.casanova@collabora.com, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-clk@vger.kernel.org, sebastian.reichel@collabora.com
Subject: Re: [PATCH 1/5] clk: rockchip: rk3576: define clk_otp_phy_g
Date: Tue, 19 Nov 2024 14:51:58 +0100 [thread overview]
Message-ID: <2989559.o0KrE1Onz3@diego> (raw)
In-Reply-To: <D5Q78ZOX5SE0.2SCB8FEGY7EFA@cknow.org>
Am Dienstag, 19. November 2024, 14:45:53 CET schrieb Diederik de Haas:
> On Tue Nov 19, 2024 at 2:29 PM CET, Heiko Stuebner wrote:
> > The phy clock of the OTP block is also present, but was not defined
> > so far. Though its clk-id already existed, so just define its location.
> >
> > Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> > ---
> > drivers/clk/rockchip/clk-rk3576.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/clk/rockchip/clk-rk3576.c b/drivers/clk/rockchip/clk-rk3576.c
> > index 595e010341f7..029939a98416 100644
> > --- a/drivers/clk/rockchip/clk-rk3576.c
> > +++ b/drivers/clk/rockchip/clk-rk3576.c
> > @@ -541,6 +541,8 @@ static struct rockchip_clk_branch rk3576_clk_branches[] __initdata = {
> > RK3576_CLKGATE_CON(5), 14, GFLAGS),
> > GATE(CLK_OTPC_AUTO_RD_G, "clk_otpc_auto_rd_g", "xin24m", 0,
> > RK3576_CLKGATE_CON(5), 15, GFLAGS),
> > + GATE(CLK_OTP_PHY_G, "clk_otp_phy_g", "xin24m", 0,
> > + RK3588_CLKGATE_CON(6), 0, GFLAGS),
>
> RK3588?
darn copy-paste, thanks for noticing ;-)
At least the register and bit number is correct though ... according to the TRM.
So I messed up only the constant and did not notice due to the gate being
ungated by default of course.
Heiko
next prev parent reply other threads:[~2024-11-19 13:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-19 13:29 [PATCH 0/5] RK3576 OTP support Heiko Stuebner
2024-11-19 13:29 ` [PATCH 1/5] clk: rockchip: rk3576: define clk_otp_phy_g Heiko Stuebner
2024-11-19 13:45 ` Diederik de Haas
2024-11-19 13:51 ` Heiko Stübner [this message]
2024-11-19 13:29 ` [PATCH 2/5] nvmem: rockchip-otp: Move read-offset into variant-data Heiko Stuebner
2024-11-19 13:29 ` [PATCH 3/5] dt-bindings: nvmem: rockchip,otp: Add compatible for RK3576 Heiko Stuebner
2024-11-20 8:57 ` Krzysztof Kozlowski
2024-11-19 13:29 ` [PATCH 4/5] nvmem: rockchip-otp: add rk3576 variant data Heiko Stuebner
2024-11-19 13:29 ` [PATCH 5/5] arm64: dts: rockchip: add rk3576 otp node 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=2989559.o0KrE1Onz3@diego \
--to=heiko@sntech.de \
--cc=conor+dt@kernel.org \
--cc=detlev.casanova@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=didi.debian@cknow.org \
--cc=krzk+dt@kernel.org \
--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=robh@kernel.org \
--cc=sebastian.reichel@collabora.com \
--cc=srinivas.kandagatla@linaro.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;
as well as URLs for NNTP newsgroup(s).