From patchwork Mon Dec 5 17:44:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 29806 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2390342wrr; Mon, 5 Dec 2022 09:47:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf4/2fXzp1oQ7bv+Wc8HGuAhdAGEXivpKHjkuuEuBmmBwVjbNcqAkuvBO7mcHvllJivYlsIQ X-Received: by 2002:a17:902:f609:b0:178:2a08:2e7f with SMTP id n9-20020a170902f60900b001782a082e7fmr31335175plg.128.1670262466866; Mon, 05 Dec 2022 09:47:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670262466; cv=none; d=google.com; s=arc-20160816; b=VhDNO/1y6/LgJYaDCVV+Pus9VdE2HqefUkG8ngYm8SwtGrSI4EcoGdK+d/tdQg4StR /G0rSCHudCQ1pZoG/bxuUS/Feh5CpWvnAEnNk8zVaLUqC46hhkV6gf+dRz2ID0Na6YR8 c4ZVLrrJajrnDjucjQ7aAfxquZB9pewAa/1lOhb+HBS0LG3aqq0KCyRE3jmAY2+aFaBa GgXElRWq064iLb6D/7Zzmfj3yx0r51vGWMTINyE5DZJb/hzJ2/NtuCeiOgdx2NA6ldpB i+iCjlVAKNChNSZDvZvZHZWsmX9WLud4fPOpB1VMq12/hpGz9ImWkJ5dT5Ixs5fRNZlK 5Ovg== 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=85A46vM0+ax1pMlUZWyCqovvhP/nzRH2jsW6Dx+e6IM=; b=Iv1SmumvC2FYt095lQsRQfNXGbWMg6ooWMY2GsTH9E6JGFbZnC74XGXMNBgHAmvZ1s qlRlGAzrcXLpgXkS1vdWQ7Ea9DQuP04mNCfDqLGplI02igYbgQfNgcsbEbpDNFev232c mO6NaABnDznkXa8I9U/6spECWmo32/Eqmv64MMSyxFBAVhOKBkj2CC0nyYcFpCdzVzEq 7arDMuitp3YSEiqJkQR0eTrKJflEvraAXzcpS9AE8i1dPvUIPRlCLC2qMCcC/r1kXgMZ O313aVc8xAPnpmCMPZRU8AlOVwPHlZlMLRQPesYDyKrMRYVU5FkpomkO2cyA201pj/c1 6pIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=nS9vDHLi; 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 t19-20020a056a0021d300b0056b4dc35164si15947752pfj.243.2022.12.05.09.47.33; Mon, 05 Dec 2022 09:47:46 -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=nS9vDHLi; 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 S232243AbiLERpT (ORCPT + 99 others); Mon, 5 Dec 2022 12:45:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232187AbiLERou (ORCPT ); Mon, 5 Dec 2022 12:44:50 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8969DFFC; Mon, 5 Dec 2022 09:44:49 -0800 (PST) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B5GkFRj010121; Mon, 5 Dec 2022 17:44:45 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=85A46vM0+ax1pMlUZWyCqovvhP/nzRH2jsW6Dx+e6IM=; b=nS9vDHLibnq2zr6qE6X2hon3wSV/Xkrpd6NgoeXhFAK9awZD8HduMf6I36ZtflWQUJ6F YdMXPXeBsgd1FArecy80dqEfsSaqwH+G3WhSNH2dqzUZ3g86S67eWwUiumxIWqT5lpkQ xSu6YxtH2UWwPVqPtDJC5nAEVfJqKR5PCjdMTY98QnpID5Y4ouL4pC8j4ie80nfTc+xv D8CqG6kg71F3BhaYBqKWaChv2pYBObC4bOwBBVl++tWmR0lil13oukZ52zmHwyS9JHUY XfENvW8LdNVt06sk2gH8UJYyZn5rYyCF63PoYKwO468sfQTNMmIx5I+Y6Eb+TySL79rl Pg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3m9e61h1uu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Dec 2022 17:44:45 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2B5Hii6Z023134 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Dec 2022 17:44:44 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; Mon, 5 Dec 2022 09:44:43 -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 v4 07/13] drm/msm/dp: Add SDM845 DisplayPort instance Date: Mon, 5 Dec 2022 09:44:27 -0800 Message-ID: <20221205174433.16847-8-quic_bjorande@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221205174433.16847-1-quic_bjorande@quicinc.com> References: <20221205174433.16847-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-ORIG-GUID: 7231LEk2smMvGwJoDI1j1SRR6kQAxu3c X-Proofpoint-GUID: 7231LEk2smMvGwJoDI1j1SRR6kQAxu3c 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-05_01,2022-12-05_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 suspectscore=0 mlxscore=0 priorityscore=1501 mlxlogscore=999 adultscore=0 spamscore=0 malwarescore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212050145 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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?1751397136223135245?= X-GMAIL-MSGID: =?utf-8?q?1751397136223135245?= 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 --- Changes since v3: - 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 }, {} };