From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: linux-renesas-soc@vger.kernel.org
Cc: Miquel Raynal <miquel.raynal@bootlin.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
linux-rtc@vger.kernel.org
Subject: Re: [RFC PATCH 3/4] rtc: rzn1: support input frequencies other than 32768Hz
Date: Thu, 13 Mar 2025 12:29:21 +0100 [thread overview]
Message-ID: <Z9LBkftPH5w7do6j@shikoro> (raw)
In-Reply-To: <20250313102546.27335-4-wsa+renesas@sang-engineering.com>
[-- Attachment #1: Type: text/plain, Size: 350 bytes --]
> + if (rate != 32768)
> + use_scmp = RZN1_RTC_CTL0_SLSB_SCMP;
> + }
> +
> + if (use_scmp) {
> + writel(rate - 1, rtc->base + RZN1_RTC_SCMP);
We need to stop the RTC before writing to this register and setting the
RZN1_RTC_CTL0_SLSB_SCMP bit. I will include this in the next version.
Does not affect the big picture for these changes, though.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-03-13 11:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-13 10:25 [RFC PATCH 0/4] rtc: rzn1: support XTAL clk and SCMP method Wolfram Sang
2025-03-13 10:25 ` [RFC PATCH 1/4] dt-bindings: rtc: rzn1: add optional second clock Wolfram Sang
2025-03-14 8:41 ` Krzysztof Kozlowski
2025-03-14 8:54 ` Wolfram Sang
2025-03-13 10:25 ` [RFC PATCH 3/4] rtc: rzn1: support input frequencies other than 32768Hz Wolfram Sang
2025-03-13 11:29 ` Wolfram Sang [this message]
2025-03-13 10:25 ` [RFC PATCH 4/4] WIP rtc: rzn1: add driver support for R-Car Gen5 Wolfram Sang
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=Z9LBkftPH5w7do6j@shikoro \
--to=wsa+renesas@sang-engineering.com \
--cc=alexandre.belloni@bootlin.com \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=miquel.raynal@bootlin.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