From nobody Sun Nov 24 00:59:41 2024 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 ACC3D1D7989; Thu, 21 Nov 2024 11:30:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732188652; cv=none; b=MzMK1AReRARoHi1sqLlZQo4I06udD7JuffQJjPJzhhQciag41bnJAO7SeHoWy3IBcZz+tQVvc7cygq+JHgvxuip7PLUNWIWOH7LqAHFlCHwLqmNcWl0aaqbF0uLdFCo3odDYe8DdPdvivkPyxWIqHgImL2Uy466vam7ovqS+mZ0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732188652; c=relaxed/simple; bh=JDWkwmF9nt2wiNynUGk2EKO/EDp5Yi2U5yhzymrTLCU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ixzDRsXqFwrNEh/arGyE2GUVYaf0kZ8srHfv4wwwlOejyKMKmrhfw8OaB2W6vy6piLyb+T9Bq6ceEgfeGEIu+mTJS6+qjrmX8XtQsvjp1EmnQzyjX+wvSyub0E4TpN6PaiLbwHdPwIzu7b63ACrspkx+mb+mP7wmEUWqQErmhfE= 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=L1c9tZck; arc=none smtp.client-ip=205.220.180.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="L1c9tZck" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AL8x9jK005925; Thu, 21 Nov 2024 11:30:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= YpcC+g7QRy1/fsC0WhGzHpWSWdEgWi9EiS9Pl7uxUtQ=; b=L1c9tZckzzTEO8K0 gqaoRzbs4CvyZnP20w/3bJB/2xfn5iPo23Dbn8J00XVRco4MrX0DGReVkyi6x+bd niO3RPVWT59PLVZBUSdcQGXcI7RqKHsp0pc96MewGqMoIt1y+UBFL1LEooIA8Hm+ gn3DJmK3ioeA41Zdh3MfKeeTT8BSVRYH2dKuVsPtkfdSQ0TMoMn0GZ00Q11W/YKc JqeMFYoeWlgOqxrHub619o7FcIYwemUfDnYciq0oygosLKT1Qp+/M3bk89rtUmM0 Ay0gARog2SUh6aAZaKELJbb8hgrHX/BsMclNlmLZr8QYe8WYXkKP9xkDUDcNZX1y LafJZA== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4317t24jx1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2024 11:30:47 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4ALBUk48003513 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2024 11:30:46 GMT Received: from 41ee23f3c785.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 21 Nov 2024 03:30:42 -0800 From: Raviteja Laggyshetty To: Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio CC: Odelu Kukatla , Mike Tipton , Sibi Sankar , , , , Subject: [PATCH V5 4/4] interconnect: qcom: osm-l3: Add epss compatibles for SA8775P SoC Date: Thu, 21 Nov 2024 11:30:06 +0000 Message-ID: <20241121113006.28520-5-quic_rlaggysh@quicinc.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20241121113006.28520-1-quic_rlaggysh@quicinc.com> References: <20241121113006.28520-1-quic_rlaggysh@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: GWeD_I2V8nUCbMMZdLfRI38nhndYMlUS X-Proofpoint-ORIG-GUID: GWeD_I2V8nUCbMMZdLfRI38nhndYMlUS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 lowpriorityscore=0 mlxscore=0 malwarescore=0 impostorscore=0 phishscore=0 adultscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411210090 Content-Type: text/plain; charset="utf-8" The EPSS instance in SA8775P uses PERF_STATE register instead of REG_L3_VOTE to scale L3 clocks. Along with SoC specific compatible, add new generic compatible "qcom,epss-l3-perf" for PERF_STATE register based L3 scaling. Signed-off-by: Raviteja Laggyshetty --- drivers/interconnect/qcom/osm-l3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/interconnect/qcom/osm-l3.c b/drivers/interconnect/qcom= /osm-l3.c index a9405b7d251b..285afaa1f61e 100644 --- a/drivers/interconnect/qcom/osm-l3.c +++ b/drivers/interconnect/qcom/osm-l3.c @@ -318,6 +318,7 @@ static int qcom_osm_l3_probe(struct platform_device *pd= ev) =20 static const struct of_device_id osm_l3_of_match[] =3D { { .compatible =3D "qcom,epss-l3", .data =3D &epss_l3_l3_vote }, + { .compatible =3D "qcom,epss-l3-perf", .data =3D &epss_l3_perf_state }, { .compatible =3D "qcom,osm-l3", .data =3D &osm_l3 }, { .compatible =3D "qcom,sc7180-osm-l3", .data =3D &osm_l3 }, { .compatible =3D "qcom,sc7280-epss-l3", .data =3D &epss_l3_perf_state }, @@ -325,6 +326,7 @@ static const struct of_device_id osm_l3_of_match[] =3D { { .compatible =3D "qcom,sm8150-osm-l3", .data =3D &osm_l3 }, { .compatible =3D "qcom,sc8180x-osm-l3", .data =3D &osm_l3 }, { .compatible =3D "qcom,sm8250-epss-l3", .data =3D &epss_l3_perf_state }, + { .compatible =3D "qcom,sa8775p-epss-l3", .data =3D &epss_l3_perf_state }, { } }; MODULE_DEVICE_TABLE(of, osm_l3_of_match); --=20 2.39.2