Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18244061rwd; Tue, 27 Jun 2023 14:01:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6cDrTxeIiTV4Hf/OEvSGLZWTsXh87n59GDoc1KKozluUi+QCV32QBYhzhZ9bNwBY+eTHwo X-Received: by 2002:a05:6a21:3a91:b0:119:69eb:886a with SMTP id zv17-20020a056a213a9100b0011969eb886amr24973941pzb.23.1687899708753; Tue, 27 Jun 2023 14:01:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687899708; cv=none; d=google.com; s=arc-20160816; b=f8ZHGTpU/bcFU9gL9C/ArnydjwOae/61p+oxU19y5jJlrc1O4lm+YDLaHhg1oyiyPX pM5+13EtF0k5+qiURt80rfNPOE7eyyFuyUEEC/7jwsJivUnVPzXea0ESFzhaW3KTnKp0 epZZ+0FbGrmM8+H0UV8ZgLCxEzyj52meQq/H+jP7KmK+FBQuGZvBIcPtzOVm11mZQV/l 1azL61E27f1NP9wQxGq31CGzfrfaAmYef0TQkFAF4vr3bGJ7GMGvJKbPIcQG5OsgheXk xkVHxLfkIbeVPv1Jrh1jjiIws/9c6Vjm4AHG0SHmQWeiMlXxKEKUMRatILL0MkX+hvOU 956Q== 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=h5cuxxD3O/wTB2BSSAaaa+aPcVHglRupuBRpkNvhp/4=; fh=28QtRjWrimhQE0FRCKrQwfxUZxK+zEin8yfUE7Ixdvw=; b=yP5iKw30RbNOoJQm67R7KXFt37NhsvNg7QwK72g/4VTiCsQ2jyX+OG9g6s7nT0HngE 2RbSA+MEGSN+hdaSXrGX70mdqwZzEQzjv9nyz0WUt2KbdYm6+mM3nX16H1m8JxKZiiFt /H+ZYqYTAtTcYHKeJ17Um8kTOWz5XyC/Aa2YxMVcU2MW2xCGKUAdeS7eaapnDMGMO4YM y5aK7I+UYXGgXbW2O3ca0nY1Ju+N86+tauL0f+r5X9EMhRuv/zIvA/N/NyRTxUNAK+OT cNFfOw/vJ8fr4MSNlMjbZeUcip8ZKKHns/y981I0QOXVt2s9p50P+GZgqdjFgz/LFXwy ARxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=noeEPvhz; 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 v64-20020a638943000000b00543d32ee960si7492000pgd.594.2023.06.27.14.01.36; Tue, 27 Jun 2023 14:01:48 -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=noeEPvhz; 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 S231494AbjF0Usn (ORCPT + 99 others); Tue, 27 Jun 2023 16:48:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229840AbjF0Use (ORCPT ); Tue, 27 Jun 2023 16:48:34 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F00D10D7 for ; Tue, 27 Jun 2023 13:48:33 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4f86dbce369so6881990e87.0 for ; Tue, 27 Jun 2023 13:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687898911; x=1690490911; 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=h5cuxxD3O/wTB2BSSAaaa+aPcVHglRupuBRpkNvhp/4=; b=noeEPvhzwSHk1yr+PYO+SJGFRehpAwvLYYcJ2os8G6QThZlWNjba1cjaV/ACdEtn6y UkgnNucmSeKLRThSp14WbUOgibmopor+LCDEUGfG9b44wFXNCPblqIUQPa+67y5j8V22 GuPubh8ldtsanayR27EljTM3iNBQY3JE+ylibTqf/PYwI8axRmq4n3jvsUKEN29XS9ej 0R9XoDHjXrbH3h6IgyPV/NB1ObmjRHvPpFY0YxyKhrPLRO5ERD+mPjfayhPgfv0NLHjs Ui+UbzwHVTesR9K7j8C1qhVuSTtEW0VXMXQ9vfxGnadvqvxjsnqngQc7pkbbzirwXoHW ddoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687898911; x=1690490911; 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=h5cuxxD3O/wTB2BSSAaaa+aPcVHglRupuBRpkNvhp/4=; b=iNTKiu9jeStUeFXgnKYAMrkYBd3OAN5kaRzkhtkOPiY22L7SBU0HBlKYopNViwpXc4 cNkM1D+K0VA97uCt+cVlyjvr6oYAEczGeVzaL3Oa2R8Ucy4baxIoLqLugo0s80xwVyqc 5SzyWkNxW/I3Gf3gNfjdfqspgoz8RGwYfD2mZi75n/nJRAHmMJsylt1x8bDWsvfoGsfZ lZCwvYEUqW6dpyyOfrr84Jp930sYxQ+YQHMoG4GYVnIxy96LUgzhqN03qVRpLa1E8mFh Q++eNNkxDOXv3DOf6frpz0Snc+0bgDMKa3Iw5+jBQyOgJXKM6FbRNXuXt2aCnl5tek44 4aqg== X-Gm-Message-State: AC+VfDwwniISfjJYDsPbMOZTW8tIX2YzkoTf2wVU3UzVLStDUAja/+8E Ur3Is4jhBJmb7IHS1S1JxTjehQ== X-Received: by 2002:a05:6512:281f:b0:4fb:7665:9b0d with SMTP id cf31-20020a056512281f00b004fb76659b0dmr5269960lfb.12.1687898911109; Tue, 27 Jun 2023 13:48:31 -0700 (PDT) Received: from [192.168.1.101] (abxj103.neoplus.adsl.tpnet.pl. [83.9.3.103]) by smtp.gmail.com with ESMTPSA id n25-20020a195519000000b004fb6c61e79bsm1206591lfe.117.2023.06.27.13.48.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Jun 2023 13:48:30 -0700 (PDT) Message-ID: <234628ff-359d-7058-a5ca-17b67be08ba5@linaro.org> Date: Tue, 27 Jun 2023 22:48:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v2 15/15] arm64: dts: qcom: sm6125-seine: Configure MDSS, DSI and panel Content-Language: en-US To: Marijn Suijten , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Krishna Manikandan , Loic Poulain , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Lux Aliaga References: <20230627-sm6125-dpu-v2-0-03e430a2078c@somainline.org> <20230627-sm6125-dpu-v2-15-03e430a2078c@somainline.org> From: Konrad Dybcio In-Reply-To: <20230627-sm6125-dpu-v2-15-03e430a2078c@somainline.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 27.06.2023 22:14, Marijn Suijten wrote: > Enable MDSS and DSI, and configure the Samsung SOFEF01-M ams597ut01 > 6.0" 1080x2520 panel. > > Signed-off-by: Marijn Suijten > --- Reviewed-by: Konrad Dybcio Konrad > .../dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | 59 ++++++++++++++++++++++ > 1 file changed, 59 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts b/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts > index 9f8a9ef398a2..08d96d05da2e 100644 > --- a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts > +++ b/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts > @@ -179,6 +179,43 @@ &i2c3 { > /* Cirrus Logic CS35L41 boosted audio amplifier @ 40 */ > }; > > +&mdss { > + status = "okay"; > +}; > + > +&mdss_dsi0 { > + vdda-supply = <&pm6125_l18>; > + status = "okay"; > + > + panel@0 { > + compatible = "samsung,sofef01-m-ams597ut01"; > + reg = <0>; > + > + reset-gpios = <&tlmm 90 GPIO_ACTIVE_LOW>; > + > + vddio-supply = <&pm6125_l12>; > + > + pinctrl-0 = <&mdss_dsi_active &mdss_te_active_sleep>; > + pinctrl-1 = <&mdss_dsi_sleep &mdss_te_active_sleep>; > + pinctrl-names = "default", "sleep"; > + > + port { > + panel_in: endpoint { > + remote-endpoint = <&mdss_dsi0_out>; > + }; > + }; > + }; > +}; > + > +&mdss_dsi0_out { > + remote-endpoint = <&panel_in>; > + data-lanes = <0 1 2 3>; > +}; > + > +&mdss_dsi0_phy { > + status = "okay"; > +}; > + > &pm6125_adc { > pinctrl-names = "default"; > pinctrl-0 = <&camera_flash_therm &emmc_ufs_therm &rf_pa1_therm>; > @@ -469,6 +506,28 @@ vol_down_n: vol-down-n-state { > drive-strength = <2>; > bias-disable; > }; > + > + mdss_te_active_sleep: mdss-te-active-sleep-state { > + pins = "gpio89"; > + function = "mdp_vsync"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + mdss_dsi_active: mdss-dsi-active-state { > + pins = "gpio90"; > + function = "gpio"; > + drive-strength = <8>; > + bias-disable; > + }; > + > + mdss_dsi_sleep: mdss-dsi-sleep-state { > + pins = "gpio90"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > }; > > &usb3 { >