Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2579129rwb; Fri, 9 Dec 2022 04:04:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf7x3iNYResuKuv2XwDKPBnA+OVjR7nlHH4Ntf9nQdagMrmPbn6t08DulAix7kASAGxtNpR0 X-Received: by 2002:a05:6a20:bc9d:b0:a7:187a:7b0a with SMTP id fx29-20020a056a20bc9d00b000a7187a7b0amr7357136pzb.42.1670587447504; Fri, 09 Dec 2022 04:04:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670587447; cv=none; d=google.com; s=arc-20160816; b=FFozue10PdcvooLuDatVH8nkCXdIouzhglTRsKZ7hdaS8ooeS332Gd1bhf3H0vaZLH u7TnJZNSr6rOR7qCq/gOjjBLQKZrvyjR8dCkaUBHdwHxGZ4CtJyY+QBrP7uTjdjeMgeZ bUw3HcGfJmTEnDbcuFQnW+6tHLBuEne1HFeZC3R9R4XX70toziiigNJb1qjun5szTDuF 7DtpowsHwRN8r3S1q0BHzh3qGkhZAG8oXhbXV+vn7hrhDffJb5il+ti3G3XBdFvhGkp3 m8v8ZTPEcTMhyU02d4xzJtkBHESqugAEvtFqxxR6D8GyISJElLD6L9ouFV/M5bR145Ow 9J7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=MjK0sQNHkAnOyNoLULfLFC8tBks0VDS2+NJ4Yo442sA=; b=wWTQ3GBl1hgtQ5ql/lkhaxkJMXLA3ZOSnV3ID/dUW4etqjlYJhXBpW891VlCAK2LGA qTcMo1kPTjIa7hzkgMssrtWqk6ehoiaVACyNR/Xo/uqId0k2MG/X3MLBuod/JQ3kxmVX ZwZdrFrB13X5BRDrwPZOUTFCPpeZbjkaRHDCQyGx15HukA/Kg2YOcusLF46zRTOzNJdq AVgeBZaDvd1USnYFmkbSAoC5Jb3t74Z5kjorfj/ETAjU+UPFAhLA/ogesAW/+B6PYnbb E2qHU5IdGk2a5vyLZmPo/ql6NJlV7W1nRBBXoDwMRov2KXEoNuAxHo7DVPc1Aj+QDCLM KC1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AfRGQFHE; 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 l25-20020a635719000000b004790794f1fasi1298092pgb.428.2022.12.09.04.03.57; Fri, 09 Dec 2022 04:04:07 -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=@linaro.org header.s=google header.b=AfRGQFHE; 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 S229517AbiLILa3 (ORCPT + 75 others); Fri, 9 Dec 2022 06:30:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230051AbiLILaS (ORCPT ); Fri, 9 Dec 2022 06:30:18 -0500 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B7443AC15 for ; Fri, 9 Dec 2022 03:30:17 -0800 (PST) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-3bf4ade3364so48196237b3.3 for ; Fri, 09 Dec 2022 03:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=MjK0sQNHkAnOyNoLULfLFC8tBks0VDS2+NJ4Yo442sA=; b=AfRGQFHE/4QABp88WIfbgyfDOy81cfakm17TWf4F5AZL2sftwRWRi4Lw8wdfsJhsF3 Y7mvb184t/fForLJn9H4L30W4vGAdc1fvQk1YT8e/fsDDvqK6BPEzt9vIWoW4xLTJ1Sw ZEkV3zIA5IhMlYnmP4JqG0FBq8VX+S+ik/Tt9nKw5zzKB+tlYDBxAcApE6tfkoJVO69X LLqFzyoEeXimzaNT/pDC/c+oR8nmUxjvdX9ynIITarYmjtFbIFpgDlmKR0r1O7OxuqGD Vzpiivqk31devP9yFcv5nS0EIae97Jm6xS+ZZKzZ1Tq68Qk3vGm+2RoBEoGO90972p/f H0yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MjK0sQNHkAnOyNoLULfLFC8tBks0VDS2+NJ4Yo442sA=; b=fjoiC9w6d74Zm+UL+2ChXOEqYbOHYk2C7GZmKFQOUH+v+52WBrrJrbJ2XJYrcx6NUH Ait7XfeGqLINGUkngNvXsY1A7rNEvniekg9RSZ01l5LTE5ceTgAiS9mrnxFbvmXSB9TE ocV6/GVyK9bScjbXN4SjrFwq6qAcX8O0CACCy/tdebgXXfrO/+KLzBpIpsCeY6KrT8kA cG/pfaTRA5fy4sXifzYKJlS6uKxlofcL7jeFNvRMXnr4MRTXaFK5O/uKb4PJ9wa7BxN/ vg5+bLqKcqwexxBBLkgfvNg5bVfbepSPJO3zCEJVgj03Mz/ViH17kFd4thSk/2tVg/rl 0KXA== X-Gm-Message-State: ANoB5pkZ/VJF6EZBQFdnumlG1tMpdWeDEUxQOWhNspYIKQoW5z04wEsa tV0C/i4r859Jb8SdJeRECDMqmLwJ5ycdcAgWhHyWPA== X-Received: by 2002:a0d:db15:0:b0:3d6:2151:4038 with SMTP id d21-20020a0ddb15000000b003d621514038mr36253472ywe.418.1670585416427; Fri, 09 Dec 2022 03:30:16 -0800 (PST) MIME-Version: 1.0 References: <20221207220012.16529-1-quic_bjorande@quicinc.com> <20221207220012.16529-12-quic_bjorande@quicinc.com> In-Reply-To: <20221207220012.16529-12-quic_bjorande@quicinc.com> From: Dmitry Baryshkov Date: Fri, 9 Dec 2022 13:30:05 +0200 Message-ID: Subject: Re: [PATCH v5 11/12] arm64: dts: qcom: sc8280xp-crd: Enable EDP To: Bjorn Andersson Cc: Rob Clark , Abhinav Kumar , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Kalyan Thota , Jessica Zhang , Kuogee Hsieh , Johan Hovold , Sankeerth Billakanti , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 On Thu, 8 Dec 2022 at 00:00, Bjorn Andersson wrote: > > From: Bjorn Andersson > > The SC8280XP CRD has a EDP display on MDSS0 DP3, enable relevant nodes > and link it together with the backlight control. > > Signed-off-by: Bjorn Andersson > Signed-off-by: Bjorn Andersson > --- > > Changes since v4: > - None > > arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 72 ++++++++++++++++++++++- > 1 file changed, 71 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts > index f09810e3d956..a7d2384cbbe8 100644 [skipped] > @@ -230,6 +246,54 @@ vreg_l9d: ldo9 { > }; > }; > > +&dispcc0 { > + status = "okay"; > +}; > + > +&mdss0 { > + status = "okay"; > +}; > + > +&mdss0_dp3 { > + compatible = "qcom,sc8280xp-edp"; > + status = "okay"; > + > + data-lanes = <0 1 2 3>; I hope to land Kuogee patches that move data-lanes to the endpoint node, where they belong. Do we have any good way to proceed here? Or would it be easier to land this patch as is and then, maybe next cycle, move the property? > + > + aux-bus { > + panel { > + compatible = "edp-panel"; > + power-supply = <&vreg_edp_3p3>; > + > + backlight = <&backlight>; > + > + ports { > + port { > + edp_panel_in: endpoint { > + remote-endpoint = <&mdss0_dp3_out>; > + }; > + }; > + }; > + }; > + }; > + > + ports { > + port@1 { > + reg = <1>; > + mdss0_dp3_out: endpoint { > + remote-endpoint = <&edp_panel_in>; > + }; > + }; > + }; > +}; > + > +&mdss0_dp3_phy { > + status = "okay"; > + > + vdda-phy-supply = <&vreg_l6b>; > + vdda-pll-supply = <&vreg_l3b>; > +}; > + > &pcie2a { > perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>; > wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>; > @@ -496,6 +560,12 @@ hastings_reg_en: hastings-reg-en-state { > &tlmm { > gpio-reserved-ranges = <74 6>, <83 4>, <125 2>, <128 2>, <154 7>; > > + edp_reg_en: edp-reg-en-state { > + pins = "gpio25"; > + function = "gpio"; > + output-enable; > + }; > + > kybd_default: kybd-default-state { > disable-pins { > pins = "gpio102"; > -- > 2.37.3 > -- With best wishes Dmitry