[PATCH] riscv: dts: spacemit: uart: set dummy clock to silent dt warning
Yixun Lan
dlan at gentoo.org
Sat Jul 19 03:23:06 PDT 2025
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 at 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)
More information about the linux-riscv
mailing list