Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2611697rbb; Wed, 28 Feb 2024 07:16:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUXiZbI+/z0XRxN+sfezgO9GbeMKElgdYH8YVr273CnFTwc99CxWMojlw6RrFfSHh60mQQ2ztlv6/vDm6yLRehskhXmH3Nx8JVrwwvZsw== X-Google-Smtp-Source: AGHT+IHsRKxNXqWLrBbeuVU64FdLyCJb43bU/TKJ4B3ou3HqHuYvwZVCaiHo3GTSTSub7d/cDNBA X-Received: by 2002:a17:90a:eb17:b0:29a:ccaf:e8af with SMTP id j23-20020a17090aeb1700b0029accafe8afmr3460601pjz.24.1709133366281; Wed, 28 Feb 2024 07:16:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709133366; cv=pass; d=google.com; s=arc-20160816; b=YKRJ3xnAGRv/c6g7R8v3n3XFykrt1hi1LLKGwdbq3s0iw49VFsZoBtrSJ53m6t0G8F JKEt8xy2E4ThkIeTQch2SROdpX7dZJyGxzdTNPmB5o8993vo/d4FaqsX4ctpa2eVekLQ WelMeg7cjWKuKQ/mmagAqT2xWFVnt1sGAeOjN8bUH4ytl2pNfFxnRM4AlaOvv4sfAdnu 4XpBVM0PoUlvLDnNK1tp1entzxwQ9NDfrhnTuBQTCfCv9ElMKx5j2loTx7npbD5VNwUw INPmSRwn2v+Wsv8XD17KlQmlBpg7os8k2/AMOYvvYDYT7fxkSG8NZRWg0M7lnBWtNKwy 2R4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=cd0MKC/SARQEghTf3CVRPtwVClnow0+J4u81o5zMyMA=; fh=LdmmkrL8f0IhEiMueb4nKjgfqt87jxM3Ch0OhgrKOtI=; b=EqyViLRjWTXBz5f6cHfqUp6NPzhy5cBhFnqNvtnY3pEcZ7HDXYo7nkYPGayowmANPm Qqy8ly5gJUwx00zcqcBpJrY6Ugsa4wRtrL3yGupUUt/Dh4iv990P+2D2yaeBrmtkQ3TJ fOjS3sZLfYJleKqI3EPVMJM4m7yngt9dxM8fdtUpPcCGUJGghu54i3QUICCuabMMx0nG rVdkmtnrIVt6RytHU42cHGjtpVSjEhaMKgMuUB8AKq+AlsfIjfD5mM2bin1NHCoLKLoG WFdxw2Trpa4fEteIcYe8tzQPyyCdSM3HRo9nsmX9I49nTo7XLNDNqzBx75O2kPvWMxHl GYWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gglpHa51; 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-85217-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85217-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id cm25-20020a056a00339900b006e4647c26casi7685686pfb.348.2024.02.28.07.16.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 07:16:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85217-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gglpHa51; 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-85217-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85217-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 594A1B275CE for ; Wed, 28 Feb 2024 14:53:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 259C315D5A8; Wed, 28 Feb 2024 14:52:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="gglpHa51" 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 EE64315B113; Wed, 28 Feb 2024 14:52:23 +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=1709131945; cv=none; b=MFuWEVGS0JeYqAxbIUHmpb2C8Pj3tOLSKkSNxQ3xXxe7HE8DJWhSePYGmzZs1tIpk0D0YzOHwrz2pyz8WbE3ztnaELGIrwF9rWG/p030IuEcXOl8MgiyjK27T75Vn5dvAZCsVOitZFfiJd5FsTDRcIuAMCeDkcSeYyPO+o0poOI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709131945; c=relaxed/simple; bh=+Bh/rzOUQYQjoRBz1tCM6eJd5AX3o0mJIXpOYRL1V3U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=D97IJwtfMGN3TNuCr8SyADZXdOK2wInMnj4BVuh1omLL00THfZvzRH8CjZsBQsJ2peTi1hMV8yjaFxX0mTOfHC4yfZ1W1XE50Ntpqnghhq0mAA03xk+zirp62TRtPzt6IW544A42PNVY6wDuBdMlprzuOy10M0/G5/mF7ZOzrSc= 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=gglpHa51; 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 (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41SDWDum011876; Wed, 28 Feb 2024 14:52:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=cd0MKC/SARQEghTf3CVRPtwVClnow0+J4u81o5zMyMA =; b=gglpHa511U2lM6Op6hs4GgkW+ZdijK5T57JsL1g/ZZOZphRKXVzgKGNfRYm E6zkvdNwJ2b8XVWF34/is4BwoFv2RkUO1KmxWlRtdZm68sQzg+m4R5H7Mc2TOTAo pwZMD59i7hBSGvttjbMlcTMpHgCGGxhG2vXi2JB0UZcyY4gbS96mgETbJjHFBSK2 b9Z1bMH5pftXdCYGNolN2v73qXRwRm+9Qy1rD7aOKpc7VB1ywLMqLlsbMP1Hw8AG bsecX/JOMGVUFwbpphrDqxx7UeXqn6Lz1PeTYaqBr/XNRuRgIckhZQ6z7o166mSW 0MPyaVT9AJju0vJyQxTrMwiub9g== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wj5t1877h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Feb 2024 14:52:20 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41SEqDj4015107 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Feb 2024 14:52:13 GMT Received: from hu-kathirav-blr.qualcomm.com (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.1118.40; Wed, 28 Feb 2024 06:52:09 -0800 From: Kathiravan Thirumoorthy Date: Wed, 28 Feb 2024 20:21:51 +0530 Subject: [PATCH 3/3] cpufreq: qcom-nvmem: add support for IPQ5321 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="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240228-ipq5321-sku-support-v1-3-14e4d4715f4b@quicinc.com> References: <20240228-ipq5321-sku-support-v1-0-14e4d4715f4b@quicinc.com> In-Reply-To: <20240228-ipq5321-sku-support-v1-0-14e4d4715f4b@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Ilia Lin , "Rafael J. Wysocki" , Viresh Kumar CC: , , , , "Kathiravan Thirumoorthy" X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1709131917; l=806; i=quic_kathirav@quicinc.com; s=20230906; h=from:subject:message-id; bh=+Bh/rzOUQYQjoRBz1tCM6eJd5AX3o0mJIXpOYRL1V3U=; b=iQHn7SORR7fGJbg7G2BFTZJe9rFJ48raS8QEcKkbbtL4w8zOq/HbRMuqC/UkGV4kINrckGNFc Lev3JcSsvlyAXArfUiQ9FZOhYXEAlT8QdFWCbrjgqsd3ad0zdD+Sv2l X-Developer-Key: i=quic_kathirav@quicinc.com; a=ed25519; pk=xWsR7pL6ch+vdZ9MoFGEaP61JUaRf0XaZYWztbQsIiM= 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: y4rOsiHSEyVHLkdbF5bME0o4lqjsj-zB X-Proofpoint-GUID: y4rOsiHSEyVHLkdbF5bME0o4lqjsj-zB 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-02-28_07,2024-02-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 impostorscore=0 mlxlogscore=999 clxscore=1015 malwarescore=0 spamscore=0 priorityscore=1501 adultscore=0 phishscore=0 suspectscore=0 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402280118 Like all other SoCs in IPQ5332 family, cpufreq for IPQ5321 is also determined by the eFuse, with the maximum limit of 1.1GHz. Add support for the same. Signed-off-by: Kathiravan Thirumoorthy --- drivers/cpufreq/qcom-cpufreq-nvmem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c index ea05d9d67490..0a46b5d49d32 100644 --- a/drivers/cpufreq/qcom-cpufreq-nvmem.c +++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c @@ -191,6 +191,7 @@ static int qcom_cpufreq_kryo_name_version(struct device *cpu_dev, case QCOM_ID_IPQ5312: case QCOM_ID_IPQ5302: case QCOM_ID_IPQ5300: + case QCOM_ID_IPQ5321: case QCOM_ID_IPQ9514: case QCOM_ID_IPQ9550: case QCOM_ID_IPQ9554: -- 2.34.1