Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp415873rdb; Fri, 17 Nov 2023 02:32:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1tA/PiFYBjbwKkxAdpYngza8RXBexseS6+O3dyvjeW28J54EQDFE/B/FuXS/zDLVNfId3 X-Received: by 2002:a05:6a00:1594:b0:6be:7ee:9900 with SMTP id u20-20020a056a00159400b006be07ee9900mr19596996pfk.8.1700217139068; Fri, 17 Nov 2023 02:32:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700217139; cv=none; d=google.com; s=arc-20160816; b=eIFen5VUaQ/VMDa7ICAuzIitlZiNDaHBXiuVsAin1IRoiYBS5en6Yt3x0C6EwwoUY+ PP3SCHnFf6jBx9oriz5vt8a53LgE8Yr0t2MDuqvoSrtVnC+r6eRuRu7cFtezhTsVxmoQ dXy/DTQ1fI/Qx72p5qQcI6f7ZNRLGgM/Eczq2Up4rYz4WV2CNZCg/StMMCYTN78dE13V AkqqY17iPoEwiNwq39NvS3rLYK1cqFfcjRtmqeAaP26riJBnK+Upv+uB6lN/mGOiVkjV IfR5nEOUoJ1huTvuhR5L8hG8zh5pabnaU1BGopU+D0AWhuhiFjj9yFDKEAJOyM+4VuA3 3BLQ== 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=wc+G2BXYXEPt9fQTDN8l2bnR2Ld4/4FL6ZOxBvBX3jM=; fh=aoef0buGd0K3Fjj6U0Jy2MPFRtcrKpzALmuM2tAV0rs=; b=Y0dqMvtIC6l9B/PXXIe0smGSdd17K71kkm7UR+r55UtsFvzgp7DAXqt0MBV4AGBTMm ttVSrB/X+tW1jL/e9yiInjH+uVhxY5uuzOdT2uMNe6Nay2trshrcAGuDS2KjxetwkdzQ JIFPkL/GNIAZY3zRMrkopW/zxGEvsrdaIwzxp3T46TVmFm6Ptg4/wqTRB7JAymC8MFoU Q5WgjKazqv6PlrvD+kqXg79vg4akV/E3Oumfsqc6J0hiPwoBHFLFCq+ICO1jbyGNDq7R S+mCsevn5jqUdJmWN6jX79qGSSHvYzmLzXVGqoI/XQyTo5EyHGq2vkSC1d60ikXhVI+d nEpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WcMGIUoN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id o4-20020a635d44000000b005bd42f65dc5si1530405pgm.285.2023.11.17.02.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 02:32:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WcMGIUoN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B66D58065014; Fri, 17 Nov 2023 02:31:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345919AbjKQKa6 (ORCPT + 99 others); Fri, 17 Nov 2023 05:30:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345924AbjKQKaz (ORCPT ); Fri, 17 Nov 2023 05:30:55 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEB2BD6A for ; Fri, 17 Nov 2023 02:30:50 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-5094727fa67so2583720e87.3 for ; Fri, 17 Nov 2023 02:30:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700217049; x=1700821849; darn=vger.kernel.org; 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=wc+G2BXYXEPt9fQTDN8l2bnR2Ld4/4FL6ZOxBvBX3jM=; b=WcMGIUoNBI418br/H9qyQN6W8kLCKXnqcIEDbMqNOezO6PgiBBuzZGZH2IlxFOe6+p twN03RLdrKQDfuPADl6hzcU1QbCv+ABdwsh00tX6VO2gCNVMHOTsvUV1gkchdi25k/Z9 V/4fhel3uSsthujgIbe25WgBdCM8gXbETFHc1YjXFibT1vJuUH0zUfXyjqToX/7xY7el fJ32gUpWqXp2VT6DR9XBudh1edGNZaBkxxa02EQBwrw6mvekh9MIJbpWMTcoa5ORaWCE /B8g1f68juXoyZWs+SAahu2//BFBgyppZhMl6HP9+MepF7l+B22T4A8btw05lFeBva/O yfog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700217049; x=1700821849; 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=wc+G2BXYXEPt9fQTDN8l2bnR2Ld4/4FL6ZOxBvBX3jM=; b=WvAtC4ahZjwh84/5IaK1j0cFwW1cpcnBAX/SB8WrdK6FU2XOaZrMsNhHOxOdovUG7N VT8KSSLpeLycNNMiX6jm30DlPmQXon/VGNsiLshgS6ZITqQAuRN9TxEwKntSZBp+2+L3 7U8gP38k/TV28CEnOj0ewPDOoMPsrrG9Ct00NH02imkCEq86DIGQk8NhfXGQBju+Mp4B NbeKwG/j104MM2CGR3r+QdVBKWq2XPDyWoAqa9osnDAuB3buH9dAc8HDFcfx8qifxACd PTFBFkDxVHAD80LKg+5DCnAXdb1IxLufX9CK1bMvm5kRn3KCWTApmLQM+kQ97zAY5NmS rueg== X-Gm-Message-State: AOJu0YzE2A2QzR9XPpyBCUh+3a1UDXwz94AoLXE8Cq9Cw26DBHsnnFtF 58LVheUuHwQ7vTS7I+1yKBmDcw== X-Received: by 2002:a05:6512:1381:b0:507:98d0:bec4 with SMTP id fc1-20020a056512138100b0050798d0bec4mr5062456lfb.54.1700217048809; Fri, 17 Nov 2023 02:30:48 -0800 (PST) Received: from ?IPV6:2001:14ba:a0db:1f00::8a5? (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id f16-20020a19ae10000000b005041a71237asm182106lfc.111.2023.11.17.02.30.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Nov 2023 02:30:48 -0800 (PST) Message-ID: Date: Fri, 17 Nov 2023 12:30:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 10/16] arm64: dts: qcom: sm8550-aim300: add display and panel Content-Language: en-GB To: Tengfei Fan , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, tglx@linutronix.de Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, -cc=kernel@quicinc.com References: <20231117101817.4401-1-quic_tengfan@quicinc.com> <20231117101817.4401-11-quic_tengfan@quicinc.com> From: Dmitry Baryshkov In-Reply-To: <20231117101817.4401-11-quic_tengfan@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 02:31:11 -0800 (PST) On 17/11/2023 12:18, Tengfei Fan wrote: > Enable Display Subsystem with Visionox VTDR6130 Panel. > > Signed-off-by: Tengfei Fan > --- > arch/arm64/boot/dts/qcom/sm8550-aim300.dts | 68 ++++++++++++++++++++++ > 1 file changed, 68 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8550-aim300.dts b/arch/arm64/boot/dts/qcom/sm8550-aim300.dts > index cafddc02aef0..9b568ae9581e 100644 > --- a/arch/arm64/boot/dts/qcom/sm8550-aim300.dts > +++ b/arch/arm64/boot/dts/qcom/sm8550-aim300.dts > @@ -432,6 +432,46 @@ > <&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>; > }; > > +&mdss { > + status = "okay"; > +}; > + > +&mdss_dsi0 { > + vdda-supply = <&vreg_l3e_1p2>; > + status = "okay"; > + > + panel@0 { > + compatible = "visionox,vtdr6130"; > + reg = <0>; > + > + pinctrl-0 = <&sde_dsi_active>, <&sde_te_active>; > + pinctrl-1 = <&sde_dsi_suspend>, <&sde_te_suspend>; > + pinctrl-names = "default", "sleep"; > + > + reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>; > + > + vci-supply = <&vreg_l13b_3p0>; > + vdd-supply = <&vreg_l11b_1p2>; > + vddio-supply = <&vreg_l12b_1p8>; > + > + port { > + panel0_in: endpoint { > + remote-endpoint = <&mdss_dsi0_out>; > + }; > + }; > + }; > +}; > + > +&mdss_dsi0_out { > + remote-endpoint = <&panel0_in>; > + data-lanes = <0 1 2 3>; > +}; > + > +&mdss_dsi0_phy { > + vdds-supply = <&vreg_l1e_0p88>; > + status = "okay"; > +}; > + > &pcie_1_phy_aux_clk { > status = "disabled"; > }; > @@ -533,6 +573,34 @@ > &tlmm { > gpio-reserved-ranges = <32 8>; > > + sde_dsi_active: sde-dsi-active-state { sde is the name from the other kernel branch. Drop it please. Just 'dsi' is enough. > + pins = "gpio133"; > + function = "gpio"; > + drive-strength = <8>; > + bias-disable; > + }; > + > + sde_dsi_suspend: sde-dsi-suspend-state { > + pins = "gpio133"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + sde_te_active: sde-te-active-state { > + pins = "gpio86"; > + function = "mdp_vsync"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + sde_te_suspend: sde-te-suspend-state { > + pins = "gpio86"; > + function = "mdp_vsync"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > wcd_default: wcd-reset-n-active-state { > pins = "gpio108"; > function = "gpio"; -- With best wishes Dmitry