[PATCH 2/6] clk: spacemit: k1: Keep pll1_aud_245p7 enabled

Yao Zi me at ziyao.cc
Wed Nov 18 07:57:44 PST 2026


On Wed, Nov 18, 2026 at 11:15:28AM +0000, Yixun Lan wrote:
> Hi Frédéric,
> 
> I will forward to SpacemiT people, and ask them to clarify..
> 
> On 21:59 Tue 17 Nov     , Frédéric Mahé wrote:
> > Accesses to the RCPU2 block (0xc0888000) hang once pll1_aud_245p7 is
> Access which register? is the PWM register in RCPU2?
> 
> > gated: the CPU stops responding, even to NMIs. Nothing claims this
> > clock in mainline, so clk_disable_unused() turns it off at boot, and
> > probing an RCPU2 PWM afterwards hangs the board. The RCPU2 clock and
> > reset registers live in the same block.
> > 
> Usually access IP block with clock gated off will cause system bus hang,
> exactly the same scenario as you see here..
> 
> > Mark it critical, as was done for the K3 RCPU clock.
> > 
> It just happen to fix the issue, but doesn't sound like a correct fix,
> usually, it can be fixed with correct clock topology 
> 
> > Tested on a BPI-F3: without this, probing an RCPU2 PWM hangs the
> > board; with it, no hang, also with no PWM in use.
> > 
> ..
> > Written with help from Claude (Anthropic); reviewed and tested on hardware.
> > 
> maybe just "Assisted-by: LLM"

I think this tag has been deprecated in commit 1e035297ffda ("docs:
remove Assisted-by references"), but mentioning code origin is still
required by process/generated-content.rst.

The notice could indeed be moved to the cover letter instead.

-- 
Thanks,
Yao Zi

Meow-mrrp-mrow, I'm a cat.



More information about the linux-riscv mailing list