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 E80013B5846 for ; Fri, 3 Jul 2026 10:04:20 +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=1783073062; cv=none; b=tG8GTdzWL6FRkjL6xxx99Nn0ZprIbVqc6hlPrB6ml2koTQa8Xy2IacGtequgb7kgGo/5DtSq1Sq6STUq46PfkwbV3ffHBtj8YiA/e8zuLuEvkUgutMLyeiR8CG8WuvgYZTPOuTPY8PxBr78wSTtlAuoyyx2+0nNOO5+8qJZ79dA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783073062; c=relaxed/simple; bh=6RY5cIrVgZDKKwhOrSo7qgkhL/e4/H0mXeSOwXjaWI8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VqQ83CNoNk5gHnctSnx5omSddUbTmJ1+oiytNAM71ZoZKypIDeqeVYIaX5oOqxMSGDINMqWQzp3fpeHyJjZ+kSflJUsTOvBBiTDPfoxTrG5/KhIYuiCbo6C5muHurmTyvF+MoivVvfIZVZMZmfhVkFxlIzjaIazTjmMmI8WjsPM= 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=MuS9GvCI; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=grewQ6sg; 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="MuS9GvCI"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="grewQ6sg" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 663A2tJ83772692 for ; Fri, 3 Jul 2026 10:04:20 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= fcgnkajawYKqpU6qG8Qh0lQ//Ymi7V9Vf3n5LhJH1ps=; b=MuS9GvCIX25OPlbm pzbngbg6zhKRIfTAyeqvS0t3lKxZRB8vvkadWogBtEnvfaV6AWM+X8q16BV+1ANV zD8jsIjBaExV8e7DrcLpzfKgJDNxCGrzDBspttAaWQv7C4rkSV6vmAGGO8Xh3YwB gE3bC0eMceXPf/kLrXtZ39VUVpAJJwY47cu6I/PCvahUuD3xN2Ag586/Kry+MtSu 46BfDNqP3eDJyE/RhkCXNL9GG30+cVaAev0h+U6KGHaXz5gs86c0a+Gi1IoA/2up EPFSoHYnVC6fUVjHhGdz/YhGLoVWEBO21u07HpvPTD4vLT2lq2vzedNCfhSdYnD9 P7Vyeg== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f6b03806d-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 03 Jul 2026 10:04:19 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-92e5e38fbc5so30991485a.2 for ; Fri, 03 Jul 2026 03:04:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783073059; x=1783677859; 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=fcgnkajawYKqpU6qG8Qh0lQ//Ymi7V9Vf3n5LhJH1ps=; b=grewQ6sg+42XrVTWruxYsvXnjtTs07wWXWdnmbDifY3wExv/WHIS3CDejXkXwM9K6n OHE4u9cAWgL2ZrSd1HDTL4Yull4n03SoHbS1fwFVTWPd7j1o7eTzAmaINuE9Xwcl/5EX UcijY9DtJf9+oDFxKO/RSzHIYp0Al9SDKRp71rbqwEbmTgPvy1Jnlst1CTB/RCqrHqmi YNYIPBiNmanIy7nYVkV4Mku4aNH5Nd4qEMdEGqe5z2axSs7Db0rj7I7Z9UMTLDeMuHqD 1UGAWlL+re3W0H8KpuwXeXNNITINWAqnyu6tKCtnCQCtGkcQ+3lXjZK52Izqi0PXHnYv JqRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783073059; x=1783677859; 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=fcgnkajawYKqpU6qG8Qh0lQ//Ymi7V9Vf3n5LhJH1ps=; b=WKvb7tHuzbs8gWawss33HKJXNmVOPqXjTX+j2LdzO7e9Hqi9mbUu/KCx3nDdgfWz6I uOdLZeolCEw/KYTyvmkub6QkwJvjvLKR/fiZr/kl1acXuZn7jkyh6JBVqMdr5SXe59U0 QFrhQqk5Pm5DU5lGMZ1iZ7emz2AvpZ0g8wy4K/mEDQxjuaHxJ6aRM18Ff4T05BRmcOrx s0ffL289Dpzfz0DjAblFU1JSftg3ph4Chah5v8xQfMvcU/sl8S5qsIE7e0krNTWfUUzo 7PxHNMvPOKQnRUoXgZjqvh+Lss6Jqc+CqslUKsEhIKE6aQKnHzFHRYn0nwcqXGpEVdRm WhMg== X-Forwarded-Encrypted: i=1; AFNElJ++0PuP6boAESWBYh5zzoJFp3k2nkBnJwBlbO4S9LMVM+XaBWy4b+i2waolmhCK+VLBA01TWUCfeebiQOc=@vger.kernel.org X-Gm-Message-State: AOJu0Yzk/cFvWaj4CaFQdDHo4uq6E/VhMXj+U+LjrIH39wXFen3gTL7p NTHHY7rXjrZqYRcXFg3cTJ+9IjY4HRRqNuzT0JVkW5Gqcdc6+CoMtFi5gmvZ9E8hU0SH05diHY9 IWYc/qP0DmP26BKUPDDDJS04gUA70oTuBhFjBIIsIp4wOjlSl5kiizzbEzOZKee/NmVc= X-Gm-Gg: AfdE7cn5RPu6hxvt7CeisKDtRiYLzP+/Kby0oZ5Bbgsfi8Dpbjj8OKdyjCrKaYLx0sq yi0xaJPMCKR7EJ+80evhdwD9STprTd09y0fiF6+CkgWEmoNYlB0FOi700m8EWZUowHVG+bnz6kx LXg0YvsYX47djFyibaFEVIuBCcb5+ZM0ORayAr+mjmmVjGqyCFSFOMdNEIatnD7h8yeHqyG6Gcf gneBAG6cvJ4PhXweoH5LfK7PbaX4FE3z6U+gQtm8q490Py3v9n3cAbGwwyd6irGoPCyCVb1STfG aSA6S0t4iM9SOLwGKE1UZ/wdpClpnDJfZUjLZT/Uu9eqZklXJVJ34IODJu5yhWXjVZitbDTg2Gq +CoadffB89kc5SQsFAqgl3dhJrbehzX4fV1c= X-Received: by 2002:a05:620a:170a:b0:92e:6c8a:2a1a with SMTP id af79cd13be357-92e781d28a0mr1246327585a.7.1783073059086; Fri, 03 Jul 2026 03:04:19 -0700 (PDT) X-Received: by 2002:a05:620a:170a:b0:92e:6c8a:2a1a with SMTP id af79cd13be357-92e781d28a0mr1246317585a.7.1783073058218; Fri, 03 Jul 2026 03:04:18 -0700 (PDT) Received: from [127.0.1.1] ([178.197.223.174]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-493ccd9d607sm51353505e9.2.2026.07.03.03.04.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jul 2026 03:04:15 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 03 Jul 2026 12:03:59 +0200 Subject: [PATCH v3 1/7] clk: qcom: Restrict IPQ5424, IPQ6018,IPQ9574, QCM2290 and others to ARM64 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: <20260703-clk-qcom-defaults-v3-1-78894525e54a@oss.qualcomm.com> References: <20260703-clk-qcom-defaults-v3-0-78894525e54a@oss.qualcomm.com> In-Reply-To: <20260703-clk-qcom-defaults-v3-0-78894525e54a@oss.qualcomm.com> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Brian Masney , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Dmitry Baryshkov , Konrad Dybcio , Krzysztof Kozlowski X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3574; i=krzysztof.kozlowski@oss.qualcomm.com; h=from:subject:message-id; bh=6RY5cIrVgZDKKwhOrSo7qgkhL/e4/H0mXeSOwXjaWI8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBqR4kUxwOR/PqADyvRF1PEutdEMrXc8V6t5ElBb XwlcvCUNJGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCakeJFAAKCRDBN2bmhouD 1+PfD/9LYQ7sld4HL+cuSM3ViP6etJb4kHUUgWF4zfcFM+VKDmqQWE14LIlGitteIKN7AO9qHl5 zkrjjAk3JfGMmU70fRzzfdrlQ3IitETvaQacd37epDe8YlIplnwXYc09MbDfUlrnlyqba8VY1m7 QkeBEFm275rYwArIwXH45JUVTS78LdvaT+lBC6pErdcCIV0ciKQ22gH4woGlWZQYs9y9xraCJhH nc+0GXQUpznbpf0eoNxJOvJAZVWjpMZGradolQDPQX1FJyslxPc62AibgbBfEFqpjgNMAhB2BQe vqaWUWZ336vrf1ciDB4ZUsJN5lLu9TWiHX+UURSqZndIecOoe9o8PaOjxmHwbab+cGX07iqG3y1 SWwYsfCToSamXRA82XPWxU4JdXMCG1z/eMa2HW2Syv7JPA/LlSXGdhxDOVJe9bYoBWbo5zf/Uh1 9jnOwXk7GCeeYAmnHLBXnDpm3i+JnC+SY52hiHmt4NcYRMJ8lDsP3dj9qt/MrGJFjJY30+vkjUL 55qNoZbORE3qCWm8657wQFRY622D8SBjIAFWr4JNnYEi1SbRW1WzHjdFN9vcwCIEZPtRhU1pDdz yRHdVdTJduyBHPvdrPryeQSjTU/8Pxi4+JR7qHojnUuTpjJe1KBRadjSmFKwlZKpvImvPzHUOmS jxUEw0EcWaJlatg== X-Developer-Key: i=krzysztof.kozlowski@oss.qualcomm.com; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-Proofpoint-Spam-Info: AW1haW4tMjYwNzAzMDA5NiBTYWx0ZWRfXyUw/OXGPdYcd EpTgbToSfJXvFxc1di7azW3rZeQ2hsBYvIasPcOZP5h4XT8b0u/XnWyDQTwxGhzRQxxGxUK9cRA o1BR0r50bAxYTs7VghvCptyonafBesQ= X-Proofpoint-GUID: dr3bRxPF7KussuxCr5bAH8FFyGeVfq6J X-Authority-Analysis: v=2.4 cv=FoY1OWrq c=1 sm=1 tr=0 ts=6a478923 cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=N6niishs+lR9UBL1FN3Qrw==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=EUspDBNiAAAA:8 a=oh4px0T-8jNy5rkF8LYA:9 a=QEXdDO2ut3YA:10 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzAzMDA5NiBTYWx0ZWRfX68+ohb7uEEP/ w0iEMbSmQpJy0NSj/QB/E+Rfm823KtTOHbxTX7UV/pZSGxtYNDRWWya6xXqIcn/fP3jdOiNlZhj 6dCbJRzVcgDT4K5RqniObpjeRrZ7XiAZnu+oWymknXPoXP2gW/TTUwyNfy+bnaeWwgYHX6izBfA BlHpCao4QVkkphf4aIXDJTYZ758N3EMh3MgTIlDLQ7nl/nhYQC/f5aQgisX4ZflNBqoNoPaHheQ x5E+Y5AQG/wK323GsqpnL3J6w8T+MLgdDfm8wiqyjRRA5qTSeav3xBnpZsn2kikKQl9nsE4X3Bc iSx3g+UppdPDBIShg4J5j8zKDmw0E/Tg97i0aiXHoSB/GjXPtWFzKQ1MgBjdA7vR+pkYmfkkENe 5IJrbTmOGH9xyp1mrwGsnkBVDMn0CjqO9zf8o6jxJb0t15WBj3+LSlqegCwLuLCUSNx4pmsfegA OeKkKaJJ4Wk108Ifyrw== X-Proofpoint-ORIG-GUID: dr3bRxPF7KussuxCr5bAH8FFyGeVfq6J 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-07-03_02,2026-06-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1015 malwarescore=0 adultscore=0 suspectscore=0 spamscore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607030096 Some clock drivers for IPQ5424, IPQ9574, QCM2290, QDU1000 and SA8775 already depend on ARM64. IPQ6018 is ARM64 only SoC (at least upstream) so should not be a choice for ARM 32-bit builds, to make kernels smaller and user choices easier. IPQ_CMN_PLL is used only by the SoCs already having clock controllers restricted to ARM64 Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Signed-off-by: Krzysztof Kozlowski --- drivers/clk/qcom/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig index 7d84c2f1d911..d4f80c6953e3 100644 --- a/drivers/clk/qcom/Kconfig +++ b/drivers/clk/qcom/Kconfig @@ -363,6 +363,7 @@ config IPQ_APSS_PLL config IPQ_APSS_5424 tristate "IPQ5424 APSS Clock Controller" + depends on ARM64 || COMPILE_TEST select IPQ_APSS_PLL default y if IPQ_GCC_5424 help @@ -373,6 +374,7 @@ config IPQ_APSS_5424 config IPQ_APSS_6018 tristate "IPQ6018 APSS Clock Controller" select IPQ_APSS_PLL + depends on ARM64 || COMPILE_TEST depends on QCOM_APCS_IPC || COMPILE_TEST depends on QCOM_SMEM help @@ -384,6 +386,7 @@ config IPQ_APSS_6018 config IPQ_CMN_PLL tristate "IPQ CMN PLL Clock Controller" + depends on ARM64 || COMPILE_TEST help Support for CMN PLL clock controller on IPQ platform. The CMN PLL consumes the AHB/SYS clocks from GCC and supplies @@ -432,6 +435,7 @@ config IPQ_GCC_5424 config IPQ_GCC_6018 tristate "IPQ6018 Global Clock Controller" + depends on ARM64 || COMPILE_TEST help Support for global clock controller on ipq6018 devices. Say Y if you want to use peripheral devices such as UART, SPI, @@ -457,6 +461,7 @@ config IPQ_LCC_806X config IPQ_GCC_8074 tristate "IPQ8074 Global Clock Controller" + depends on ARM64 || COMPILE_TEST select QCOM_GDSC help Support for global clock controller on ipq8074 devices. @@ -466,6 +471,7 @@ config IPQ_GCC_8074 config IPQ_GCC_9574 tristate "IPQ9574 Global Clock Controller" + depends on ARM64 || COMPILE_TEST help Support for global clock controller on ipq9574 devices. Say Y if you want to use peripheral devices such as UART, SPI, @@ -690,6 +696,7 @@ config MSM_MMCC_8998 config QCM_GCC_2290 tristate "QCM2290 Global Clock Controller" + depends on ARM64 || COMPILE_TEST select QCOM_GDSC help Support for the global clock controller on QCM2290 devices. @@ -698,6 +705,7 @@ config QCM_GCC_2290 config QCM_DISPCC_2290 tristate "QCM2290 Display Clock Controller" + depends on ARM64 || COMPILE_TEST select QCM_GCC_2290 help Support for the display clock controller on Qualcomm Technologies, Inc @@ -869,6 +877,7 @@ config SC_DISPCC_8280XP config SA_GCC_8775P tristate "SA8775 Global Clock Controller" select QCOM_GDSC + depends on ARM64 || COMPILE_TEST depends on COMMON_CLK_QCOM help Support for the global clock controller on SA8775 devices. @@ -877,6 +886,7 @@ config SA_GCC_8775P config SA_GPUCC_8775P tristate "SA8775P Graphics clock controller" + depends on ARM64 || COMPILE_TEST select QCOM_GDSC select SA_GCC_8775P help @@ -1079,6 +1089,7 @@ config QCS_Q6SSTOP_404 config QDU_GCC_1000 tristate "QDU1000/QRU1000 Global Clock Controller" + depends on ARM64 || COMPILE_TEST select QCOM_GDSC help Support for the global clock controller on QDU1000 and -- 2.53.0