Re: [PATCH] clk: npcm7xx: Mark the dividers read-only
From: Tomer Maimon
Date: Thu Dec 03 2026 - 04:54:59 EST
Hi Jerome and William.
On Mon, 30 Nov 2026 at 23:46, William A. Kennington III
<william@xxxxxxxxxxxxxxx> wrote:
>
> On Mon, Nov 30, 2026 at 11:10:44AM +0100, Jerome Brunet wrote:
> > 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 ?
>
> My bad, we have been carrying this a while and when I first glanced at it
> I thought it would be a good idea to just send as-is. You are right, I
> don't see a good reason to keep it.
>
> Unless Tomer knows of a hardware constraint I missed, let's drop this
> patch. Thanks for the review.
>
> William
This is a platform design decision, not a hardware limitation.
On NPCM7xx, BootBlock is intended to own clock configuration,
including the SPI clocks that feed the FIU.
BootBlock selects rates that meet the board and flash requirements,
and Linux reads and uses those rates without reprogramming the
dividers.
Thanks,
Tomer