From: Philipp Zabel <p.zabel@pengutronix.de>
To: Alex Elder <elder@riscstar.com>,
sboyd@kernel.org, bmasney+clk@redhat.com,
jbrunet+clk@baylibre.com, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, andersson@kernel.org,
konradybcio@kernel.org, abelvesa@kernel.org
Cc: daniel@riscstar.com, mohd.anwar@oss.qualcomm.com,
lorenzo.bianconi@oss.qualcomm.com, fabrice.gasnier@foss.st.com,
alexandre.torgue@foss.st.com, marex@nabladev.com,
changhuang.liang@starfivetech.com, devicetree@vger.kernel.org,
linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/3] clk: toshiba: introduce a TC9564 clock/reset driver
Date: Thu, 26 Nov 2026 18:19:46 +0100 [thread overview]
Message-ID: <04cb977d0a486b9574aaec5262ce92f652a29f18.camel@pengutronix.de> (raw)
In-Reply-To: <e20fde6a-3389-4084-a2de-fee5426a74e6@riscstar.com>
On Do, 2026-11-26 at 06:59 -0600, Alex Elder wrote:
> On 11/26/26 3:42 AM, Philipp Zabel wrote:
> > On Mi, 2026-11-25 at 14:21 -0600, Alex Elder wrote:
[...]
> > > + /* Warn on any attempt to change state of a critical reset */
> > > + if (WARN_ON(id == RESET_I2C) || WARN_ON(id == RESET_PCIE))
> > > + return 0;
> >
> > Can't this be checked at reset_control_get() time (in fwnode_xlate) so
> > that critical reset controls aren't given out to consumers in the first
> > place?
>
> So I'd pass in a slightly modified fwnode_reset_simple_xlate()
> as the fwnode_xlate pointer? I hadn't thought about that, but
> it's a good suggestion.
Exactly, and don't forget to set fwnode_reset_n_cells.
regards
Philipp
next prev parent reply other threads:[~2026-11-26 17:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 20:21 [PATCH v3 0/3] clk: tc9564: introduce a clock and reset driver Alex Elder
2026-11-25 20:21 ` [PATCH v3 1/3] dt-bindings: toshiba: introduce toshiba,tc9564-clock.yaml Alex Elder
2026-11-25 20:21 ` [PATCH v3 2/3] clk: toshiba: introduce a TC9564 clock/reset driver Alex Elder
2026-11-26 9:42 ` Philipp Zabel
2026-11-26 12:59 ` Alex Elder
2026-11-26 17:19 ` Philipp Zabel [this message]
2026-11-26 9:55 ` Lorenzo Bianconi
2026-11-25 20:21 ` [PATCH v3 3/3] arm64: dts: qcom: qcs6490-rb3gen2: add TC9564 clock node Alex Elder
2026-11-26 10:01 ` Lorenzo Bianconi
2026-11-25 20:33 ` [PATCH v3 0/3] clk: tc9564: introduce a clock and reset driver Alex Elder
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=04cb977d0a486b9574aaec5262ce92f652a29f18.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=abelvesa@kernel.org \
--cc=alexandre.torgue@foss.st.com \
--cc=andersson@kernel.org \
--cc=bmasney+clk@redhat.com \
--cc=changhuang.liang@starfivetech.com \
--cc=conor+dt@kernel.org \
--cc=daniel@riscstar.com \
--cc=devicetree@vger.kernel.org \
--cc=elder@riscstar.com \
--cc=fabrice.gasnier@foss.st.com \
--cc=jbrunet+clk@baylibre.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lorenzo.bianconi@oss.qualcomm.com \
--cc=marex@nabladev.com \
--cc=mohd.anwar@oss.qualcomm.com \
--cc=robh@kernel.org \
--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
all inboxes | Powered by JetHome®