devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Heiko Stübner" <heiko@sntech.de>
To: Jagan Teki <jagan@edgeble.ai>,
	Sebastian Reichel <sebastian.reichel@collabora.com>,
	Christopher Obbard <chris.obbard@collabora.com>
Cc: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Marc Zyngier <maz@kernel.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Benjamin Gaignard <benjamin.gaignard@collabora.com>,
	linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, kernel@collabora.com,
	Michael Riesch <michael.riesch@wolfvision.net>
Subject: Re: [PATCHv8 7/7] arm64: dts: rockchip: Add rock-5b board
Date: Tue, 10 Jan 2023 16:07:46 +0100	[thread overview]
Message-ID: <37476486.XM6RcZxFsP@diego> (raw)
In-Reply-To: <996e39448350d4f6318f7ff59c6a2ca249fb30a7.camel@collabora.com>

Am Dienstag, 10. Januar 2023, 15:50:17 CET schrieb Christopher Obbard:
> On Tue, 2023-01-10 at 19:30 +0530, Jagan Teki wrote:
> > On Mon, 9 Jan 2023 at 21:28, Sebastian Reichel
> > <sebastian.reichel@collabora.com> wrote:
> > > 
> > > From: Christopher Obbard <chris.obbard@collabora.com>
> > > 
> > > Add board file for the RK3588 Rock 5B board. This is a basic
> > > implementation which just brings up the eMMC and UART which is
> > > enough to successfully boot Linux.
> > > 
> > > The ethernet controller is connected via PCIe so support will
> > > come in a follow-up patch.
> > > 
> > > Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
> > > Reviewed-by: Michael Riesch <michael.riesch@wolfvision.net>
> > > Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
> > > ---
> > >  arch/arm64/boot/dts/rockchip/Makefile         |  1 +
> > >  .../boot/dts/rockchip/rk3588-rock-5b.dts      | 44
> > > +++++++++++++++++++
> > >  2 files changed, 45 insertions(+)
> > >  create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
> > > 
> > > diff --git a/arch/arm64/boot/dts/rockchip/Makefile
> > > b/arch/arm64/boot/dts/rockchip/Makefile
> > > index 87a853435142..c5bdd0176ce0 100644
> > > --- a/arch/arm64/boot/dts/rockchip/Makefile
> > > +++ b/arch/arm64/boot/dts/rockchip/Makefile
> > > @@ -83,4 +83,5 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-
> > > v10.dtb
> > >  dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-odroid-m1.dtb
> > >  dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-rock-3a.dtb
> > >  dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-evb1-v10.dtb
> > > +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b.dtb
> > >  dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb
> > > diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
> > > b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
> > > new file mode 100644
> > > index 000000000000..d2f1e963ce06
> > > --- /dev/null
> > > +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
> > > @@ -0,0 +1,44 @@
> > > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> > > +
> > > +/dts-v1/;
> > > +
> > > +#include "rk3588.dtsi"
> > > +
> > > +/ {
> > > +       model = "Radxa ROCK 5 Model B";
> > > +       compatible = "radxa,rock-5b", "rockchip,rk3588";
> > > +
> > > +       aliases {
> > > +               mmc1 = &sdhci;
> > 
> > I think sdhci - emmc has to be mmc0 due to boot priority.
> 
> Hi Jagan,
> 
> We kept eMMC as mmc1 for both ROCK 5 Model A and B to keep
> compatibility with vendor kernel:
> https://github.com/radxa/kernel/blob/stable-5.10-rock5/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts#L31
> 
> But I am happy to change the alias to mmc0, @Sebastian what do you
> think?

In any case, if you decide to swap things around, please just send a follow
up patch, as I just applied this series :-)


Heiko



  reply	other threads:[~2023-01-10 15:10 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-09 15:57 [PATCHv8 0/7] Initial rk3588 DT Sebastian Reichel
2023-01-09 15:57 ` [PATCHv8 1/7] dt-bindings: soc: rockchip: add initial rk3588 syscon compatibles Sebastian Reichel
2023-01-10 13:49   ` Jagan Teki
2023-01-09 15:57 ` [PATCHv8 2/7] arm64: dts: rockchip: Add rk3588 pinctrl data Sebastian Reichel
2023-01-10 13:31   ` Heiko Stübner
2023-01-10 14:41     ` Sebastian Reichel
2023-01-10 13:53   ` Jagan Teki
2023-01-09 15:57 ` [PATCHv8 3/7] arm64: dts: rockchip: Add base DT for rk3588 SoC Sebastian Reichel
2023-01-10 11:47   ` Heiko Stübner
2023-01-10 12:17     ` Sebastian Reichel
2023-01-10 13:32       ` Heiko Stübner
2023-01-10 14:41         ` Sebastian Reichel
2023-01-10 13:57   ` Jagan Teki
2023-01-09 15:57 ` [PATCHv8 4/7] dt-bindings: arm: rockchip: add initial rk3588 boards Sebastian Reichel
2023-01-10 13:58   ` Jagan Teki
2023-01-09 15:57 ` [PATCHv8 5/7] arm64: dts: rockchip: Add rk3588-evb1 board Sebastian Reichel
2023-01-10 13:58   ` Jagan Teki
2023-01-09 15:58 ` [PATCHv8 6/7] arm64: dts: rockchip: Add rock-5a board Sebastian Reichel
2023-01-09 15:58 ` [PATCHv8 7/7] arm64: dts: rockchip: Add rock-5b board Sebastian Reichel
2023-01-10 14:00   ` Jagan Teki
2023-01-10 14:50     ` Christopher Obbard
2023-01-10 15:07       ` Heiko Stübner [this message]
2023-01-10 15:26         ` Sebastian Reichel
2023-01-10 15:09 ` [PATCHv8 0/7] Initial rk3588 DT Heiko Stuebner

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=37476486.XM6RcZxFsP@diego \
    --to=heiko@sntech.de \
    --cc=benjamin.gaignard@collabora.com \
    --cc=chris.obbard@collabora.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jagan@edgeble.ai \
    --cc=kernel@collabora.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=maz@kernel.org \
    --cc=michael.riesch@wolfvision.net \
    --cc=robh+dt@kernel.org \
    --cc=sebastian.reichel@collabora.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).