From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C88DC7EE21 for ; Thu, 4 May 2023 17:12:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229680AbjEDRM2 (ORCPT ); Thu, 4 May 2023 13:12:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjEDRM1 (ORCPT ); Thu, 4 May 2023 13:12:27 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57AE849D9 for ; Thu, 4 May 2023 10:11:55 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4f13a72ff53so910572e87.0 for ; Thu, 04 May 2023 10:11:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683220312; x=1685812312; 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=vz0+DWIAMutu2Xz/Rkb3FV0Lzh5CDdxOEiMrTU8YU2w=; b=The7/RhtFK1E7Mp1mhR4nnfynkOjiBUTilB6tAzhXGfg+rZP6URLbA8L9d+qZ6vYOB z9LKL5vzQS/bYd6P1wvAHEtMVyk0XPVVGJe6Me1DCvTlOyH9V5Z3ZUj1OVy0lbx3dBIP hoXk2sI/WfePB5mPs41Jk7SlWKZ419O7atVVqEg2AmB5Gbce2ar7AbzqPskRTBqZsEWA ag9yUN954Ec238wMXXBngMs7D+dkN1VySKt20FVGFhJ6I1CV/JK5W7bY8XrENqrNylCE 0d73SyhPr/JnI7l31QLsoZA4nGBmVOcu0KRE12F8zHkg35uUhSc9Zw+Xe+JjX7IC83+t nQ2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683220312; x=1685812312; 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=vz0+DWIAMutu2Xz/Rkb3FV0Lzh5CDdxOEiMrTU8YU2w=; b=NbW4kcQmv2EDSousrAJ53lp+S6ffvFuOkkRyZBHS34aERMpouuh2W84HXsumAVZulx XOsJX7fJR+aq93roYPlzpEjsZElxxsyPy8qLmpu+hyi/ACgnAx9wWeB/BHUtb6uR9uWJ 1EpAsKqio7SYdnUr/KzZy0owkmAvfM79VoiF3kACrRMF7zvXnqYxeCR2CtkzE0kHlXHm ewg79yV0tQVVbODlKSrKUL+NI8NEcwWVjsnPdXEKyYuYhuYAdbcwYyWbzD5y6HpH+iz2 ow7XSTZj8KyAg4gW0r5VhyEwzL1YPcY6deJl1kBs9pbcQc/bpysbXGUc4scUWKkhy7TS 3wkg== X-Gm-Message-State: AC+VfDywBGWPgVZQ9+oEmhZtVv125HAeSmsTfmBL1P3ZyIeFzKrQAB8Y J8CFsHjdalFL4iWLAd58M/jbpA== X-Google-Smtp-Source: ACHHUZ6TDIc10NRPmOzuD1yPbh68NQTP0w+3g5hHCzGGNXbNo875UIkeFkOLLgKOcv3ahxr/0rtNwQ== X-Received: by 2002:ac2:410b:0:b0:4ef:f667:16aa with SMTP id b11-20020ac2410b000000b004eff66716aamr2224578lfi.43.1683220311842; Thu, 04 May 2023 10:11:51 -0700 (PDT) Received: from [192.168.1.101] (abyl248.neoplus.adsl.tpnet.pl. [83.9.31.248]) by smtp.gmail.com with ESMTPSA id w15-20020ac2442f000000b004f09126b291sm2724539lfl.213.2023.05.04.10.11.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 May 2023 10:11:51 -0700 (PDT) Message-ID: <723f23b2-c4d8-d688-b261-4198537eefe4@linaro.org> Date: Thu, 4 May 2023 19:11:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH] arm64: dts: qcom: enable dual ("bonded") DSI mode for DB845c Content-Language: en-US To: Dmitry Baryshkov , Andy Gross , Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar , Marijn Suijten , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Amit Pundir References: <20230504160430.4014206-1-dmitry.baryshkov@linaro.org> From: Konrad Dybcio In-Reply-To: <20230504160430.4014206-1-dmitry.baryshkov@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 4.05.2023 18:04, Dmitry Baryshkov wrote: > Now as both lt9611 and drm/msm drivers were updated to handle the 4k > modes over DSI, enable "bonded" DSI mode on DB845c. This way the board > utilizes both DSI links and thus can support 4k on the HDMI output. > > Cc: Amit Pundir > Signed-off-by: Dmitry Baryshkov > --- Reviewed-by: Konrad Dybcio Konrad > arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 36 ++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts > index e14fe9bbb386..4dea2c04b22f 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts > +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts > @@ -419,6 +419,9 @@ &dsi0 { > status = "okay"; P.S. wanna move status last by chance? Konrad > vdda-supply = <&vreg_l26a_1p2>; > > + qcom,dual-dsi-mode; > + qcom,master-dsi; > + > ports { > port@1 { > endpoint { > @@ -434,6 +437,31 @@ &dsi0_phy { > vdds-supply = <&vreg_l1a_0p875>; > }; > > +&dsi1 { > + vdda-supply = <&vreg_l26a_1p2>; > + > + qcom,dual-dsi-mode; > + > + /* DSI1 is slave, so use DSI0 clocks */ > + assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; > + > + status = "okay"; > + > + ports { > + port@1 { > + endpoint { > + remote-endpoint = <<9611_b>; > + data-lanes = <0 1 2 3>; > + }; > + }; > + }; > +}; > + > +&dsi1_phy { > + vdds-supply = <&vreg_l1a_0p875>; > + status = "okay"; > +}; > + > &gcc { > protected-clocks = , > , > @@ -493,6 +521,14 @@ lt9611_a: endpoint { > }; > }; > > + port@1 { > + reg = <1>; > + > + lt9611_b: endpoint { > + remote-endpoint = <&dsi1_out>; > + }; > + }; > + > port@2 { > reg = <2>; >