Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp74520rdf; Mon, 20 Nov 2023 16:56:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IED6kpCBBFEb9kdznk/P3llLYiuqyVZH8CkdPNrmYSzJVnfqLfvt16OlZkE5Nty3hf9ECWh X-Received: by 2002:a05:6a20:914a:b0:18a:df45:fad4 with SMTP id x10-20020a056a20914a00b0018adf45fad4mr627674pzc.37.1700528199589; Mon, 20 Nov 2023 16:56:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700528199; cv=none; d=google.com; s=arc-20160816; b=VRMsZtFqZCoYdMKE8kwpIHp1veW+XNdEGj3KrjtKM/3FIMiAqxJDmALBtN36W9nt08 FZqvkK/GW0vGPJwz+U5PAZNNzR4Ye6rJfFTkVdSUPJtTz4DgvXE1DAQbdgJ8EToOPIcV gMl/p/uirDZY83q/eM6M6ABHjcT7Jg7Yf/VA8sexeK2DhdANxr6xosExumSOaWilc7Hd wWgl5s9OHcmas8RD0+7NXK+Lcg7gXimJTFE41rySncQNY6hszSF6y0TtJ7rFixP0YJj9 WPU4/JSd3wp9cmpX7eUFNuQKczPCfoKH4sYViT61E3RtgG+x2rEkkstZvZkMTY9J5Bd6 4UbA== 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:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=DG0DOD/Ur8LEpT71nNXs+yj0tAEtVwOJygjIn4QE5J4=; fh=+zebjR6FSf2usm2eiB8E2Mr+gcF3bepSsguCbjZcptM=; b=Zn49/XSqsUCx9r0dln8sDIOhkF8sF7R50+GpnFUof4hoqEwjBH470xHGCQwdq55TQs drqJ0IYZPY0eYV0bp0gqTaBc2kYM5nfPQ+snt8FcMA0F/kg4/vSg7NRikONBX0CwGGAp JYvDv6sce3mLmThf037beXhYMGer2A8HpIyCIx4uPuVurFFJhoVqi1uI13H/UErHa3fD SNctbEKcec3H0OCu+JSTMJbg1LJyFOD5ALAds5dY6es65YfkjExR22E9BigMv+B3tlW8 yZaBbcySho4w2QKtuqhflszc9cvGpUOAP2K7owWRFicWEPBt8OE7ZW4MMQ1ksSEVmRqf vQ/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UoXGJzpe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id w10-20020a63d74a000000b005be03f0da78si8916854pgi.157.2023.11.20.16.56.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 16:56:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UoXGJzpe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id D9621802FAAD; Mon, 20 Nov 2023 16:56:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232749AbjKUA42 (ORCPT + 99 others); Mon, 20 Nov 2023 19:56:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230107AbjKUA40 (ORCPT ); Mon, 20 Nov 2023 19:56:26 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 566C7D9; Mon, 20 Nov 2023 16:56:23 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AL0CGSn017609; Tue, 21 Nov 2023 00:56:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=DG0DOD/Ur8LEpT71nNXs+yj0tAEtVwOJygjIn4QE5J4=; b=UoXGJzpeMBIIufhhG876Od63WUlrYKEjQQ+iUpYZh4eBN1HuKSNqZ7L41UTuuiT3wUKd Y4SbesJxH33NA8GTbOeWDtdFyVEvaes2AhVtpzY5SZnpu2qBbdxVNzFZitklGqyNaiOr 7UyeEZ+g88STzD7zRHzBV0t4TsYfF1ztxny/w7+u3ZNzc/NG83NoVLJZ+uQ+Xj5N7B3i 276/cqmv/FVuPGYPD3s+7f550K4Up55xWJPaluxUiaq3ChvMGdVFgQAHtWjIUIkfwemR ecq+UtCfgJuETxKRZonfi8is/hxflWy4XpPZlMIByY12Ga4lYn5zOfrDsrVJ8Zr0/2eM 5A== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ug37mj6ug-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 00:56:17 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AL0uG7A014608 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 00:56:17 GMT Received: from [10.239.132.204] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 20 Nov 2023 16:56:14 -0800 Message-ID: Date: Tue, 21 Nov 2023 08:56:14 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 10/16] arm64: dts: qcom: sm8550-aim300: add display and panel To: Dmitry Baryshkov , , , , , , , CC: , , , <-cc=kernel@quicinc.com> References: <20231117101817.4401-1-quic_tengfan@quicinc.com> <20231117101817.4401-11-quic_tengfan@quicinc.com> From: Tengfei Fan In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: S6TVRe9kPCQMGZ8b9xxaZxVFkNzrgDhF X-Proofpoint-ORIG-GUID: S6TVRe9kPCQMGZ8b9xxaZxVFkNzrgDhF 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-20_22,2023-11-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 suspectscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 mlxscore=0 impostorscore=0 clxscore=1015 mlxlogscore=999 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311210003 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 20 Nov 2023 16:56:37 -0800 (PST) 在 11/17/2023 6:30 PM, Dmitry Baryshkov 写道: > 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. sure, I wil drop sde in next new version patch series. > >> +        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"; > -- Thx and BRs, Tengfei Fan