Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp170196rba; Tue, 26 Mar 2024 12:18:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVhj2WWuOqIlfDimhUAWUfC1A6Me3WXzXd9dTyLWIdtEHpYriJgIo6UhYkQMZHcZrnW0eJooOG9bPgAPpfVhdW82DF9BY0j/0jlhrFktA== X-Google-Smtp-Source: AGHT+IGm36bqn7k8AmIPBXjGjaFYNfJKidotY9+mkF7ojzzTBEF9Lzwsbq2QGuIl39XPAGeARO7i X-Received: by 2002:a9d:7a8f:0:b0:6e6:bcc9:6406 with SMTP id l15-20020a9d7a8f000000b006e6bcc96406mr12389451otn.31.1711480737174; Tue, 26 Mar 2024 12:18:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711480737; cv=pass; d=google.com; s=arc-20160816; b=ROr1HvwUx+6LG5QF99DSryvYi/ADzfmHqWvCQ9HAPNs5v4y7c7UInwws58sGUFoqQ5 S+dMDkuiavUmIoEOd07IDQdVraFr7lgKaECqsZWZqHQJHNiB8kW3a33xELv2SYWwcjmg d4FJkw0q4fPhndO3aUULtnecRA0bWMathPv0vzHEpXt//F/rSQBQUv/Oq3w9fbPbjn1+ O2soC8mj+jVi6u/pB0JPHc0JIBd9rp8+fFFLggbnA2XSEMUghqVuSW/xS95hvWsllPR9 SubkziG/g+cHyxqELWWh1R3Iv/VR3VEf2l7OkqisJNfBZ9Kj+XPdIGoniSmpvOxjhW+S BGjA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RQmei4fRvb0jxu194Vw8Px+Zt2qro2JtiuP5ogzg8+8=; fh=H9mJJvrBMhGPa8IikHtkCH/DOTFH0q4chp1NVP930FU=; b=yaRZzktBeD1nWA8UEFLiW6PFcATRXVQNDt2nexSd5jZtTmH2r84xy7/NyP0AS2QOlD ALH6zRPCFymumEEiCQ8xPVatoIBTXzO9d4vNZy1tVsve+T2Td2bYR/Fl6K0+kceiu4EV 40Wtw4aM+QfaFc0PiZjqsgigxtEd8HXR5Q9mCimxSFwxD8PWdD6hrVnMVpErzEC3Qh4I TFDyQleJ67Vehjkh62b97DErikx6Cpivh3uzsFZ+pkxID3jIwHVhTdGpDDwuGsuAetet f1Xxi+tOdpl2LzXdbNGROlauIJzB3Usk3PKub6AhFkdp2UxXcOPGVNYHjdKBDh+fWjMs XumA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=K5tlgs8b; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-119783-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119783-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h26-20020a05620a13fa00b00789e99d58cdsi8137905qkl.501.2024.03.26.12.18.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 12:18:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119783-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=K5tlgs8b; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-119783-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119783-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DEF931C3E0F9 for ; Tue, 26 Mar 2024 19:18:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E643813D251; Tue, 26 Mar 2024 19:18:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="K5tlgs8b" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 894FD13CC65; Tue, 26 Mar 2024 19:18:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711480713; cv=none; b=ci+UXS2a05xV1atOuYGIaa1MExssXUiOmTq1HaMeT8m7TPPBI7fi3mLhZU0+00c257FnZYPg/64i6jqw14DGPjAhFGJekt4N4mC45gzI6/hOPmHpxpJChfFt36MH3yfKHp0YPWZA62f2Iu2pbGNHcbAwNsYb8XTRXedA4avmxB4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711480713; c=relaxed/simple; bh=+sBLYzTluNhm6gJqWTu/z5k829ZQK3Xn6kZ5DT2mqGM=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kZcEJat4IDH15KuBnZsw//NcklBDVVjHaPwRqD7wxrAQIRFr0LbLBYLdI+rv1a8dni6IR2bni7GrmQWBnY3G2kQHqjr5//bvmRG9GtYjCVGKrVViiDIWxAHbaKzlXmFb6Z0X/54hRP9oOKEiy4QQf2VqoUvf+6OiqNDa2D0kZCk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=K5tlgs8b; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42QJFhBc020845; Tue, 26 Mar 2024 19:18:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=qcppdkim1; bh=RQmei4fRvb0jxu194Vw8P x+Zt2qro2JtiuP5ogzg8+8=; b=K5tlgs8bJSOGuVvOPSAdk7C97sugxF7sQ3KWt 0s0NRUC2KnISQP1w7PzZ/7173OT6KTIUYJCM8EFf5XxqW7wYuh91VwYpoq71TNu2 Z2Qhxq66m0bVUdzuBPKmHW56UZsbjKetPjFPwH85v/dOesS3bX8YcWB47HMM0vIz q0vlddHZmtyj0RmcePOY/SNEpT2Zao2wpA3oy0j59fHuZr5fY3QAMS91ksGThDWo g09rpeJZJ0qLnPcXigfrGnnTSz0XK88ivrmud6UAR5TMbChmHtw9KVzoVUg3OVC/ Sw944VgR909B2JbPKOKhrpRvbTc6Y30wlarnZCsEFY1l8qClA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x41k68ga4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Mar 2024 19:18:19 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42QJIILH014916 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Mar 2024 19:18:18 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) 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.1118.40; Tue, 26 Mar 2024 12:18:17 -0700 Date: Tue, 26 Mar 2024 12:18:16 -0700 From: Bjorn Andersson To: Abel Vesa CC: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , "Maarten Lankhorst" , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh , Bjorn Andersson , Konrad Dybcio , Johan Hovold , , , , , Subject: Re: [PATCH v4 2/2] drm/msm/dp: Add support for the X1E80100 Message-ID: <20240326191816.GB1637694@hu-bjorande-lv.qualcomm.com> References: <20240324-x1e80100-display-refactor-connector-v4-0-e0ebaea66a78@linaro.org> <20240324-x1e80100-display-refactor-connector-v4-2-e0ebaea66a78@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240324-x1e80100-display-refactor-connector-v4-2-e0ebaea66a78@linaro.org> X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) 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: lUBTvznAneMj9Aeuu7lI1gY-BZyph5Io X-Proofpoint-GUID: lUBTvznAneMj9Aeuu7lI1gY-BZyph5Io X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-26_08,2024-03-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 clxscore=1015 mlxlogscore=999 priorityscore=1501 malwarescore=0 phishscore=0 spamscore=0 adultscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403260138 On Sun, Mar 24, 2024 at 08:56:52PM +0200, Abel Vesa wrote: > Add the X1E80100 DP descs and compatible. This platform will be using > a single compatible for both eDP and DP mode. The actual mode will > be set based on the presence of the panel node in DT. > > Reviewed-by: Dmitry Baryshkov > Signed-off-by: Abel Vesa Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > drivers/gpu/drm/msm/dp/dp_display.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c > index 9169a739cc54..521cba76d2a0 100644 > --- a/drivers/gpu/drm/msm/dp/dp_display.c > +++ b/drivers/gpu/drm/msm/dp/dp_display.c > @@ -171,6 +171,14 @@ static const struct msm_dp_desc sm8650_dp_descs[] = { > {} > }; > > +static const struct msm_dp_desc x1e80100_dp_descs[] = { > + { .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true }, > + { .io_start = 0x0ae98000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true }, > + { .io_start = 0x0ae9a000, .id = MSM_DP_CONTROLLER_2, .wide_bus_supported = true }, > + { .io_start = 0x0aea0000, .id = MSM_DP_CONTROLLER_3, .wide_bus_supported = true }, > + {} > +}; > + > static const struct of_device_id dp_dt_match[] = { > { .compatible = "qcom,sc7180-dp", .data = &sc7180_dp_descs }, > { .compatible = "qcom,sc7280-dp", .data = &sc7280_dp_descs }, > @@ -182,6 +190,7 @@ static const struct of_device_id dp_dt_match[] = { > { .compatible = "qcom,sdm845-dp", .data = &sc7180_dp_descs }, > { .compatible = "qcom,sm8350-dp", .data = &sm8350_dp_descs }, > { .compatible = "qcom,sm8650-dp", .data = &sm8650_dp_descs }, > + { .compatible = "qcom,x1e80100-dp", .data = &x1e80100_dp_descs }, > {} > }; > > > -- > 2.34.1 >