From mboxrd@z Thu Jan 1 00:00:00 1970 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 B620437C0F8 for ; Mon, 29 Jun 2026 04:39:00 +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=1782707941; cv=none; b=AccQ33CeC6KFrSRdKvn+kL46HkZ4bh3u4YLwlKfQdlQYsllzc9wg+kbjtVclseKEHxaiBnsnXaZpvTLJvs33fBdlJEgNFAmNgsUdYTD8DsEh8fdIZe3/AJlk4jJ48vzVPf5fQP32o68JU/0yNxv+CGH+cO1V9iGx2RG8FUSwt4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782707941; c=relaxed/simple; bh=+ez3JrkuclbbjVWyUf4iDkLjrdLAhjMTMNt+sjUGTes=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kybEjxcp3lk9safea+1cT7qKPDjbqRgGPvNBH38QNzJOCLRSk7PLffVlAkkv3k5dd8b3ZCyEKSfxxavhR6+myxviQn5AwvOGAudVgwBe6KNw2CtVXZUp4KX83FU0xSQ+cqFifSOy+Fq3uh+x5ShnS0uWtlmAhORUVmq1nLH7FB8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=ZB7YjByS; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=GayV/mmz; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="ZB7YjByS"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="GayV/mmz" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65T4NKix1781031 for ; Mon, 29 Jun 2026 04:38:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= bReAtnTBchEqrR+06ufyCmDI/8DlpoWcT5eoY16Nc0I=; b=ZB7YjByS33jefUt8 7nocjRCcqM3BtoFZEdRyMLG9nRvrXUR/HYKG/1DVeDeFnYC64L5V/RrwDqYWPX+Z 7lnHAXYqXbVf+ix6+Mdau51axBGlvbVmv39NjTb+eliMRlDg7IR57e2Bn7VHn7JZ dkY2sMeG0KKI0r6IqVdOXsTaQu2okiGPRF2TcD3P81yTKfbShbfO71U98XQyqg/v xrOgG4IZLsBCPFRG4RpniuV5GiCaqpePcva/GRHE/eUyaGIuSTiguGcxBlbQCjB9 wEzS3C6iRRTYYBT7Oje/6Fr3BUxtPSaHbUONu+F52QNZF0vfmXJ4tJt4STa/Pyt4 0QKenw== Received: from mail-dl1-f71.google.com (mail-dl1-f71.google.com [74.125.82.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f26u74hd6-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 29 Jun 2026 04:38:59 +0000 (GMT) Received: by mail-dl1-f71.google.com with SMTP id a92af1059eb24-139f77afcb2so3424749c88.1 for ; Sun, 28 Jun 2026 21:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782707939; x=1783312739; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=bReAtnTBchEqrR+06ufyCmDI/8DlpoWcT5eoY16Nc0I=; b=GayV/mmzYMG2oC/WcrFt274FITksJvGGCRkiHvM+7h6Ffn0MaUSte27EWa246KiZoh kASFLPYhjEBhLXmjzEs/PAOsiYdRF0NsNwgO5A9X3+3ROolU8sjOBn3MEjT/sJ/S1Agk wZP8AllfuMDvTwPczmAyqsKh4Q+2A06J+f5FvtCLYMllHqrWkXtTe676IuFXiHsDOiAw I8NBGEi1RIlXRIa+Qa5hDHzBvkrzmmZUieVByBBtRE/A12mPhhnqwia5aQPAnsJPl7lk qcXdagbuNwvzp3PzV7V+dNecq5xFI8f8hVQ3hcqQsZjpzVvyfvIUG2XE4PnpmgG66w5X m+ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782707939; x=1783312739; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=bReAtnTBchEqrR+06ufyCmDI/8DlpoWcT5eoY16Nc0I=; b=gLdpHoc5shhxDz0+6/tVmuLGED52Cwalqj4ePKzjagCoGlOiRjtStVoxzBtKf6sh2e jECw3/lbLgAqPJxX/j9SRHIJ0gMmQ9LDTMfrR4f+VQVfw6Pzhr5ecH8bl1f9Qvkfd0yn Kq2GeohGUH/abPpoNDmKY3j1nFQB9XT1FlGgzlleQvzFspc2NrVKb1jQtMI1iC67S3+j pq/j1uawNmgGl+BCzis15J20oJ/Mtlqgv10AH7zRxRyXvWx5hATHaqurpLtmKMjyHQzL fz7kkCmUm++TwqodLyJ/T30byHCXVrvsds1cxiEZUWYgEyg4n6twnUvliwXPbdSopk6t v5qA== X-Forwarded-Encrypted: i=1; AFNElJ8k5xAGzy/BtOWgyv8mQvknp/WLiK6NZccOBk06jkWbZE1YNzyHo3ze0bnADQLMaRLJDH+ln85ugLqiCiE=@vger.kernel.org X-Gm-Message-State: AOJu0YyxLNxRiXHCwID9tXNaGG5vjNA/kDL1agmnPn7bfE0YrDx705fA gKPrEqP/V4zCFT2hfgj4jnzz3pka+jo+lnH1/uR5s6uDMx5vHVA0e758xfUS+oMFLdIckMLNqa4 lqqy3CRkzR7lr6CswIkVT8Ty9KG+fGT6+7UFp2DTqlhRxXsFWdwKyETv0V6yJMe5emqw= X-Gm-Gg: AfdE7clHo1yNil4GDn82JpMdhYucwOCKgFCWRKJMFRPTJc2Lr0VPp+C8YuoDOcb86bI pqJTyiY+PjSW4ZX0tvRLjI3Xm8tdx+TvtAkwEUX084B0cDPQ2C8UMrzgHMZr1OlCo6V3WY9pLEp hQ42KBueA+Cr7r//+SpVXe542OrW6G5R+6y+m9igXoFd7nVKSYkTDzur+erA/A4+lySc4yzod6I LOnVl86dcasW9dTnIu28ks3buyWEZ0TNmikogQB6q1zn8SmShUWYLOuosKquQttzUjXCr243aQH cjYmLMDghm0Gumb5pU0Tyfk4AtFQU72afpNUdj/Tu/FnBvbuh1TD2mW52JC/w4+VgAb+O9U8FMB DyYpC6QIw21CWzEg54YlkyOgiIWu7hOQ4XLCRE4eit2uti4OFwcxeaMI3V5ADjMfuVj25WK02a2 V6ysrjyUyaavCClC8Abp/Oc1PiFiO4fmUZT1lsfT8C X-Received: by 2002:a05:701b:230d:b0:13a:34c0:d776 with SMTP id a92af1059eb24-13a34c0dba9mr281958c88.45.1782707938720; Sun, 28 Jun 2026 21:38:58 -0700 (PDT) X-Received: by 2002:a05:701b:230d:b0:13a:34c0:d776 with SMTP id a92af1059eb24-13a34c0dba9mr281938c88.45.1782707938227; Sun, 28 Jun 2026 21:38:58 -0700 (PDT) Received: from hu-varada-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-139fcf63021sm7791247c88.0.2026.06.28.21.38.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jun 2026 21:38:57 -0700 (PDT) From: Varadarajan Narayanan Date: Mon, 29 Jun 2026 10:08:43 +0530 Subject: [PATCH 2/2] clk: qcom: apss-ipq-pll: Add IPQ5210 support 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: <20260629-apss-clk-v1-2-8c92fe118ce4@oss.qualcomm.com> References: <20260629-apss-clk-v1-0-8c92fe118ce4@oss.qualcomm.com> In-Reply-To: <20260629-apss-clk-v1-0-8c92fe118ce4@oss.qualcomm.com> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Brian Masney , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Varadarajan Narayanan X-Mailer: b4 0.14.3 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjI5MDAzNyBTYWx0ZWRfXy2wUkVO6b106 4m9irsFxsFyMVUnsrxy9ppaBJI9kS1SRCh7RB/ARStwTquqiK275b0TC+zW9iBRW/js+a7+7buI JK/mb/gG1wAKLuH2d5Z4Sm0OssrUPeE= X-Authority-Analysis: v=2.4 cv=ftnsol4f c=1 sm=1 tr=0 ts=6a41f6e3 cx=c_pps a=JYo30EpNSr/tUYqK9jHPoA==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=QNGU6pO-sn4YUdBRpTkA:9 a=QEXdDO2ut3YA:10 a=Fk4IpSoW4aLDllm1B1p-:22 X-Proofpoint-GUID: ATL9jqPWUiF3AzNNQmhE-NEvvq0kWtIY X-Proofpoint-ORIG-GUID: ATL9jqPWUiF3AzNNQmhE-NEvvq0kWtIY X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjI5MDAzNyBTYWx0ZWRfX4xSWkBapSViJ u8/L5Mk4x16/aVR69eTXf358975ZLxmnV+x/xN0igKRduj6N4BZAXO8Oq49J+feKdvIwpl6ixt/ KemLQkzNeYe53pJzMJ+xYUULR6IFTBYp/yojizpnMRPCq9X/ikmgRi1352Gxh+cjNnMxQZPkJS9 gJ3QQ6OeIvggPOWR7+jcwIa09Mj71fPsget+6L3zMmvbofojE8dAkZJP4oAIHCYCmGV0gO98uPX 7HeWDG1qDfzm68ilUcjd6negJIaSN8PA3w7T4UGsoHwPLPUA3Qz4QUHRqRkpfUCmFu7hE3OTd6x 8WFp2NIUtiQILcknxNrOHhobMnm/YXJWD+3KfNp/9IdzE6knBIPVk0LLChMieZkFJFZ+Lwh93Fw GOENaFxgRTCXU24TNKaJmM20wcrzwfqqnFchfm3cdRaz21knAS+rudsGV6UURBoQFykyX9zYQ6H YVgNB36cEsCxOiL5nEg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-29_01,2026-06-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 malwarescore=0 suspectscore=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 adultscore=0 bulkscore=0 clxscore=1015 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606290037 The Application Processor Subsystem on the IPQ5210 platform sources its clock from the Huayra PLL. Add the configuration data necessary to set it up. Signed-off-by: Varadarajan Narayanan --- drivers/clk/qcom/apss-ipq-pll.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/drivers/clk/qcom/apss-ipq-pll.c b/drivers/clk/qcom/apss-ipq-pll.c index 3a8987fe7008..569ac76c75dc 100644 --- a/drivers/clk/qcom/apss-ipq-pll.c +++ b/drivers/clk/qcom/apss-ipq-pll.c @@ -79,6 +79,18 @@ static const struct alpha_pll_config ipq5018_pll_config = { .test_ctl_hi_val = 0x00400003, }; +static const struct alpha_pll_config ipq5210_pll_config = { + .l = 0x22, + .config_ctl_val = 0x4001075b, + .config_ctl_hi_val = 0x6, + .early_output_mask = BIT(3), + .aux2_output_mask = BIT(2), + .aux_output_mask = BIT(1), + .main_output_mask = BIT(0), + .test_ctl_val = 0x0, + .test_ctl_hi_val = 0x400003, +}; + /* 1.080 GHz configuration */ static const struct alpha_pll_config ipq5332_pll_config = { .l = 0x2d, @@ -140,6 +152,12 @@ static const struct apss_pll_data ipq5018_pll_data = { .pll_config = &ipq5018_pll_config, }; +static struct apss_pll_data ipq5210_pll_data = { + .pll_type = CLK_ALPHA_PLL_TYPE_HUAYRA, + .pll = &ipq_pll_huayra, + .pll_config = &ipq5210_pll_config, +}; + static const struct apss_pll_data ipq5332_pll_data = { .pll_type = CLK_ALPHA_PLL_TYPE_STROMER_PLUS, .pll = &ipq_pll_stromer_plus, @@ -207,6 +225,7 @@ static int apss_ipq_pll_probe(struct platform_device *pdev) static const struct of_device_id apss_ipq_pll_match_table[] = { { .compatible = "qcom,ipq5018-a53pll", .data = &ipq5018_pll_data }, + { .compatible = "qcom,ipq5210-a53pll", .data = &ipq5210_pll_data }, { .compatible = "qcom,ipq5332-a53pll", .data = &ipq5332_pll_data }, { .compatible = "qcom,ipq6018-a53pll", .data = &ipq6018_pll_data }, { .compatible = "qcom,ipq8074-a53pll", .data = &ipq8074_pll_data }, -- 2.34.1