From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28090C433E0 for ; Wed, 22 Jul 2020 18:41:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E9D1020737 for ; Wed, 22 Jul 2020 18:41:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="L7ot7b16" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E9D1020737 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sntech.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=afiLtUxaabfKYRun4J1SvpK1PnTtK5h5NR1M7gF0h/4=; b=L7ot7b16x0pIEAH342XEV/28B eUvmYW/p4clMsr0cQ3SBVTtJm5hwaZgUb+hJ1Bg9xxsr0v7rOTeF+WhYZFNshgdraO4EFnGljXP3+ Sr/n3jiTUGZECJ4/rSBKSNrOlJ3Ffhn76hpYMxc5Y5seH5CzMqEIF4FkCXMb3gnxtzGjcR0G8oLZ0 quNn/A6u84LwP0lCI6TLXjDiAVn6zK05zqaGQlWXpFwBslCncPdOurLmSbi5qTPjXK9LFl0YSp4an GGiYFxQE/4wWej+xQNZMik4LyhmeUTSa3PmmhylTIAwWRFG+/U+hy+CF2cKERiER8SfBAyQ9mFB7s mRvbXE4pA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyJev-00025G-Tm; Wed, 22 Jul 2020 18:40:05 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyJet-00024h-5J; Wed, 22 Jul 2020 18:40:03 +0000 Received: from x2f7fa19.dyn.telefonica.de ([2.247.250.25] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyJes-0005Ha-2r; Wed, 22 Jul 2020 20:40:02 +0200 From: Heiko Stuebner To: Jagan Teki Subject: Re: [PATCH 1/3] arm64: dts: rockchip: Mark rock-pi-4 as rock-pi-4a dts Date: Wed, 22 Jul 2020 20:40:00 +0200 Message-ID: <2191096.Ll8P9v0SIb@phil> In-Reply-To: <20200720105531.367671-1-jagan@amarulasolutions.com> References: <20200720105531.367671-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200722_144003_257692_9CBD77CC X-CRM114-Status: GOOD ( 19.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Jagan, Am Montag, 20. Juli 2020, 12:55:29 CEST schrieb Jagan Teki: > Rock PI 4 has 3 variants of hardware platforms called > RockPI 4A, 4B, and 4C. > > - Rock PI 4A has no Wif/BT. > - Rock PI 4B has AP6256 Wifi/BT, PoE. > - Rock PI 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enable > GPIO pin change compared to 4B, 4C > > So move common nodes, properties into dtsi file and include > on respective variant dts files. > > Signed-off-by: Jagan Teki > --- > arch/arm64/boot/dts/rockchip/Makefile | 2 +- > .../{rk3399-rock-pi-4.dts => rk3399-rock-pi-4.dtsi} | 3 --- > arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts | 13 +++++++++++++ > 3 files changed, 14 insertions(+), 4 deletions(-) > rename arch/arm64/boot/dts/rockchip/{rk3399-rock-pi-4.dts => rk3399-rock-pi-4.dtsi} (99%) > create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts > > diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile > index b87b1f773083..42f9e1861461 100644 > --- a/arch/arm64/boot/dts/rockchip/Makefile > +++ b/arch/arm64/boot/dts/rockchip/Makefile > @@ -33,7 +33,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-pinebook-pro.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-puma-haikou.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc-mezzanine.dtb > -dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4.dtb > +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4a.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock960.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rockpro64-v2.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rockpro64.dtb > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi > similarity index 99% > rename from arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts > rename to arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi > index 3923ec01ef66..c39334b139cc 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi > @@ -11,9 +11,6 @@ > #include "rk3399-opp.dtsi" > > / { > - model = "Radxa ROCK Pi 4"; > - compatible = "radxa,rockpi4", "rockchip,rk3399"; > - > chosen { > stdout-path = "serial2:1500000n8"; > }; > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts > new file mode 100644 > index 000000000000..d96dd3ebd3e0 > --- /dev/null > +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts > @@ -0,0 +1,13 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2019 Akash Gajjar > + * Copyright (c) 2019 Pragnesh Patel > + */ > + > +/dts-v1/; > +#include "rk3399-rock-pi-4.dtsi" > + > +/ { > + model = "Radxa ROCK Pi 4A"; > + compatible = "radxa,rockpi4", "rockchip,rk3399"; please add a new compatible for the board variants, so ideally we'd get something like: compatible = "radxa,rockpi4a", "radxa,rockpi4", "rockchip,rk3399"; Same for the other 2 board variants + adding them to the binding doc. Thanks Heiko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel