Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2430557rwb; Mon, 19 Sep 2022 05:10:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4G3iDMw1TgEkxCnRZ5Qv4/umo+K7y5TXy3R6eLl0KcVYr9kla1cYKqcrMd85z6KsqdQg7u X-Received: by 2002:a17:907:da0:b0:772:6e9a:8ff9 with SMTP id go32-20020a1709070da000b007726e9a8ff9mr12936304ejc.111.1663589421430; Mon, 19 Sep 2022 05:10:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663589421; cv=none; d=google.com; s=arc-20160816; b=MDN9VkRkDlGBJSvQ5mx6t+EVZ2X87pCiVVdGnWgMB5/mOYxCKwkXMS8QPPO2gLgcX7 C7Jd92m+LsZDwQY5kBo79q2CNdrMCvwGK+UDryprmzKcVmqgj/l+xF5+/qvt7ezurMBL SbWTNtTe2IGyC1syGlBQl/das6PL0u8vMS3vCpomsH1ImCVyPhlCbT/eV57I5KCH4nKm NnSY11CJWQJC2rXxivz/RESnbyvI/5rS90eZox9MN2LnuAB+6SYp3l+tkKbWzJWBKuLf pyuOtP28li0jgoTqsD4nT7dUnTArqr2Pcb1ltlq52vwfaYO99gdwL+hmGAj6d5S8AAPJ Tt6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=y9rKANHchjNpSN9Qq9D6AIPXx6ITqAMrHklDuvucp2w=; b=LuRVX1gOij2AvgE5qO9Mdd7QAQQvwthNPAUwSAu0a/Dpn46T74GBc2xTSHvvNgGH7P 1GPWYyluA8k9HW5UDOLkIfeMHif2YB2xQj2FdwGX6l8DmF02K7Gjw5Idultg/k/Xa0bk Kj7uut8YipNKt/3e22ArNyBbhURB21x86eRf4EVwrjrsPEwZbHMPRiMuv8BkwdZJ/at7 oMAUZ2qniW5kzUew3/aO+sE11LpEJ1SCSNnig0rH4eaRrWKNuCK64BEBtqgJH5uAXlh9 OrLTLdsr3jzklssRtAIYJB11TPAWKiKr01zA2e3Vei8m9Z5IrGGNn6KjAHdTpEB6/NRi rvog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@connolly.tech header.s=protonmail header.b=RBJ+K+7r; 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=connolly.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji14-20020a170907980e00b0077951929340si27088704ejc.271.2022.09.19.05.09.55; Mon, 19 Sep 2022 05:10:21 -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; dkim=pass header.i=@connolly.tech header.s=protonmail header.b=RBJ+K+7r; 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=connolly.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229921AbiISLZc (ORCPT + 99 others); Mon, 19 Sep 2022 07:25:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230110AbiISLZU (ORCPT ); Mon, 19 Sep 2022 07:25:20 -0400 Received: from mail-40136.proton.ch (mail-40136.proton.ch [185.70.40.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EF1619C02; Mon, 19 Sep 2022 04:25:18 -0700 (PDT) Date: Mon, 19 Sep 2022 11:25:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1663586715; x=1663845915; bh=y9rKANHchjNpSN9Qq9D6AIPXx6ITqAMrHklDuvucp2w=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=RBJ+K+7rzjAsOk9Zz+PDE3BkfOK2eCcz0DGQk3cIdvN6b8xmAuHzVJVt1giEHc9Pe BmgZ9MRg8oDeV6hm9SjTh7+G1xTRJGHlwi8yfVnC1YO3MaNLua/A5QON1aF0TJiXZs BR8dLHD7vXpiO9+AdNXC434ZYNlZxv0IVE/DOKaM= To: Joel Selvaraj , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski From: Caleb Connolly Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org Subject: Re: [PATCH v5 1/3] arm64: dts: qcom: split beryllium dts into common dtsi and tianma dts Message-ID: In-Reply-To: <20220909035447.36674-2-joelselvaraj.oss@gmail.com> References: <20220909035447.36674-1-joelselvaraj.oss@gmail.com> <20220909035447.36674-2-joelselvaraj.oss@gmail.com> Feedback-ID: 10753939:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 On 09/09/2022 04:54, Joel Selvaraj wrote: > There are two panel variants of Xiaomi Poco F1. Tianma and EBBG panel. > The previous beryllium dts supported the Tianma variant. In order to > add support for EBBG variant, the common nodes from beryllium dts are > moved to a new common dtsi and to make the variants distinguishable, > sdm845-xiaomi-beryllium.dts is now named as > sdm845-xiaomi-beryllium-tianma.dts. The model property is updated to > distinguish between the variants. The compatibility property is > moved to the tianma variant, but it is not updated to avoid any > further conflict with other projects/users that might depend on it. > > Signed-off-by: Joel Selvaraj > Reviewed-by: Marijn Suijten Reviewed-by: Caleb Connolly Kind regards, Caleb > --- > arch/arm64/boot/dts/qcom/Makefile | 2 +- > ...um.dts =3D> sdm845-xiaomi-beryllium-common.dtsi} | 11 +++++------ > .../dts/qcom/sdm845-xiaomi-beryllium-tianma.dts | 15 +++++++++++++++ > 3 files changed, 21 insertions(+), 7 deletions(-) > rename arch/arm64/boot/dts/qcom/{sdm845-xiaomi-beryllium.dts =3D> sdm84= 5-xiaomi-beryllium-common.dtsi} (98%) > create mode 100644 arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tia= nma.dts > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom= /Makefile > index 1d86a33de528..d0bba59d2a8c 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -128,7 +128,7 @@ dtb-$(CONFIG_ARCH_QCOM)=09+=3D sdm845-oneplus-fajita.= dtb > dtb-$(CONFIG_ARCH_QCOM)=09+=3D sdm845-sony-xperia-tama-akari.dtb > dtb-$(CONFIG_ARCH_QCOM)=09+=3D sdm845-sony-xperia-tama-akatsuki.dtb > dtb-$(CONFIG_ARCH_QCOM)=09+=3D sdm845-sony-xperia-tama-apollo.dtb > -dtb-$(CONFIG_ARCH_QCOM)=09+=3D sdm845-xiaomi-beryllium.dtb > +dtb-$(CONFIG_ARCH_QCOM)=09+=3D sdm845-xiaomi-beryllium-tianma.dtb > dtb-$(CONFIG_ARCH_QCOM)=09+=3D sdm845-xiaomi-polaris.dtb > dtb-$(CONFIG_ARCH_QCOM)=09+=3D sdm845-shift-axolotl.dtb > dtb-$(CONFIG_ARCH_QCOM)=09+=3D sdm850-lenovo-yoga-c630.dtb > diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts b/arch/= arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi > similarity index 98% > rename from arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts > rename to arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi > index 82c27f90d300..940ac9cd0aba 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts > +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi > @@ -26,8 +26,6 @@ > /delete-node/ &rmtfs_mem; > > / { > -=09model =3D "Xiaomi Pocophone F1"; > -=09compatible =3D "xiaomi,beryllium", "qcom,sdm845"; > =09chassis-type =3D "handset"; > > =09/* required for bootloader to select correct board */ > @@ -221,8 +219,7 @@ &dsi0 { > =09status =3D "okay"; > =09vdda-supply =3D <&vreg_l26a_1p2>; > > -=09panel@0 { > -=09=09compatible =3D "tianma,fhd-video"; > +=09display_panel: panel@0 { > =09=09reg =3D <0>; > =09=09vddio-supply =3D <&vreg_l14a_1p8>; > =09=09vddpos-supply =3D <&lab>; > @@ -234,8 +231,10 @@ panel@0 { > =09=09backlight =3D <&pmi8998_wled>; > =09=09reset-gpios =3D <&tlmm 6 GPIO_ACTIVE_LOW>; > > +=09=09status =3D "disabled"; > + > =09=09port { > -=09=09=09tianma_nt36672a_in_0: endpoint { > +=09=09=09panel_in_0: endpoint { > =09=09=09=09remote-endpoint =3D <&dsi0_out>; > =09=09=09}; > =09=09}; > @@ -243,7 +242,7 @@ tianma_nt36672a_in_0: endpoint { > }; > > &dsi0_out { > -=09remote-endpoint =3D <&tianma_nt36672a_in_0>; > +=09remote-endpoint =3D <&panel_in_0>; > =09data-lanes =3D <0 1 2 3>; > }; > > diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts = b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts > new file mode 100644 > index 000000000000..8e176111e599 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts > @@ -0,0 +1,15 @@ > +// SPDX-License-Identifier: GPL-2.0 > + > +/dts-v1/; > + > +#include "sdm845-xiaomi-beryllium-common.dtsi" > + > +/ { > +=09model =3D "Xiaomi Pocophone F1 (Tianma)"; > +=09compatible =3D "xiaomi,beryllium", "qcom,sdm845"; > +}; > + > +&display_panel { > +=09compatible =3D "tianma,fhd-video"; > +=09status =3D "okay"; > +}; > -- > 2.37.3 >