Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp852760imi; Thu, 21 Jul 2022 12:15:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sEO4EqGmx9hhyxLjXLm0zlDA1CYg7SZCIBIrE0wOzzqPlTJvm9ix1elzxjOiwUanHq+8SV X-Received: by 2002:a17:906:9b86:b0:6f8:24e7:af7d with SMTP id dd6-20020a1709069b8600b006f824e7af7dmr18295ejc.295.1658430910291; Thu, 21 Jul 2022 12:15:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658430910; cv=none; d=google.com; s=arc-20160816; b=w2GZaINClkIOrCYOqDpalnx/AlCQVYoSMnL4F4TYci7NNQkoHj2QBGUcY4TGuNaLRR PrS/X4vpsniF28XgudDBwXPgFwd6PtjkD2JVmVnw6+R1VAwPHjkZWDp9fyAbhXzE8b27 E1xMLQJV2u+FN8LhYoOG2RNWDJiYY8yqhSkw3Dkxsf3G15SNMtPbAgFbF+7Zqwn9L+Jt L6X8hvIE235JLwpwKZbahL7O7JAOD1oiLys3YSzCK+eBOr+B6MX5rnrMzq3JBMymK+Wu XOu5lzgD79x80KrVd43CMx3ijyu65gCEdB3RhC4xTF5zYJQ190wNzW+/Ag3R8WLko/TW Dcug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=WUWvx796xAcSA/T+FqpqMqy+M0zcoxjlWb4SktjiqyY=; b=uIwKcVOnTVi3PuB4NIJRfD7XDp3PffW136bwDs8PzRjNd3GAawPBpM7dLQ345EZhXS KRtG+pMtF3u9enJ+87TGMRAVjl7KUhaRFdFQNLoC2+8PuyZmWIqgby4IMfIpM+9sNgme FZ5MwFS7IvvvU9/vx4mVqMZjcDi3eYpiV+jKwQJ4420w4k2LGxvIZ4iJO+G6fg+fB5t2 Jq1Xn5yw75st3x/NVJS2mztGlSVe7oLzqCUXAqsK0Z+kXy4xlwRWMtHKM1f27QY64FWZ 5bXlOZc9KQjjcbl7Im14BeClVrTWI4XP+ixBrJ4/Q0kcopRumvIqpk8a2NZY9tqIfFW7 5Qpw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s10-20020a05640217ca00b0043a788fca92si2995285edy.503.2022.07.21.12.14.45; Thu, 21 Jul 2022 12:15:10 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232640AbiGUSln (ORCPT + 99 others); Thu, 21 Jul 2022 14:41:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbiGUSlk (ORCPT ); Thu, 21 Jul 2022 14:41:40 -0400 Received: from relay05.th.seeweb.it (relay05.th.seeweb.it [5.144.164.166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9CE086C1E; Thu, 21 Jul 2022 11:41:38 -0700 (PDT) Received: from [192.168.1.101] (abxj77.neoplus.adsl.tpnet.pl [83.9.3.77]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 7B0673F72A; Thu, 21 Jul 2022 20:41:35 +0200 (CEST) Message-ID: Date: Thu, 21 Jul 2022 20:41:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 1/2] arm64: dts: qcom: introduce sa8540p-ride dts Content-Language: en-US To: Parikshit Pareek , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220721154057.15276-1-quic_ppareek@quicinc.com> From: Konrad Dybcio In-Reply-To: <20220721154057.15276-1-quic_ppareek@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 Hello! On 21.07.2022 17:40, Parikshit Pareek wrote: > Create new dts file specific for Qdrive board based on sa8540p chipset. Is the SA8540P any different than SA8295P? My wild guess is that they're binned versions of each other with different DVFS levels.. That could use a separate SoC DTSI to hold these differences should that be true.. > Introduce common dtsi file sa8295p-adp.dtsi, to be included for adp and > Qdrive board. > > Signed-off-by: Parikshit Pareek > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 378 +---------------- > arch/arm64/boot/dts/qcom/sa8295p-adp.dtsi | 385 ++++++++++++++++++ > arch/arm64/boot/dts/qcom/sa8540p-adp-ride.dts | 15 + > 4 files changed, 403 insertions(+), 376 deletions(-) > create mode 100644 arch/arm64/boot/dts/qcom/sa8295p-adp.dtsi > create mode 100644 arch/arm64/boot/dts/qcom/sa8540p-adp-ride.dts > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index 9e2a13d75f9d..fa0abcf7660b 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -51,6 +51,7 @@ dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb > dtb-$(CONFIG_ARCH_QCOM) += qrb5165-rb5.dtb > dtb-$(CONFIG_ARCH_QCOM) += sa8155p-adp.dtb > dtb-$(CONFIG_ARCH_QCOM) += sa8295p-adp.dtb > +dtb-$(CONFIG_ARCH_QCOM) += sa8540p-adp-ride.dtb This needs to be a tab. > dtb-$(CONFIG_ARCH_QCOM) += sc7180-idp.dtb > dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r1.dtb > dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r1-lte.dtb > diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > index 9398f0349944..adb6637117bc 100644 > --- a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > @@ -2,388 +2,14 @@ > /* > * Copyright (c) 2021, The Linux Foundation. All rights reserved. > * Copyright (c) 2022, Linaro Limited > + * Copyright (c) 2022 Qualcomm Innovaion Center, Inc. All rights reserved. Please add a comma after the year to keep it consistent. > */ > > /dts-v1/; [...] > diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dtsi b/arch/arm64/boot/dts/qcom/sa8295p-adp.dtsi > new file mode 100644 > index 000000000000..75ef77b7cac1 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dtsi Are the boards based on each other? Or on a similar base platform? Maybe sa8295p/sa8540p/sasomethingelse-automotive.dtsi could be a better name in the latter case? [...] > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sa8540p-adp-ride.dts > @@ -0,0 +1,15 @@ > +// SPDX-License-Identifier: BSD-3-Clause > +/* > + * Copyright (c) 2021, The Linux Foundation. All rights reserved. > + * Copyright (c) 2022, Linaro Limited > + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. > + */ > + > +/dts-v1/; > + > +#include "sa8295p-adp.dtsi" > + > +/ { > + model = "Qualcomm SA8540 ADP"; So "Qdrive board" == SA8540 ADP == SA8540 ADP Ride? Or is there a base platform for all of them? Maybe the Qdrive is simply based on the ADPs? Is there a clear distinction between ADP and ADP Ride? Konrad > + compatible = "qcom,sa8540p-adp-ride", "qcom,sa8540p"; > +};