Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp410815rdb; Fri, 17 Nov 2023 02:20:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZPDbbobreTDKfpAFFy7a/HeGxymhdJuUPQEp3gm6k5IdQ6rNvmb9VX8SlE65uunEwhaxx X-Received: by 2002:a05:6a00:4511:b0:6c4:e8a1:8b3b with SMTP id cw17-20020a056a00451100b006c4e8a18b3bmr22609922pfb.25.1700216428698; Fri, 17 Nov 2023 02:20:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700216428; cv=none; d=google.com; s=arc-20160816; b=PP6UXiXjpG4kFtFv4qW1jrrGymhVJTsKf04YOYdB8eEX+DnH0h/Q3iu29dNX6IrB+s PzE4PdcnaV/TFy+lRTqWb+osmj9g8ToxTaVwlOxVYuAdQKjfDnSy7OBifkdo/wJK+IQR B3LVtaYB6lxD2fvSe/ro4YKvxSjcVvMLhIOu3Xz/FXwaRfYKr6khuhMcE7OZzCa1OcRu 9UUCWX5hiFvJZlUmG+BKx1TtfW0K3lY6tmY5eeGWDAT9RRIf+XSPACqTmWK2EhNCPbuM nc2bKnQrswTmbr3P98tzl7/9YkGf7/oH+lJRFw/JLwBgE2XZmq2nYRft1dzc62uJ9OPE bGqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=esE1xvj0v4jRfjw747Rh8YtcLxrhWOr4U2W+76E4FJM=; fh=2n2Y+RYHubIkscSnYAqg/mDqVSW4ayNK5xPy63dfWj4=; b=u+cLPSriK173pVI2RUjSJwJoG3NFOixJBC/Op07NB3/5Ull0LDbiKWGu1SpPC6emda 8OzsJBa9TliEqUZcJhH49GFtOSDrG7xYGBtHK8bY3FukRm7w2QxXwiMS/XnA0O3Qcz7H D5+Wr0KcnY4TlveZ3lw4jCog0Bt8bCtNZDM8G55M6qmzNjCP6wZMB0teXVw5S2F8n99C Fbd0FZJlXA1ceonr84fRfg+LN4fGR9pcdcQCOmNQp9iy/0Gx8KfJNw+sJW54s/mymIgE g13SQp8BJlp9RmnuP9g1b8XBXeJOAjhf2GY4fsZMvNWaJh3vmUBtaTs0YbIo8XYWwRxT otuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HRmAdpC3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bd32-20020a056a0027a000b0068a6eb3b548si1578689pfb.401.2023.11.17.02.20.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 02:20:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HRmAdpC3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D96C581E3E13; Fri, 17 Nov 2023 02:20:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345980AbjKQKUO (ORCPT + 99 others); Fri, 17 Nov 2023 05:20:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345908AbjKQKTv (ORCPT ); Fri, 17 Nov 2023 05:19:51 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64C78199A; Fri, 17 Nov 2023 02:19:46 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AH6BSL2014578; Fri, 17 Nov 2023 10:19:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=esE1xvj0v4jRfjw747Rh8YtcLxrhWOr4U2W+76E4FJM=; b=HRmAdpC3XWMLHltpbdcNIeSZtFUKrTx0HKrkowJzMW8R0PTMokKFDBSiGWHP+J9ihm5q d5PrglQ2qibFt+3sgjjftda7tmUt1f5NivGO2YDUEzu+2ztSfCiyA0bkMEXqdDzz4/20 eFq4uY6+h75RPWWzL/VPLlYkU/eRRwaw20ghjXJtTl0gxGmRUHlBRXzMXXgvc90ITE1X xeSWGmsBmqpYwocmQd4xMV2Q3/SxYGh0g5pgRP2Ep1Mlpj3o04v5h1k3OweTd3cdfwpw rAmHWtLSKJPcnW4V7aWlx+6aoICzNTY17Wdcpztu5zFA6/K2i6l6nNM6WrOnkqSsfV1l tg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3udt8bse4x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 10:19:41 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AHAJG24008747 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 10:19:16 GMT Received: from tengfan2-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Fri, 17 Nov 2023 02:19:13 -0800 From: Tengfei Fan To: , , , , , , CC: , , , <-cc=kernel@quicinc.com>, Tengfei Fan Subject: [PATCH 10/16] arm64: dts: qcom: sm8550-aim300: add display and panel Date: Fri, 17 Nov 2023 18:18:11 +0800 Message-ID: <20231117101817.4401-11-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231117101817.4401-1-quic_tengfan@quicinc.com> References: <20231117101817.4401-1-quic_tengfan@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: u0So862fFDmPpMYlgjnnEcJZZM5xcQ7P X-Proofpoint-GUID: u0So862fFDmPpMYlgjnnEcJZZM5xcQ7P X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-17_08,2023-11-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 priorityscore=1501 suspectscore=0 mlxscore=0 mlxlogscore=891 adultscore=0 bulkscore=0 malwarescore=0 spamscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311170076 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Fri, 17 Nov 2023 02:20:24 -0800 (PST) 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 { + 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"; -- 2.17.1