All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kyle Hendry <khendry@reliablecontrols.com>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
	Stephen Boyd <sboyd@kernel.org>,
	Brian Masney <bmasney+clk@redhat.com>,
	Jerome Brunet <jbrunet+clk@baylibre.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Magnus Damm <magnus.damm@gmail.com>,
	Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/3] clk: renesas: r9a06g032: Add reset controller
Date: Wed, 25 Nov 2026 12:50:04 -0700	[thread overview]
Message-ID: <5e2d3dd2-300a-463e-ad38-e32e22c83986@reliablecontrols.com> (raw)
In-Reply-To: <awcxPKer4G5oXQKo@shikoro>

On 25-Nov-26 12:04, Wolfram Sang wrote:
>> +static int r9a06g032_reset_set(struct reset_controller_dev *rcdev,
>> +				bool set, unsigned long id)
>> +{
>> +	struct r9a06g032_priv *priv = priv_from_rcdev(rcdev);
>> +	unsigned long flags;
>> +
>> +	spin_lock_irqsave(&priv->lock, flags);
>> +	clk_rdesc_set(priv, r9a06g032_resets[id], set);
>> +	spin_unlock_irqrestore(&priv->lock, flags);
> 
> I checked the docs again. (Do you have them? You can find the relevant
> part here[1]). Figure 7.3 and 7.4 mention a reset propagation time of
> 5us. So, it is not describing a pulse of 5us. But every access to the
> RSTN register needs this delay for propagation. So, despite the U-Boot
> code not having the delay, I think we should add a 'udelay(5)' here
> after the unlock. What do you think?

Agreed. I'll apply the delay to these resets.

Regards,
Kyle

  reply	other threads:[~2026-11-25 19:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 15:53 [PATCH v3 0/3] clk: renesas: r9a06g032: Add reset controller to clear resets for mii converter Kyle Hendry
2026-11-25 15:53 ` Kyle Hendry via B4 Relay
2026-11-25 15:53 ` [PATCH v3 1/3] dt-bindings: clock: r9a06g032-sysctrl: Document reset cells Kyle Hendry
2026-11-25 15:53   ` Kyle Hendry via B4 Relay
2026-11-25 18:59   ` Wolfram Sang
2026-11-25 15:53 ` [PATCH v3 2/3] clk: renesas: r9a06g032: Add reset controller Kyle Hendry
2026-11-25 15:53   ` Kyle Hendry via B4 Relay
2026-11-25 16:16   ` sashiko-bot
2026-11-25 19:04   ` Wolfram Sang
2026-11-25 19:50     ` Kyle Hendry [this message]
2026-11-25 15:53 ` [PATCH v3 3/3] ARM: dts: renesas: r9a06g032: Add #reset-cells to system controller node Kyle Hendry
2026-11-25 15:53   ` Kyle Hendry via B4 Relay

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=5e2d3dd2-300a-463e-ad38-e32e22c83986@reliablecontrols.com \
    --to=khendry@reliablecontrols.com \
    --cc=bmasney+clk@redhat.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrizio.castro.jz@renesas.com \
    --cc=geert+renesas@glider.be \
    --cc=jbrunet+clk@baylibre.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=p.zabel@pengutronix.de \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=wsa+renesas@sang-engineering.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.