Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13192104rwd; Fri, 23 Jun 2023 17:51:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ69BWnVX+x0au75AXFRUu/fbtrLJ76kzdrVSZB1xOUEezyD3fJx/RxJ84X5DbcOV6Nanohy X-Received: by 2002:a05:6a20:9146:b0:114:b89c:f10b with SMTP id x6-20020a056a20914600b00114b89cf10bmr27842029pzc.31.1687567882526; Fri, 23 Jun 2023 17:51:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687567882; cv=none; d=google.com; s=arc-20160816; b=cPMK+dJI6tlDpVMpUiCmrL6FI/aUewAvoskm8UajCAyNDXlbe/BTeAcNA0rSJ5zRle Uzu3zSpEcV1/64vHVmJAGaDNVw+Lj/NTAw2bjS2bo5yrwh/mzSzZ5KWZitgr0RP4+U9H SdTgWIU9sCw8Frz0CwqpmBjrR/TVUKK69eVXGlqflwaQUw5UO+3X+lV2ZxKy5D2kiLoR xTObmcdvbbnYQOsMM8TGFbUVk1Th+alZC+B1jjI8jVtjmC6mZXeyuXT46tYSd4cEr04L lQak5/BB4ScZ9di4X3lZtmlZbOIiRNaiVhv3KoMaAEeN3RBlkwkWVhxJQORwsRbnm1Nf DZMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=HEosdq02sEcTc2ygFbzzedNlnL06f9plj6Yw0YEP8ok=; fh=OfzUp+OcwbFUfZC2mGhS6GGXsXqM7NhjMWKyOt4HPQU=; b=gaWBIdVZz+MOVXAMeZ6M8ne4NUz9gTzCwm123nOY2mmAgZzH+jbegSG7orUarbZo5O uF88VpxmBA7oTRRwN3UMV0QClZkBuQWUEcrIqecsbDx6fGSO8f9jL7Jie9PD3yg/lwFr mjotZG4Mey6+zUwXtUEJ4szpabtiVOT2YYxyOeyKd6lSPzhqsVBxpUkHL1I0x2QGPpZJ D8JKfJi+ICJaEhPYzK75npU+Dw8OQMYqusWYXSjvaNu8vuk4wTNKCYHSMaE3Te6EDHEu r7qxat09tKwUbQr/1RpBY0pvMUugJXUsydW5FE9WhnhJibQo9lxGD+fwSNhRnCai0ADN YHpQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r28-20020a63fc5c000000b0053f1af91622si530059pgk.579.2023.06.23.17.51.11; Fri, 23 Jun 2023 17:51:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232650AbjFXAm3 (ORCPT + 99 others); Fri, 23 Jun 2023 20:42:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232386AbjFXAlf (ORCPT ); Fri, 23 Jun 2023 20:41:35 -0400 Received: from relay08.th.seeweb.it (relay08.th.seeweb.it [5.144.164.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2654294E for ; Fri, 23 Jun 2023 17:41:21 -0700 (PDT) Received: from Marijn-Arch-PC.localdomain (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 22CA43F85C; Sat, 24 Jun 2023 02:41:19 +0200 (CEST) From: Marijn Suijten Date: Sat, 24 Jun 2023 02:41:13 +0200 Subject: [PATCH 15/15] arm64: dts: qcom: sm6125-seine: Configure MDSS, DSI and panel MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230624-sm6125-dpu-v1-15-1d5a638cebf2@somainline.org> References: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> In-Reply-To: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> To: 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 , Konrad Dybcio , 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 , Marijn Suijten X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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; + }; + }; &usb3 { -- 2.41.0