From patchwork Wed Dec 7 22:00:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 31076 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp425696wrr; Wed, 7 Dec 2022 14:04:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf6bdOz6ZlwV9Fw3ZEd5k0JfrZulR7IM/KNcYveDZiToQ70GCYynH+6Of6UL+NghhbvvT1mv X-Received: by 2002:a17:906:6b97:b0:7c0:fe68:35e9 with SMTP id l23-20020a1709066b9700b007c0fe6835e9mr10394625ejr.49.1670450656454; Wed, 07 Dec 2022 14:04:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670450656; cv=none; d=google.com; s=arc-20160816; b=KcVjtBEPDknuUv+LX4H8GQ2dwcVdWnitz0cNU30aD7yqYOOHk3hntriOYm/HL3Yfab cAnNeUNfa7ZR4djbqrmv7H5OhDiSTwea2w3rLDq2JWdU4XrutMYccRmmLPcxjSYnxQJ3 m/xI4boZMHDlKG8fhOf6gu4F9kYQbLvlVncTBC/+minkMrLqVbt7JrRDY447Dnpmwcx/ FFn2BZPiqeW/o+fMah9dCZC01wZusdMrk2QA/PBV5t69qk99Igmtwrl2x9MAi9PzidkF KVk7jD3sfnYlSKjv9fl7uFcmViuoqke0V8CqSOip2RYM8MGedASsMLQHMqPs4lw2DCQN FSWw== 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=FbrhZz2ohAdQ2b8gV2dzID8qRRSWuPmgLW9xjoQ6aLI=; b=mpK3teuB7vIm9OxJqf5Uu1odTlEKjMNpUMmgW1rtpfuCARJIeD+FDMw0cRQIsjxDa5 0YARsUqZpSRZQ6cTHoQt3OrFv7OS4MnIQF8Iphh+Z4wwAE4/X4LN/gk2K0EBEM0J3eWu VgCXTitdy3B+Tl0fj4XEXuh/yaIIkg2iE/zlMz4e4ggHS/mGK2iD9OGTmHfjPYilNnWv 3EX60P3aJYmQgbVbvdqYwKKJDH5L8k1DLmd3qUy0zJSrMLT5+/L6dOAnKH5pHG6ebdvm EtOxRIV+lUlFlEaHUpOcts/pQTKftn4Td76LtxNXEH5enczjBV2ek4hS7Mu2hRsrtWe9 uXQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XH4xJvBf; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c17-20020a05640227d100b0046b4fc516b7si5794128ede.128.2022.12.07.14.03.42; Wed, 07 Dec 2022 14:04:16 -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=XH4xJvBf; 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 S229850AbiLGWBA (ORCPT + 99 others); Wed, 7 Dec 2022 17:01:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229930AbiLGWAe (ORCPT ); Wed, 7 Dec 2022 17:00:34 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B381B84DE0; Wed, 7 Dec 2022 14:00:30 -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 2B7LSdfd015600; Wed, 7 Dec 2022 22:00:24 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=FbrhZz2ohAdQ2b8gV2dzID8qRRSWuPmgLW9xjoQ6aLI=; b=XH4xJvBfv+PCjKnIeacEC93IPZ85PoUiOLn4jmmi+IETieDiDDIptnJNs1IJ9u+0IM65 Df5kqGpcpaNwfCmIUdBKLd9lM9sUb+dU6Fj9DoHVzw2P68aqxOpW24+82qfBQyskoFEn GMTyGpmFe0mf9Gn0dwmkjM4Y9eL2eeKpfbrIWO03v75GCa8XMWi6NK3LkjRI3joFItjv 1zfUe/s2IWH7uBy6l2WSqdEtH+96CJX1KGZyfDnHcQXRxtWcD4Ez0q3/RtH1uHctkfkS 9zmZD0+YPxwlQCmWuFDdntKUgqVRLpM+HMOzEmjrMhztDgWdiv5UlgxVJbMLGlrJCCAY pg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mavtf12wy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Dec 2022 22:00:23 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2B7M0Nbt006292 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 7 Dec 2022 22:00:23 GMT Received: from th-lint-050.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Wed, 7 Dec 2022 14:00:22 -0800 From: Bjorn Andersson To: 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 , "Kuogee Hsieh" , Johan Hovold , Sankeerth Billakanti , , , , , Subject: [PATCH v5 07/12] drm/msm/dp: Add SDM845 DisplayPort instance Date: Wed, 7 Dec 2022 14:00:07 -0800 Message-ID: <20221207220012.16529-8-quic_bjorande@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221207220012.16529-1-quic_bjorande@quicinc.com> References: <20221207220012.16529-1-quic_bjorande@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 13ctAbuB3AQzrz0uHvmNsqPYxYsq9W_Q X-Proofpoint-ORIG-GUID: 13ctAbuB3AQzrz0uHvmNsqPYxYsq9W_Q 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-07_11,2022-12-07_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 malwarescore=0 clxscore=1015 adultscore=0 spamscore=0 phishscore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212070186 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751594467567396722?= X-GMAIL-MSGID: =?utf-8?q?1751594467567396722?= From: Bjorn Andersson The Qualcomm SDM845 platform has a single DisplayPort controller, with the same design as SC7180, so add support for this by reusing the SC7180 definition. 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index 5b7f1f885b2f..666b45c8ab80 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@ -178,6 +178,7 @@ static const struct of_device_id dp_dt_match[] = { { .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,sdm845-dp", .data = &sc7180_dp_descs }, { .compatible = "qcom,sm8350-dp", .data = &sm8350_dp_descs }, {} };