Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7979034rwl; Tue, 10 Jan 2023 07:38:53 -0800 (PST) X-Google-Smtp-Source: AMrXdXsPXARJDt1DEsTJDfutiHdnovU+Eaqa8XW6As9dD0E/CuJeHeTRBJMNRYRcPem6MkmvufcM X-Received: by 2002:a05:6a20:e61a:b0:ac:a4fd:f5bf with SMTP id my26-20020a056a20e61a00b000aca4fdf5bfmr84882823pzb.50.1673365133000; Tue, 10 Jan 2023 07:38:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673365132; cv=none; d=google.com; s=arc-20160816; b=zX6R+amCMshxVm1cYri2Sagjj+oujXipJ87DnrJ3REpmM/EbtkUx1jMzzAPiQcYLuU Gvthap1GtCymOxca1CVFrWZ33nqD1M+XoFBbnj4X4Gs9F3R3c78p5gT1sWeWpRPj1ZP+ +nbdY2jbM7riy1JpLmhI81nL58C1LH2Oa1XfXIy2g9DpSjWrnyjsWGfa3PQvm/I3+o+Y rFQQXZfZzqoc8GPI9Eisew7Pt71ZqsZt3xa46c9HfAVsCh/rnMFRDv0rdazYReGjBlUh f9WnYzSjVkPQ3pKsJ64Y2lMuP0qV8dsJKGitYAtX8UXukeSy9U/EdGrw7ILmhSxuUdTR LDuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Z0iGYR3NyFIqGUvMTY3f1pthimqj5AkuLaimFs5nZCU=; b=S12EMpfc2B+YAK3GYyOGVgYBLTrYdlGV426Xur9wQArOLdABsx51UKsQ7NZxpwQTvl KHX35Q+hwNfms0tBhr2QuugBKkmICgGck1lJjlzEwVLAm7EYYWW/TI1nLdZ640JkMf2S T0TrMxNZMR+5mGpyQ33fxjZwxLav0IiFwQ1gnHeqKZoONoTnnbJGg4ERbAOKrpRsnYJq CSy/uENsSChkuoW83LFm/NGFA+QoK50B8EJ0aJ4DSBifMcFDLbRF7mj1LaNerRXE3v2F PYeY7Qw/3dKTJZHtUj6Bc4kZScwsBc33xoEXa1I6B+IbFBQPeT8/aN3VrlhP0GelKxJL fxmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=jjvL4Wy1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n10-20020a63b44a000000b00478b774f0ebsi11359059pgu.635.2023.01.10.07.38.46; Tue, 10 Jan 2023 07:38:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=jjvL4Wy1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238957AbjAJP1Z (ORCPT + 53 others); Tue, 10 Jan 2023 10:27:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238861AbjAJP1A (ORCPT ); Tue, 10 Jan 2023 10:27:00 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2A92687B5; Tue, 10 Jan 2023 07:26:37 -0800 (PST) Received: from mercury (dyndsl-091-096-058-120.ewe-ip-backbone.de [91.96.58.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 82EAA6602D7A; Tue, 10 Jan 2023 15:26:36 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1673364396; bh=XxxllFQyKLcPicYwexS4RG382EsoS8CobRkzPF1Pkqk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jjvL4Wy19CMkfS5XRsnAPlPMN2e+AeWRzMVAmwO/cvKXGRZ9n80p1/kVUmCPUb4Hx QvATCVrDlfg6r1HQ9K8uG/vGw8sa77sz2EtuWbDmIantIOmjP2gamdzxSO8V+bnVeg AVBrV56Ioqdss0wLnyEWY1zmDj+grKSziS4l5DxErev6QMoIgVrUojpvXfdwJvRoc2 owlsxoXFYFw3O8yu/F6/Q9WwzMxL/qV33i2E6QHO78lsCdzjveI9ilfwPp63ilHI5G 1yJZoduQIe1LC2Z6WiAyJpgJ+QCr9sYtkckuIr7YGq0usfU8aa4wobVN1R1P7AcZBr /KqRFf9/o065A== Received: by mercury (Postfix, from userid 1000) id E7D3B1060774; Tue, 10 Jan 2023 16:26:31 +0100 (CET) Date: Tue, 10 Jan 2023 16:26:31 +0100 From: Sebastian Reichel To: Heiko =?utf-8?Q?St=C3=BCbner?= Cc: Jagan Teki , Christopher Obbard , Rob Herring , Krzysztof Kozlowski , Marc Zyngier , Linus Walleij , Benjamin Gaignard , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Michael Riesch Subject: Re: [PATCHv8 7/7] arm64: dts: rockchip: Add rock-5b board Message-ID: <20230110152631.etavxhpofd2qmi3t@mercury.elektranox.org> References: <20230109155801.51642-1-sebastian.reichel@collabora.com> <996e39448350d4f6318f7ff59c6a2ca249fb30a7.camel@collabora.com> <37476486.XM6RcZxFsP@diego> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="l4ezfuydhkzkiruc" Content-Disposition: inline In-Reply-To: <37476486.XM6RcZxFsP@diego> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --l4ezfuydhkzkiruc Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Jan 10, 2023 at 04:07:46PM +0100, Heiko St=FCbner wrote: > 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 > > > wrote: > > > >=20 > > > > From: Christopher Obbard > > > >=20 > > > > 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. > > > >=20 > > > > The ethernet controller is connected via PCIe so support will > > > > come in a follow-up patch. > > > >=20 > > > > Signed-off-by: Christopher Obbard > > > > Reviewed-by: Michael Riesch > > > > Signed-off-by: Sebastian Reichel > > > > --- > > > > 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 > > > >=20 > > > > 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) +=3D rk3568-evb1- > > > > v10.dtb > > > > dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3568-odroid-m1.dtb > > > > dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3568-rock-3a.dtb > > > > dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-evb1-v10.dtb > > > > +dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-rock-5b.dtb > > > > dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D 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 =3D "Radxa ROCK 5 Model B"; > > > > + compatible =3D "radxa,rock-5b", "rockchip,rk3588"; > > > > + > > > > + aliases { > > > > + mmc1 =3D &sdhci; > > >=20 > > > I think sdhci - emmc has to be mmc0 due to boot priority. > >=20 > > Hi Jagan, > >=20 > > 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 > >=20 > > But I am happy to change the alias to mmc0, @Sebastian what do you > > think? >=20 > In any case, if you decide to swap things around, please just send a foll= ow > up patch, as I just applied this series :-) No strong opinion regarding the device enumeration from my side. I'm fine either way. @Heiko: Thanks for merging the series. -- Sebastian --l4ezfuydhkzkiruc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmO9g6AACgkQ2O7X88g7 +pr44RAAkXwmE424okAqcVR+nWqsE8cKoZCl0Rpyt1jc2ks9V570cxvC4b0FP5ON bMub1n1T/h1+xGkWcSGUiE7gO7F99bobD6UYfRIzOSTSDFovlN4R8UhZtMgJ0OUn 7+yxlCoybbjNoiJq2MCH0igkGxeRGE2Jyi9CoRfYZIyk5jzZlTPM8cEPX3I48Nod /dBrxbgktSC6/qlOld2fRGfjUo0JYRtQOUKB7wkKfEeUDfeOpz23XYQAFmI1knTT fSMdTqU+BC4hanSXqDd5OBwo4vjyynxChfgRssWbnLl2k485QPMcz5epyrB/VMOi GNZsWU545kXa4RFmF3Uv2RAEzctEyKDyCHtL9WEyEtGsAri9CciCRqxK3UOjObww xs2cSEYn5AIjEXk1sOmFPCyBIhf/DTLFD+2deS9MX9vybg+3cvtjVnGx02+ycLt8 PUM2XrQ0hiD6OuZgWu8OMOT8BTnIs/TTf1B7tHiOqEJSalMTmh7HE05qUskx64Li kPBdnDvjlnqmjzHoFwFUJ2k90KE5nGOPFY7uFFZIhHjCsHaTcVQ01zNfJfrHS94k rsM9+K/1QvqtZv0RTlStzkUIXmOGj+hu93QMKukC0ZGKFIH2VHOgmotRaPma9x7q 5oSmhjw6KmD41Ut7lOBXPrdkbr3c79muPZzE05aGd2rokaEQjJA= =XnXS -----END PGP SIGNATURE----- --l4ezfuydhkzkiruc--