Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6496613rwl; Wed, 22 Mar 2023 11:21:24 -0700 (PDT) X-Google-Smtp-Source: AK7set9GGT1eHNd7qH0uSy5yMz1CmIG3Wo1Ne0XyYU2RUKb4ejdgQlXVfxDo70VQDL+CEH+58CvB X-Received: by 2002:a05:6a20:2115:b0:d9:ec4b:82c8 with SMTP id y21-20020a056a20211500b000d9ec4b82c8mr341437pzy.48.1679509284500; Wed, 22 Mar 2023 11:21:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679509284; cv=none; d=google.com; s=arc-20160816; b=P5DlPXJRJwZPPEhFMmoJLkRHGBDi0iWAHbDwVelI6gmAvIbVM7/VzC7uv/ze+HBGVV /Z1aSsJxwRVOLvNx9PLeUyjdeZ44fAhN3qmZ98pYch4TwHbEQNwaOA4a+gRwcMFv5pp5 cv9FSgVyNiX9ZK2TaNAFUS+gXxsACcDf6UGIXBEjTsFtLohnFbaUghdMKmLh20JNkyst 1c7u7P5SuTH/Walo5QE6G3j9imiU1ljwZZhIUNYGWKtiDyBFyabY72fRYCxIghH71zPl bSGuz37yAxgqLyV3YbQ1MO5N7TtSs/wdub0OQby/FixPjijGQI4QEAVmshPJNoo103HE m6sA== 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:dkim-signature; bh=0Jvs1xrLwrNQQ4RSyjH1t+/FTl15pE2eQYewVtTpktU=; b=KMX2WGo3qdxbNNB1SbZCmOsj7MTh38EWsUrkH47qS6IXJsJF2UbtId+sKanKk/V/P6 8Pdkxzz33qD00p2NHUpciNfoKL+xYFXJHOrqRmRLralWAY0nrFX4uB80kL1yYzI4Uqn7 m8yxPSGrP10W+p9szdLojd5fAU97k6UXqNCQ1lkKLElx6QgjirVMpgq9V233F+ZfZ5iC xTgz5bZCjpq8HGPNRj0dkHAeU/N7GL7uuxbWtlnXG+uGtqL/y1GA32gilfTkBXO5Denu dUq7hQpxNArhvCs4EtwAxeXTECOza5mo9Lq5h76Y7u7qhvmgDTRHL04y1HMVtyaEUWoO Un4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SYtHlAy1; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t2-20020a634442000000b004dffd0e0409si15824223pgk.518.2023.03.22.11.21.10; Wed, 22 Mar 2023 11:21:24 -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=@linaro.org header.s=google header.b=SYtHlAy1; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229996AbjCVSQy (ORCPT + 99 others); Wed, 22 Mar 2023 14:16:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229802AbjCVSQw (ORCPT ); Wed, 22 Mar 2023 14:16:52 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7789865068 for ; Wed, 22 Mar 2023 11:16:51 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id h25so12883804lfv.6 for ; Wed, 22 Mar 2023 11:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679509010; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=0Jvs1xrLwrNQQ4RSyjH1t+/FTl15pE2eQYewVtTpktU=; b=SYtHlAy116u32i5WTaiPvBLFHjuG+UC/JIXcyNIA5v3x5L8U+7BfXyA52lsU0jyvkX bXpaQMeDgLLEWn6zz5v7OZqy3cj5QR/xsSSeSR16v5NFIFvt55c/64v/MJD0R+OIZWyn KDcO7M3zB2hDgGfQsvqNjoSMQJ+kkLi1MhCsJAGusz/IejVRu7qEkI0MFVIWwzTeBh9/ JCxSfUHYEjjjKjg/6dZIe5LzeDeyCBT7n5gOiXeQnMiACSK1kyy6EZ6+pqJKpeJfWj/X Jzad58Skp3ldyTpUhdvNw1VAo/4ZY/J2zZmxfOBkWJjyRKmWfbEzlgfT5TlMyZNoi11E E1hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679509010; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0Jvs1xrLwrNQQ4RSyjH1t+/FTl15pE2eQYewVtTpktU=; b=eLHRXY/OThS1dyjHw9GQ49UztWwf1LvEUuyVHTsZ0SwywHJDXM/RLS7+YmGAhHMs+X E1zsvNLrb+T3OKWtXHinPcQX9SjsbwUG28rOBQq6kM6NMX5N7Xss7RnRXB1ZfYbDv4x/ JOG0dxWHjGNk7PeuSXXNwH3YuhNGghL9dSlfbCwJFVb0s+Sf5Cro+T7RKsOtAMhFyMQx LFut5WykUakYUVVrPh3bISzb31Y+vAgdvmH/LqSXpRhsUJ2c1KpHBi5CtFiFqLeqCnQq LwYBUTL0BZWFcDbgE5kDzU/GqkxpfecI6tCIU1AwvVLhjPu93mCHeaeV/4yzgYznqFCv d1jA== X-Gm-Message-State: AO0yUKWRVru8rAd7ztWKthIIen06L2nZD8cuSgAP50qvo/sYuO6jZvgh OQNEeS7wq6KK1gKSK4KIF8nueg== X-Received: by 2002:ac2:4310:0:b0:4dd:af76:d3c with SMTP id l16-20020ac24310000000b004ddaf760d3cmr2012118lfh.48.1679509009739; Wed, 22 Mar 2023 11:16:49 -0700 (PDT) Received: from [192.168.1.101] (abym238.neoplus.adsl.tpnet.pl. [83.9.32.238]) by smtp.gmail.com with ESMTPSA id y2-20020ac24202000000b004b53eb60e3csm2651938lfh.256.2023.03.22.11.16.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Mar 2023 11:16:49 -0700 (PDT) Message-ID: Date: Wed, 22 Mar 2023 19:16:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 2/4] arm64: dts: qcom: sm8250-xiaomi-elish: Add mdss and dsi node Content-Language: en-US To: Jianhua Lu , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: 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 References: <20230322171555.2154-1-lujianhua000@gmail.com> <20230322171555.2154-2-lujianhua000@gmail.com> From: Konrad Dybcio In-Reply-To: <20230322171555.2154-2-lujianhua000@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 22.03.2023 18:15, Jianhua Lu wrote: > xiaomi-elish uses dual dsi mode panel and dsi phy type is cphy. > > Signed-off-by: Jianhua Lu > --- > Changes in v2: > - Include missing for phy-type property. > > .../dts/qcom/sm8250-xiaomi-elish-common.dtsi | 73 +++++++++++++++++++ > 1 file changed, 73 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi > index a43d4b73ffca..4ff8454d4abe 100644 > --- a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi > @@ -5,6 +5,7 @@ > > #include > #include > +#include 'p' < 'r' > #include "sm8250.dtsi" > #include "pm8150.dtsi" > #include "pm8150b.dtsi" > @@ -469,6 +470,74 @@ &cdsp { > status = "okay"; > }; > > +&dsi0 { > + vdda-supply = <&vreg_l9a_1p2>; > + qcom,dual-dsi-mode; > + qcom,master-dsi; Keep the master property after qcom,sync-dual-dsi so that we get a nice reverse-Christmas-tree. > + qcom,sync-dual-dsi; > + status = "okay"; > + > + display_panel: panel@0 { > + reg = <0>; > + vddio-supply = <&vreg_l14a_1p88>; > + reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; > + backlight = <&backlight>; > + > + status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; Please add newlines before subnodes. Konrad > + panel_in_0: endpoint { > + remote-endpoint = <&dsi0_out>; > + }; > + }; > + > + port@1{ > + reg = <1>; > + panel_in_1: endpoint { > + remote-endpoint = <&dsi1_out>; > + }; > + }; > + > + }; > + }; > +}; > + > +&dsi0_out { > + data-lanes = <0 1 2>; > + remote-endpoint = <&panel_in_0>; > +}; > + > +&dsi0_phy { > + vdds-supply = <&vreg_l5a_0p88>; > + phy-type = ; > + status = "okay"; > +}; > + > +&dsi1 { > + vdda-supply = <&vreg_l9a_1p2>; > + qcom,dual-dsi-mode; > + qcom,sync-dual-dsi; > + /* DSI1 is slave, so use DSI0 clocks */ > + assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; > + status = "okay"; > +}; > + > +&dsi1_out { > + data-lanes = <0 1 2>; > + remote-endpoint = <&panel_in_1>; > +}; > + > +&dsi1_phy { > + vdds-supply = <&vreg_l5a_0p88>; > + phy-type = ; > + status = "okay"; > +}; > + > &gmu { > status = "okay"; > }; > @@ -533,6 +602,10 @@ fuel-gauge@55 { > }; > }; > > +&mdss { > + status = "okay"; > +}; > + > &pcie0 { > status = "okay"; > };