From: Jerome Brunet <jbrunet@baylibre.com>
To: "William A. Kennington III" <william@wkennington.com>
Cc: Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Tomer Maimon <tmaimon77@gmail.com>,
Andrew Jeffery <andrew@codeconstruct.com.au>,
Avi Fishman <avifishman70@gmail.com>,
Tali Perry <tali.perry1@gmail.com>,
Patrick Venture <venture@google.com>,
Nancy Yuen <yuenn@google.com>,
Benjamin Fair <benjaminfair@google.com>,
linux-clk@vger.kernel.org, openbmc@lists.ozlabs.org,
linux-kernel@vger.kernel.org,
Jerome Brunet <jbrunet@baylibre.com>
Subject: Re: [PATCH] clk: npcm7xx: Mark the dividers read-only
Date: Mon, 30 Nov 2026 11:10:44 +0100 [thread overview]
Message-ID: <179603344431.3767986.8615044740354238245.b4-reply@b4> (raw)
In-Reply-To: <20261130090802.714600-1-william@wkennington.com>
On 2026-11-30 09:08 +0000, William A. Kennington III wrote:
> From: Tomer Maimon <tmaimon77@gmail.com>
>
> The NPCM7xx clock dividers are programmed by the boot firmware. The
> driver registers them as ordinary dividers, so a consumer that calls
> clk_set_rate() reprograms them.
>
> Register the dividers with CLK_DIVIDER_READ_ONLY, so that the kernel
> keeps what the firmware has set up. clk-npcm8xx already registers most
> of its dividers this way. The SPI3 divider stays writable.
You are explaining what you are doing, not really why you are doing it.
You've got a boot firmware that gives an initial state. This is fairly
usual and we don't lock all the clock controllers down based ont that.
Why should the kernel be unable to to touch these clocks now ?
--
Jerome
prev parent reply other threads:[~2026-11-30 10:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 9:08 William A. Kennington III
2026-11-30 10:10 ` Jerome Brunet [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=179603344431.3767986.8615044740354238245.b4-reply@b4 \
--to=jbrunet@baylibre.com \
--cc=andrew@codeconstruct.com.au \
--cc=avifishman70@gmail.com \
--cc=benjaminfair@google.com \
--cc=bmasney+clk@redhat.com \
--cc=jbrunet+clk@baylibre.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=sboyd@kernel.org \
--cc=tali.perry1@gmail.com \
--cc=tmaimon77@gmail.com \
--cc=venture@google.com \
--cc=william@wkennington.com \
--cc=yuenn@google.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
all inboxes | Powered by JetHome®