Re: [PATCH] riscv: dts: spacemit: uart: set dummy clock to silent dt warning
From: Yixun Lan
Date: Sat Jul 19 2025 - 06:23:21 EST
hi Vivian,
On 15:48 Sat 19 Jul , Vivian Wang wrote:
> On 7/18/25 23:13, Yixun Lan wrote:
> > sec_uart1 is reserved in DT, and no clock is implemented in the CCF
> > framework, thus 'make dtbs_check' will eject this warning message:
> > serial@f0612000: 'clock-names' is a required property
> >
> > So, adding a dummy clock to the device tree to fulfill the clock
> > requirement, then silent this dt check warning.
>
> NAK. This is definitely worse than the warning.
>
> Honestly, if you don't like this warning, I think we should just drop
> the node. If not...
>
right, I realised this wasn't a good approach..
I will try in next version to comment out the sec_uart1 node,
unless people have better suggestion..
--
Yixun Lan (dlan)