Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2496050rwb; Fri, 9 Dec 2022 02:54:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf7MXBUq9YJMC1riYcmnk+j4ZGbuqAzvlW1enM/mH6slNLj/m0uzbVBKy6mHjfpIAMG6cpMl X-Received: by 2002:a17:907:7794:b0:798:d745:f87 with SMTP id ky20-20020a170907779400b00798d7450f87mr4606102ejc.73.1670583294996; Fri, 09 Dec 2022 02:54:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670583294; cv=none; d=google.com; s=arc-20160816; b=p44yG/etHkrCF9CzKT0sUPKGmTKuauTJXyFOjVa4C5Gc/y8lgsSSb5rfJmuRUVyRAL vDFoa5AIBvnDoyXZsFAh5RzVXV6ryXuz6ipQn7n1D6U2VUSsREiCQ/Oqgi8iHhvixFkg IES6LzXHveXaZaNpo5x7e9bzQE2/k1+sfEGNRssqwGqI6rU8lUWyx8vERreC6ii2ll6+ Sh6iZelpcYztebP/yF6CNDJo7cDaw8nkcjS8HS/UKfPjiM/hNfBF35GWKot1du5vUi7V 2i4xok9ytS2jaeuJFk3y/WNITuWblw2cIfWnS10UCh8z5ObAToMiAVkCfCF1RjsXqiO6 w1tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OOId+oXsfZvxqJHXDiP4VXCaKNIse7+d/3TAc7dqlEY=; b=pwgnHu41fP/QZ0egyaI/CzG8WbydXRBUE+FjbHYfZp9N3czmuQvJRZTXSZw7gmRMnt zwgQ5p0gDpsBV+tbyssbQD+55EQfqhGBayGlKSToIh9pjIXXym/wE7Oxh3djRiCnWWKx mUR62txaByjrGgxuhkAzZUzZVbyOIlAKTV5qmhtBGMuJyI5Y6jsNdfJW5ytjrrnV9NLo jLVoJlbDS0yU6NBfLYaD5MX5tcdLrtwY8W4wg4IFkE8vigDksMDd37t7DR2y4sevik2n 02nMqq4rehk1eLjR+EmOLf6J3l+xOXBZ14HeD93c8+qAq76D5jpXkSMBmGXR2tPT0QXu OfDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sQM13xgi; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht20-20020a170907609400b007c0db55679esi1014957ejc.361.2022.12.09.02.54.35; Fri, 09 Dec 2022 02:54:54 -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=@kernel.org header.s=k20201202 header.b=sQM13xgi; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229692AbiLIKos (ORCPT + 75 others); Fri, 9 Dec 2022 05:44:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbiLIKoq (ORCPT ); Fri, 9 Dec 2022 05:44:46 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6E342FBD9; Fri, 9 Dec 2022 02:44:43 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 3B56CCE2912; Fri, 9 Dec 2022 10:44:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29980C433F1; Fri, 9 Dec 2022 10:44:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670582680; bh=OQ9wTdZ2DO0JGCC7roVOqbbbr7T4b+hZo3DWXx63pYE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sQM13xgif5a+PLhbH/IjBoJEZxsoN2owWTZmnM9KMEtM3S2lTVDVfMJ5jQMhvLmlO 3Od8l3ME20UcEES5cCkBnF0EdqYBOgelrgHpjZiQJDH8p+mvZtx3B3NXUwkhVy4QmS HTs54GfS6IrOPPrAmQOEoRFtTy9vh2+czbERrauplpnsQlIitlVa/FrH2elnG0aYtJ Mba8xTQHrslJWgJAA0AmyoqYD77uJtEPHMY0hJdsc4IeUsIJU+RV9oN2Uw2o5EI5+c lGe4vfNUm+/NKqcHGnQrdoz6I4ifCirH50aes9wUgbYYF4dUjuYPpxtRv0GaqoQQd+ R+j0rqxCGhnsw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1p3asB-0003rW-Js; Fri, 09 Dec 2022 11:44:56 +0100 Date: Fri, 9 Dec 2022 11:44:55 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Dmitry Baryshkov , 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 Subject: Re: [PATCH v5 12/12] arm64: dts: qcom: sa8295-adp: Enable DP instances Message-ID: References: <20221207220012.16529-1-quic_bjorande@quicinc.com> <20221207220012.16529-13-quic_bjorande@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221207220012.16529-13-quic_bjorande@quicinc.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Wed, Dec 07, 2022 at 02:00:12PM -0800, Bjorn Andersson wrote: > From: Bjorn Andersson > > The SA8295P ADP has, among other interfaces, six MiniDP connectors which > are connected to MDSS0 DP2 and DP3, and MDSS1 DP0 through DP3. > > Enable Display Clock controllers, MDSS instanced, MDPs, DP controllers, > DP PHYs and link them all together. > > Signed-off-by: Bjorn Andersson > Signed-off-by: Bjorn Andersson > --- > > Changes since v4: > - None > > arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 243 ++++++++++++++++++++++- > 1 file changed, 241 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > index 6c29d7d757e0..d55c8c5304cc 100644 > --- a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > +&mdss0_dp2 { > + status = "okay"; Please move 'status' last. > + > + data-lanes = <0 1 2 3>; > + > + ports { > + port@1 { > + reg = <1>; > + mdss0_dp2_phy_out: endpoint { > + remote-endpoint = <&edp0_connector_in>; > + }; > + }; > + }; > +}; > + > +&mdss0_dp2_phy { > + status = "okay"; Same here. > + > + vdda-phy-supply = <&vreg_l8g>; > + vdda-pll-supply = <&vreg_l3g>; > +}; > + > +&mdss0_dp3 { > + status = "okay"; And here. > + > + data-lanes = <0 1 2 3>; > + > + ports { > + port@1 { > + reg = <1>; > + mdss0_dp3_phy_out: endpoint { > + remote-endpoint = <&edp1_connector_in>; > + }; > + }; > + }; > +}; > + > +&mdss0_dp3_phy { > + status = "okay"; And here. > + > + vdda-phy-supply = <&vreg_l8g>; > + vdda-pll-supply = <&vreg_l3g>; > +}; > + > +&mdss1 { > + status = "okay"; > +}; > + > +&mdss1_dp0 { > + status = "okay"; And here. > + > + data-lanes = <0 1 2 3>; > + > + ports { > + port@1 { > + reg = <1>; > + mdss1_dp0_phy_out: endpoint { > + remote-endpoint = <&dp2_connector_in>; > + }; > + }; > + }; > +}; > + > +&mdss1_dp0_phy { > + status = "okay"; Ditto. > + > + vdda-phy-supply = <&vreg_l11g>; > + vdda-pll-supply = <&vreg_l3g>; > +}; > + > +&mdss1_dp1 { > + status = "okay"; Ditto. > + > + data-lanes = <0 1 2 3>; > + > + ports { > + port@1 { > + reg = <1>; > + mdss1_dp1_phy_out: endpoint { > + remote-endpoint = <&dp3_connector_in>; > + }; > + }; > + }; > +}; > + > +&mdss1_dp1_phy { > + status = "okay"; Ditto. > + > + vdda-phy-supply = <&vreg_l11g>; > + vdda-pll-supply = <&vreg_l3g>; > +}; > + > +&mdss1_dp2 { > + status = "okay"; Ditto. > + > + data-lanes = <0 1 2 3>; > + > + ports { > + port@1 { > + reg = <1>; > + mdss1_dp2_phy_out: endpoint { > + remote-endpoint = <&edp2_connector_in>; > + }; > + }; > + }; > +}; > + > +&mdss1_dp2_phy { > + status = "okay"; Ditto. > + > + vdda-phy-supply = <&vreg_l11g>; > + vdda-pll-supply = <&vreg_l3g>; > +}; > + > +&mdss1_dp3 { > + status = "okay"; Ditto. > + > + data-lanes = <0 1 2 3>; > + > + ports { > + port@1 { > + reg = <1>; > + mdss1_dp3_phy_out: endpoint { > + remote-endpoint = <&edp3_connector_in>; > + }; > + }; > + }; > +}; > + > +&mdss1_dp3_phy { > + status = "okay"; Ditto. > + > + vdda-phy-supply = <&vreg_l11g>; > + vdda-pll-supply = <&vreg_l3g>; > +}; > + > &pcie2a { > perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>; > wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>; Johan