[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250719102306-GYA705838@gentoo>
Date: Sat, 19 Jul 2025 18:23:06 +0800
From: Yixun Lan <dlan@...too.org>
To: Vivian Wang <wangruikang@...as.ac.cn>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>,
devicetree@...r.kernel.org, linux-riscv@...ts.infradead.org,
spacemit@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] riscv: dts: spacemit: uart: set dummy clock to silent dt
warning
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@...12000: '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)
Powered by blists - more mailing lists