devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Sverdlin <alexander.sverdlin@gmail.com>
To: Conor Dooley <conor@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Chen Wang <unicorn_wang@outlook.com>,
	Inochi Amaoto	 <inochiama@outlook.com>,
	Paul Walmsley <paul.walmsley@sifive.com>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Albert Ou <aou@eecs.berkeley.edu>, Arnd Bergmann <arnd@arndb.de>,
	 devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
	 linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH RFC] arm64: dts: sophgo: Add initial SG2000 SoC device tree
Date: Sun, 19 Jan 2025 12:10:58 +0100	[thread overview]
Message-ID: <acc25734b7d89b04c19ad50981e3a82a7737dac8.camel@gmail.com> (raw)
In-Reply-To: <20250113-aftermost-whole-18401dc54137@spud>

Thanks for your hints, Conor!

On Mon, 2025-01-13 at 17:37 +0000, Conor Dooley wrote:
> > What are your thoughts?
> > 
> >  arch/arm64/boot/dts/sophgo/sg2000.dtsi | 164 +++++++++++++++++++++++++
> >  1 file changed, 164 insertions(+)
> >  create mode 100644 arch/arm64/boot/dts/sophgo/sg2000.dtsi
> > 
> > diff --git a/arch/arm64/boot/dts/sophgo/sg2000.dtsi b/arch/arm64/boot/dts/sophgo/sg2000.dtsi
> > new file mode 100644
> > index 000000000000..96afd342bde5
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/sophgo/sg2000.dtsi
> > @@ -0,0 +1,164 @@
> > +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
> > +
> > +#include <dt-bindings/interrupt-controller/arm-gic.h>
> > +#include "../../../../riscv/boot/dts/sophgo/cv18xx.dtsi"
> > +#include "../../../../riscv/boot/dts/sophgo/cv181x.dtsi"
> 
> FWIW, this can just be #include <riscv/sophgo/<whatever>, /should/ be a
> symlink for that, as there is for arm64. At the very least, I did see a
> patch adding that link in the past. Check out what the RZ/Five is doing
> (that's the riscv renesas chip) for an example of how this already has
> been done - I think it's doing what your "Alternatively I can..."
> paragraph describes.

That's exactly what I needed!

-- 
Alexander Sverdlin.


  reply	other threads:[~2025-01-19 11:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-12  0:55 [PATCH RFC] arm64: dts: sophgo: Add initial SG2000 SoC device tree Alexander Sverdlin
2025-01-13 17:37 ` Conor Dooley
2025-01-19 11:10   ` Alexander Sverdlin [this message]
2025-01-19 22:27 ` Inochi Amaoto

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=acc25734b7d89b04c19ad50981e3a82a7737dac8.camel@gmail.com \
    --to=alexander.sverdlin@gmail.com \
    --cc=aou@eecs.berkeley.edu \
    --cc=arnd@arndb.de \
    --cc=conor+dt@kernel.org \
    --cc=conor@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=inochiama@outlook.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    --cc=robh@kernel.org \
    --cc=unicorn_wang@outlook.com \
    /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;
as well as URLs for NNTP newsgroup(s).