From mboxrd@z Thu Jan 1 00:00:00 1970 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 6E2763FC5AA for ; Fri, 18 Sep 2026 09:41:42 +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=1789724504; cv=none; b=tuipH8BDWPcbYknbpo9i5/kbtBNKk2bqhiRbFSFwekiIPlArFeZZYfulc53NXXK7JO1K6UkCh6zzKR7nAFhF3Dj0tdVrECEI2hAisbhxTQNoyOR4EAm6rNIsRIg4oRhhqwYVbgTLZGjzZ6TZXjFnY0GsRCfh8wtNXI+X7xtwB+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789724504; c=relaxed/simple; bh=QRuWpKdj+A9a58ifXorfA3tOqpuNbcgssSmdt8TBLTE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KSwJzDQ+CMiU5GwrvFqWrX+fR9uxSKSrR25WhLHpp2WqYDE4dQ2j5ct9hwzTOZif3ChBhj/MY82UuswVt0sBTjV9GJvv+BU2tdowupKDcyPNvjQeR6hEsydf80DPxue9ZSEcRelwJgLR2FjrjEVfInKjnORcpy8VStdbnuUazGY= 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=jcGL2ww2; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=YNzNItC+; arc=none smtp.client-ip=205.220.168.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="jcGL2ww2"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="YNzNItC+" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68I9dV1X3916158 for ; Fri, 18 Sep 2026 09:41:41 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= KaXtCHcTBs8wKKNo/oX3nvA4YSe21cvTYZiLadvDqMo=; b=jcGL2ww2hXcbZqGd FWVQV3mfI7uz8PtS02bsWCNspWo1qUZO9vcT3JNethRuVo7qv5bPcJN9EqBFTLjo rwjav4k9RyakiEeIWJSsMcZxqt2UCSE89lWUjkUSKkWArXWHvryG5UEKGj+/Tdzp 0o/Q0fSxDbD73S8FNWfwfe2755x0fcV2OvCrMclA6KTnl3kpl9wvgH25hoYxP113 VlqcJQhKe490eTxcsD/AtpYRdyASB8FSzxG4JMoSixXPWJ3ye154U7xztXki25XL zuDR0MAsKcPkni9hjl3W3CQjnNn9v6Kpn2g5s2thySb6Rl/l3JkkMB8Rkp6v/lHP nWpRDg== 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 4grrjdtge7-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 18 Sep 2026 09:41:41 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-939f8e7ff71so14669385a.3 for ; Fri, 18 Sep 2026 02:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1789724501; x=1790329301; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=KaXtCHcTBs8wKKNo/oX3nvA4YSe21cvTYZiLadvDqMo=; b=YNzNItC+XKoGInNdxHrp2LEw57k1As/OZd6euO7fFwk//7A7q9OJaFep9kauBKujjj LDfwxcVbID+c5bWmE3CoOsJffypoiKl4o7uGmbziq1Et75ittcppgHBqlW6S0ZybPxMQ IKT3b5XYzzawAYxu17Tyy1NCZ3YBvMekVEq5nmasB2O7OcpGXKw5fAXAozU3ub0qywYT 6hi+ET03oSUT+p7XCpKEMyZArXQCuQEEo6Ez4ATcPlae+BUQd9m99RWnpcAl0wXyIBGo X6KBcsgHfFOYdjNDtope/Rulv0uOfxM/bzXycxmDcnK5HuPNIbhj6lssb3+NGbzR3Iex pKPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789724501; x=1790329301; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=KaXtCHcTBs8wKKNo/oX3nvA4YSe21cvTYZiLadvDqMo=; b=ctOcm7Anp2T5iZY0T6K4eF5UafVSleZ/W9B97YTvHmysxUqidW4dlHzHIrf2XuC0JS +uaX86Qnve+iwFFjkd6a09upbLNYbAZA471S3rVsC9LX5nSLU7bas2ZzKeRfldTFG+73 XyLXFySZsqqO3Xhem1wax6SpXVX5VEcL+SXONcC7kqLGrqtrUbpsBvyzMCTAUpg78rcz XMuG1zo9BUIvwJHEPe2Owa+3BnoWPXtK5Dm/4OpvqpFwKjOAHTT+CXOujZ1FySXG46Q3 SkXGq9RJk/bEv5vvQd+juk3IVxp3c2ez7rI38FdqhZoMx3plL+Bdbo9ofszLqxy82brH hfDA== X-Forwarded-Encrypted: i=1; AKwUvBxw75lM+M3FKiRcnjdXZZYh6iyMgUAIRwP8G//anSHgpgsNPnWAFDFSyNw/GbSbj+Th+Muv375aHiCFlAw=@vger.kernel.org X-Gm-Message-State: AFuF++lOZG2ZE75h9u7XmnuWHNJkrNAQdXk7tIvma77OUcYuvgfxL2FT rCN3kalOLLQnL4kz/XlL7YfTz7XHnghT16svRqINAAOpzOndlL60lZx20VfKK7Xi7mBx818ogJQ rg3j9YLPl0mBo0Eko2hvfk/Kd4psRedN6M2urWsszP+bXjo4+vf1z+n7izfOtcJe4ouk= X-Gm-Gg: AYBFou1CITDmvNkIDuE10zeCB6iViSUf3vu+b2ah+4JihzesgKqgsCew4eKjpDhG9C8 J8+pmzy+uxPA9EWd498m3o7RreUdgZYV32X1wtZ/9HPXVjzYW9oPWP4Ot4KMsJaPiLUrklYgmjV UXkL9L8zPpVXmClmf3G+u5HZKdYojWJV3ryM8BfX9zsEydeQynfcj9q4aGQcFQ8+VQ9TU77rF49 qMnHWHPaH6z93O1G8FkzRMCb4ypZRd0HNqtks5K5XcJPcWmnnkIEhR0YSfXEBiwMHhpCYoI0HaK dPj+9YsZdrS3dZWqjKUj0iJljGQMkSmKaVPiXCo5uKYdnuPANY04UpKb7WPleNg/o1kGuTIW4aa /l4WDOF8d3QiTPMSoOkJ2CQ== X-Received: by 2002:a05:620a:7086:b0:939:c8b8:4639 with SMTP id af79cd13be357-93be0743055mr172814685a.4.1789724500758; Fri, 18 Sep 2026 02:41:40 -0700 (PDT) X-Received: by 2002:a05:620a:7086:b0:939:c8b8:4639 with SMTP id af79cd13be357-93be0743055mr172812585a.4.1789724500320; Fri, 18 Sep 2026 02:41:40 -0700 (PDT) Received: from [192.168.202.12] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6aa58f32358sm607866a12.6.2026.09.18.02.41.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Sep 2026 02:41:39 -0700 (PDT) Message-ID: <32f226a1-c0a7-4b8c-b938-7089eab2870d@oss.qualcomm.com> Date: Fri, 18 Sep 2026 11:41:35 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 00/48] clk: qcom: Use common probe data for always-on clocks To: Abel Vesa , Bjorn Andersson , Abel Vesa , Stephen Boyd , Brian Masney , Jerome Brunet Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260916-clk-qcom-rework-legacy-always-on-clocks-v1-0-25a24e50f82a@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260916-clk-qcom-rework-legacy-always-on-clocks-v1-0-25a24e50f82a@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTE4MDEzNCBTYWx0ZWRfX9WWhy47blpMl ogkKvU12ph5siSOnExZYhNgBdpnv2jU/PCroRzP+Id5tglVCm8M9UE89SkUMpi54MeUsTxcrssi m9MTcssN0d9fn0eviQeN0fG7znabiHJxZe7PAxNkts5ov770/l7HF9Vv0Ohi50dFddVZPNSMS1H YzipYXijn60o3Y4hSoTYOpSUPvBTygl42XtjoQSY0sqd6TuCBrvdT45yNnTEVXcCt02uwqFSJm7 iQ1weUeDg6wPyKZtfeegmEUmFG7SDEKIlMVnT8JJV8pB6buGuh34iakNBXSqQcgFCUaK0G4DFNx LvZa2syev5YV2PeYO3p1dCCXWisBq1unxHOQyR+OfaN6xUCt4qFxsz8UvlNEbbaTMRcs30Q5njc 6LXV9YDEpq0J8ex0txxGUmE6Yd40eTXB4KYNZRF6+C4Qsl3/IJ23e00Gl/EUO7VVKikYcqFM5h6 6Rcq7DN/pJEdeJENFQQ== X-Proofpoint-ORIG-GUID: _YqPzJ_b7qcIaCmFZojWaUxlNJFYjCTv X-Proofpoint-Spam-Info: AW1haW4tMjYwOTE4MDEzNCBTYWx0ZWRfX0AzFvOOCVu+v 4C5tSMt3Gg1QHG13ap/c4NSMWVg1vrxHLbwBxJlK6M+Mt8YEj7r74L4LFNcY6TrmbKhEGK8YkYB TnvzZZYTphNLWKA1QjLlEg21AyN5Zl8= X-Authority-Analysis: v=2.4 cv=J9Q/fwnS c=1 sm=1 tr=0 ts=6aad0755 cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=1nZzI5l9QWMK2WJSCrYA:9 a=QEXdDO2ut3YA:10 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-GUID: _YqPzJ_b7qcIaCmFZojWaUxlNJFYjCTv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-18_03,2026-09-16_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 impostorscore=0 clxscore=1015 suspectscore=0 phishscore=0 priorityscore=1501 bulkscore=0 malwarescore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609180134 On 9/16/26 12:28 PM, Abel Vesa wrote: > Many Qualcomm clock controller drivers still enable always-on branches > with individual qcom_branch_set_clk_en() calls in their probe functions. > The common probe code already supports describing these register offsets > through the clk_cbcrs and num_clk_cbcrs fields of qcom_cc_driver_data. > > Convert the remaining users of these direct calls to per-controller > critical_cbcrs arrays. This centralizes branch enable handling in the > common probe path and makes the always-on register lists easier to review > alongside the other controller data. > > For GCC drivers, also describe DFS RCGs through the common driver data and > move auxiliary register programming into clk_regs_configure callbacks > where appropriate. Drivers whose initialization is fully covered by the > common path can then use qcom_cc_probe() directly. Keep device-specific > setup in the remaining probe functions, including the separate CBCR lists > needed by the SA8775P/QCS8300 camera and SM8350/SC8280XP video variants. > > Signed-off-by: Abel Vesa > --- I left a couple comments as replies, but let's have them be additive touch-ups on top of this so as not to resend 48 patches for this series: Reviewed-by: Konrad Dybcio Konrad