Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1785618rwb; Thu, 8 Dec 2022 15:30:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf785FDHYcxeJG4C114h48Nq8uqIH9f72XGvPCch+BX+q6REV7+TYfHG6prekId9TXRSE9cl X-Received: by 2002:a17:902:6906:b0:189:ed57:9b0d with SMTP id j6-20020a170902690600b00189ed579b0dmr3742399plk.44.1670542243204; Thu, 08 Dec 2022 15:30:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670542243; cv=none; d=google.com; s=arc-20160816; b=WzFExmoPf+RNB0Lhbc1UIMbmoeDVokDAGkMSpBmTkdXz6rUWMeFYID1asJzAKMMzfO Q3IksyGbQ1zoA0iekwaaWQoCCJq8wMdjSg1ZOmxGejhJrsgQBMliAYnOahr4H19XmmEQ KsvtXS+S+8WVhMa/lgQuW0lOcZnJzBumHj2kqKGfb+OmiAL8CtuAhWAI2CijdCYk/4vH 217sCPiyxKpdp/glxsj4B4aGvdcneEz98Thyh6cqijTYZc6NvzXnJQ1UpORF1HgQ2fv2 agjfdy1uvMRnmrm4RVWEB2OhVaEl71AeY5cx6cJHzTpQf4Sm+FBMGwySZWuXxQu/zbD1 lwhw== 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=LcAbIsReO04j0QxQyQlQS7QFZ3Lfksurb+fqS6e5oBU=; b=mZtICFFbzMcMClifEykzP54PUxVgGl8Z8d6Mz8ip1+9F2wQhuXplfQP7vd06uTzEDH DdjzV7SboyX//8LRqEk82JaXZa2qgGQ3a9JDB2OyIgG/KMbpNo+FqcFz6sXQaKC6mCWQ NYwb0WcI+eG4Y9hTH8DyNEaLLza2K50vAbp4X16JV8rRTH0nm2Qgx0be7d4nxko6c8Zz y2MZUo+VPh03QD246r6h4xEROftTWdRB67y9sXK+fKpMuTG2if/2v/hAIn7ufmgvqW2M 3SiSRupEE+pXkxlmCGq30YQnuugSPlpgCvd3HkEqphMufRGxTRUzYV0tf9kR+5F8GB5A vsNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=deJ5wb90; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 5-20020a170902c24500b001890c6ff01asi19694873plg.483.2022.12.08.15.30.32; Thu, 08 Dec 2022 15:30:43 -0800 (PST) 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=@quicinc.com header.s=qcppdkim1 header.b=deJ5wb90; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229988AbiLHXNs (ORCPT + 73 others); Thu, 8 Dec 2022 18:13:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229723AbiLHXNq (ORCPT ); Thu, 8 Dec 2022 18:13:46 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A711172842; Thu, 8 Dec 2022 15:13:45 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B8NArix022366; Thu, 8 Dec 2022 23:13:39 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=LcAbIsReO04j0QxQyQlQS7QFZ3Lfksurb+fqS6e5oBU=; b=deJ5wb905J3vVZFvJL8HqgAKD4lf17E3AFnx2R/prB5EugMdHuqU+jYfkRl4VpbwKYLC b3N+X5r+T11Qak6iCE5F348RLFWYnqAVFPqeupAp8SzVzuP9HdXEWA25BZ2za/N1VTO8 CIZTsNjCvV3JppEanHA+xMd2JqEl1tyBqQklheeGwpv4fPz36xnlSMbN2QiKaC4BHjGg Fp+DI7IIIddFSoY2JNlVLKnVdIkerNLHuS6mqXcehNvPsjbF9lg3cv6QsUJ6AQj3IAlU ciYw5WJilj8sPtv2Pu2QCQ73WL+zo01r3b8U94ue6RuSYA6UMcnVVSscP9hUvPSnxiSy Ug== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mbr2v84dq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Dec 2022 23:13:39 +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 2B8NDcPe021103 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 8 Dec 2022 23:13:38 GMT Received: from [10.110.56.119] (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.986.36; Thu, 8 Dec 2022 15:13:36 -0800 Message-ID: <8867c2d5-71d7-60a0-f481-e50f35db264e@quicinc.com> Date: Thu, 8 Dec 2022 15:13:36 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v5 06/12] drm/msm/dp: Add DP and EDP compatibles for SC8280XP Content-Language: en-US To: Bjorn Andersson , Dmitry Baryshkov CC: Rob Clark , Abhinav Kumar , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Kalyan Thota , Jessica Zhang , "Johan Hovold" , Sankeerth Billakanti , , , , , References: <20221207220012.16529-1-quic_bjorande@quicinc.com> <20221207220012.16529-7-quic_bjorande@quicinc.com> From: Kuogee Hsieh In-Reply-To: <20221207220012.16529-7-quic_bjorande@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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-ORIG-GUID: A77enz3U5G4IZdcNHI1DcYJwM_V1HAPb X-Proofpoint-GUID: A77enz3U5G4IZdcNHI1DcYJwM_V1HAPb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-08_12,2022-12-08_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 suspectscore=0 adultscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 clxscore=1015 mlxscore=0 spamscore=0 impostorscore=0 priorityscore=1501 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212080191 X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS 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 On 12/7/2022 2:00 PM, Bjorn Andersson wrote: > From: Bjorn Andersson > > The SC8280XP platform has four DisplayPort controllers, per MDSS > instance, all with widebus support. > > The first two are defined to be DisplayPort only, while the latter pair > (of each instance) can be either DisplayPort or Embedded DisplayPort. > The two sets are tied to the possible compatibels. > > Signed-off-by: Bjorn Andersson > Reviewed-by: Dmitry Baryshkov > Signed-off-by: Bjorn Andersson Reviewed-by: Kuogee Hsieh > --- > > Changes since v4: > - None > > drivers/gpu/drm/msm/dp/dp_display.c | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c > index eeb292f1ad1b..5b7f1f885b2f 100644 > --- a/drivers/gpu/drm/msm/dp/dp_display.c > +++ b/drivers/gpu/drm/msm/dp/dp_display.c > @@ -145,6 +145,26 @@ static const struct msm_dp_desc sc8180x_dp_descs[] = { > {} > }; > > +static const struct msm_dp_desc sc8280xp_dp_descs[] = { > + { .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .connector_type = DRM_MODE_CONNECTOR_DisplayPort, .wide_bus_en = true }, > + { .io_start = 0x0ae98000, .id = MSM_DP_CONTROLLER_1, .connector_type = DRM_MODE_CONNECTOR_DisplayPort, .wide_bus_en = true }, > + { .io_start = 0x0ae9a000, .id = MSM_DP_CONTROLLER_2, .connector_type = DRM_MODE_CONNECTOR_DisplayPort, .wide_bus_en = true }, > + { .io_start = 0x0aea0000, .id = MSM_DP_CONTROLLER_3, .connector_type = DRM_MODE_CONNECTOR_DisplayPort, .wide_bus_en = true }, > + { .io_start = 0x22090000, .id = MSM_DP_CONTROLLER_0, .connector_type = DRM_MODE_CONNECTOR_DisplayPort, .wide_bus_en = true }, > + { .io_start = 0x22098000, .id = MSM_DP_CONTROLLER_1, .connector_type = DRM_MODE_CONNECTOR_DisplayPort, .wide_bus_en = true }, > + { .io_start = 0x2209a000, .id = MSM_DP_CONTROLLER_2, .connector_type = DRM_MODE_CONNECTOR_DisplayPort, .wide_bus_en = true }, > + { .io_start = 0x220a0000, .id = MSM_DP_CONTROLLER_3, .connector_type = DRM_MODE_CONNECTOR_DisplayPort, .wide_bus_en = true }, > + {} > +}; > + > +static const struct msm_dp_desc sc8280xp_edp_descs[] = { > + { .io_start = 0x0ae9a000, .id = MSM_DP_CONTROLLER_2, .connector_type = DRM_MODE_CONNECTOR_eDP, .wide_bus_en = true }, > + { .io_start = 0x0aea0000, .id = MSM_DP_CONTROLLER_3, .connector_type = DRM_MODE_CONNECTOR_eDP, .wide_bus_en = true }, > + { .io_start = 0x2209a000, .id = MSM_DP_CONTROLLER_2, .connector_type = DRM_MODE_CONNECTOR_eDP, .wide_bus_en = true }, > + { .io_start = 0x220a0000, .id = MSM_DP_CONTROLLER_3, .connector_type = DRM_MODE_CONNECTOR_eDP, .wide_bus_en = true }, > + {} > +}; > + > static const struct msm_dp_desc sm8350_dp_descs[] = { > { .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .connector_type = DRM_MODE_CONNECTOR_DisplayPort }, > {} > @@ -156,6 +176,8 @@ static const struct of_device_id dp_dt_match[] = { > { .compatible = "qcom,sc7280-edp", .data = &sc7280_dp_descs }, > { .compatible = "qcom,sc8180x-dp", .data = &sc8180x_dp_descs }, > { .compatible = "qcom,sc8180x-edp", .data = &sc8180x_dp_descs }, > + { .compatible = "qcom,sc8280xp-dp", .data = &sc8280xp_dp_descs }, > + { .compatible = "qcom,sc8280xp-edp", .data = &sc8280xp_edp_descs }, > { .compatible = "qcom,sm8350-dp", .data = &sm8350_dp_descs }, > {} > };