Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13269341rwd; Fri, 23 Jun 2023 19:42:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ52N1wO/IA/TA2MZ6GczCfyZc6/CBh7SkChhJmj9OdgNbR+uXLdMEHUorBEHAVU2VZ6Mmvv X-Received: by 2002:a92:d684:0:b0:345:6973:66d9 with SMTP id p4-20020a92d684000000b00345697366d9mr840482iln.24.1687574552877; Fri, 23 Jun 2023 19:42:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687574552; cv=none; d=google.com; s=arc-20160816; b=HV1OvglTZXOKarzP9afed7kd7djnp0K/6rH82jfq499cjWNPN6ZYKNitOo5GCh5Sux XrDkCyUDCobeGZ9TB+UrhdFVvVcWbRWWA7n4595QFjN1oKr3VTwu3bYRvE9/kXVD+x7s uXshYP1/+IDJgk3Hnt6j0rdjfMSGrE2e6dfAkZbCZp5g6QvSgh+8hcnvENXa5RIfid24 r6xaYD7JUyVqoxNF5PjBYA+I84v+irq1e2C/mNtQrhQYZJXcTnqqK8tSIbykPuzhr3xQ sPOfy5AQi7M4KbZyPL13o+rB6w5y775Iywx1gXdJvrj+mqFdstSDIyCBVan1ymoEWavh 0c7w== 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=MOwxqMlgkTFrWJc8xA5MXozWw0nmlbcyc7nF9imMwjs=; fh=7lEJM9wAYJhS8Xo2kqIOQ2f/vsbXslFyUfEivgEauLM=; b=Se7BqwtC3YZiEWfv+JSlsgrKEc5pGlmxXYwQTbGi8BtiNTBXG4d66zI5+veAl6/0DS ZvlnvZ/sAvNCNRRZIgORzicUlSiVarBUAh6K9MWQ7as7y8ycAblGcajBUT/6eU9FkdsQ 1K/eUt1hGiDJdFuacZFDHpND7BP7ISaXfACdcx8gXN9rCbqvQUaVazDl9elJSngEzCUV 9BrULYTEyfZrIWiMlj5p4A0X8+9KYSRoOvgKwQ+byifG5tq4EzYbMWv4CBajFWSvW0Ma U9HX1Tr6g3bBdIVJc0YPZXPpMvHlPu4kIbLtpzDJNyeeP2sx3AQjBuvP7gRKbT1W9ytw cM6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LmI/TqWq"; 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 l5-20020a056a0016c500b0064d3e917a90si501399pfc.180.2023.06.23.19.42.10; Fri, 23 Jun 2023 19:42:32 -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="LmI/TqWq"; 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 S230354AbjFXCGL (ORCPT + 99 others); Fri, 23 Jun 2023 22:06:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230280AbjFXCGK (ORCPT ); Fri, 23 Jun 2023 22:06:10 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E2DB2944 for ; Fri, 23 Jun 2023 19:06:09 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2b47742de92so21906621fa.0 for ; Fri, 23 Jun 2023 19:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687572367; x=1690164367; 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=MOwxqMlgkTFrWJc8xA5MXozWw0nmlbcyc7nF9imMwjs=; b=LmI/TqWqL8JE93EDyN0jv4MZehgjF0j017lDfAxYTDzUHoHT+51Hj6GLAWbyzAa6WK vkLXUiMDV5y9bZ4du2Ii5dKRC5P5W2mq+/+vMK8Du/Cs1nwDIk7s3bUVWobl+JhjZ143 xrvNypKeKaLwimIlC3wfrj3a3XpTSmyrlRTaCzyVVmOgYLjarD3vVcU9vdpZTfCsyH1n jkWxZdwaBGtVAJbPyF/hIIFlH1yOIkVAGLt9oARXDQT8dfKQk4pY4U8g+ZW7ZRa7oH2t OLrYxF9EsrcM7/r8eMBXzzcg69brgs36ZWAeHOw8gmXNZ9bmWjyWZ8xoWCMoiBsDy7Tx 6IWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687572367; x=1690164367; 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=MOwxqMlgkTFrWJc8xA5MXozWw0nmlbcyc7nF9imMwjs=; b=Csj4etAeRk4H7oWZ4nT96oqDf9Edrtzhi8ICXnqfoowFRjkp6K+o7475TyAIGRN/N6 JRHRm4LyGcYp0hrgE3x5auaocKCoSEgSA1wRBrKi2R9yQzqz7s7T41YMTqJuF7doy1Nk JKUVgEoQUTRjTNYjlXNBuMbOyvz7uv5WEy9VH0VFhdWTrAtC4ywx/NbpoEL1pJu85XTY MllC9VqXF+89OIpsNriMKYsYeddTrQ6rbwarBPOcDEndHIu9aBpku3ki5DglMwnitoIV wcHrdE993q/PlJ10nvKVYXTgmJFBw/Odhmc9wMqvf81q/KuS460hJOsPt5UBGCYFFsF2 ZDXg== X-Gm-Message-State: AC+VfDzQWcH9ICwMhGjFjNv+n24DAC+LV2qohvBEM5NWWmPgbjkQ/L6W wPCiYzNVMwiJy6ANDU3PFopP9w== X-Received: by 2002:a2e:a0d5:0:b0:2b4:5cad:f246 with SMTP id f21-20020a2ea0d5000000b002b45cadf246mr14478160ljm.7.1687572367335; Fri, 23 Jun 2023 19:06:07 -0700 (PDT) Received: from [192.168.1.101] (abyk30.neoplus.adsl.tpnet.pl. [83.9.30.30]) by smtp.gmail.com with ESMTPSA id x8-20020a2e7c08000000b002b330580377sm58705ljc.66.2023.06.23.19.06.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Jun 2023 19:06:07 -0700 (PDT) Message-ID: Date: Sat, 24 Jun 2023 04:06:04 +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 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 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: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> <20230624-sm6125-dpu-v1-15-1d5a638cebf2@somainline.org> From: Konrad Dybcio In-Reply-To: <20230624-sm6125-dpu-v1-15-1d5a638cebf2@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=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 24.06.2023 02:41, Marijn Suijten wrote: > Enable MDSS and DSI, and configure the Samsung SOFEF01-M ams597ut01 > 6.0" 1080x2520 panel. > > Signed-off-by: Marijn Suijten > --- > .../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..bdf7c15f9b83 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 = <&sde_dsi_active &sde_te_active_sleep>; > + pinctrl-1 = <&sde_dsi_sleep &sde_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; > }; > + > + sde_te_active_sleep: sde-te-active-sleep-state { > + pins = "gpio89"; > + function = "mdp_vsync"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + sde_dsi_active: sde-dsi-active-state { > + pins = "gpio90"; > + function = "gpio"; > + drive-strength = <8>; > + bias-disable; > + }; > + > + sde_dsi_sleep: sde-dsi-sleep-state { > + pins = "gpio90"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; s/sde/mdss as per Dmitry's recent request Konrad > + > }; > > &usb3 { >