From: Yixun Lan <dlan@gentoo.org>
To: Vivian Wang <wangruikang@iscas.ac.cn>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>, Alex Elder <elder@riscstar.com>,
devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
spacemit@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] riscv: dts: spacemit: uart: remove sec_uart1 device node
Date: Tue, 2 Sep 2025 21:44:17 +0800 [thread overview]
Message-ID: <20250902134417-GYA1155728@gentoo.org> (raw)
In-Reply-To: <680534b4-27e7-4506-885a-1c3dc9d12b8b@iscas.ac.cn>
Hi Vivian,
On 20:55 Tue 02 Sep , Vivian Wang wrote:
>
> On 9/2/25 20:26, Yixun Lan wrote:
> > [...]
> >
> > diff --git a/arch/riscv/boot/dts/spacemit/k1.dtsi b/arch/riscv/boot/dts/spacemit/k1.dtsi
> > index abde8bb07c95c5a745736a2dd6f0c0e0d7c696e4..3094f75ed13badfc3db333be2b3195c61f57fddf 100644
> > --- a/arch/riscv/boot/dts/spacemit/k1.dtsi
> > +++ b/arch/riscv/boot/dts/spacemit/k1.dtsi
> > @@ -777,16 +777,7 @@ uart9: serial@d4017800 {
> > status = "disabled";
> > };
> >
> > - sec_uart1: serial@f0612000 {
> > - compatible = "spacemit,k1-uart",
> > - "intel,xscale-uart";
> > - reg = <0x0 0xf0612000 0x0 0x100>;
> > - interrupts = <43>;
> > - clock-frequency = <14857000>;
> > - reg-shift = <2>;
> > - reg-io-width = <4>;
> > - status = "reserved"; /* for TEE usage */
> > - };
> > + /* sec_uart1: 0xf0612000, not available from Linux */
>
> I know this is going back and forth a lot but I don't think that's a
> good description of what's going on.
>
> My preference is that we just drop this node altogether, just forgetting
> that this thing even exists. But if you do think we want to keep the
yes, removing the comment and completely dropping it is an option..
> information we can drop the clock-frequency property too and change its
> status to something like:
>
> status = "disabled"; /* No clock defined */
>
> Which also silences the warning - disabled nodes are allowed to be
> incomplete.
no, set to 'disabled' is simply wrong, it doesn't reflect the meaning of
"unavaiable", I remembered we've rejected this before introducing the
'sec_uart1' node in the first place
>
> My personal opinion is that I think sec_uart1 and TEE support feels too
> theoretical to be worth caring about.
>
> Vivian "dramforever" Wang
>
--
Yixun Lan (dlan)
next prev parent reply other threads:[~2025-09-02 13:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-02 12:26 Yixun Lan
2025-09-02 12:55 ` Vivian Wang
2025-09-02 13:44 ` Yixun Lan [this message]
2025-09-04 0:52 ` Yixun Lan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250902134417-GYA1155728@gentoo.org \
--to=dlan@gentoo.org \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=elder@riscstar.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh@kernel.org \
--cc=spacemit@lists.linux.dev \
--cc=wangruikang@iscas.ac.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®