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 80DAB410D30 for ; Tue, 30 Jun 2026 12:57:25 +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=1782824246; cv=none; b=byBk1WuLwkIcsVAe7MG7s4Cpibesa8kds0/vsk2IsHgdI+vSIhhwzdgw67HMWnsvkhVzdWM4sCdwVJEv9QeqOV/tca7W0FnSCFhIIONQZpGK2YSJ7vrkxBrEcH5i6wVyqpyDCVRTcsgPCCBqmWQPW33pHlkOdceE0N1MosuJUWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782824246; c=relaxed/simple; bh=pnI7R/xMMC8JZIFxsJK7PSD3LbRqlyz8dhLEqn7HV3w=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lpLeo5aNhjpW+2rwYikffYmjdKEBloMheroBThOZNZiSdZR13p3Ne2YRcn75J1HHB/gWwwNO9TxOz1S3UzSXDCxg4AjaKx+L3rA4zlumcMtBAZjtqpxs720V6BmuxowAJjHSU9Gap1Cw8z6z7XdGM266kcVidTqHQe9XxCYM2ig= 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=CSUaqot4; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=g4lyBcqP; 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="CSUaqot4"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="g4lyBcqP" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65U9mn8j1541506 for ; Tue, 30 Jun 2026 12:57:25 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= lJO2RpNQ8kCH+24erJ/udW/2aUgTpJLDMSalLdUaCtM=; b=CSUaqot4rG1+Qoag 7JeUKJQkjG7CPWAKZWG1C9Z94uUK7BnJspSqdX86AAseWfYyfguPZmTeDzRPDf/f QiqjtkGUp/SegO06vuybmvUgLLOcQ5Bhb7xo7Ztx6Yt9FsN05nXMqCzoK9KRH7qa W2z4m+LNWg95lLzHlnKvPQSzF/FU2EpJUOGGpH0OlUYA7UP/y0R3TrUxSTCXFMjc N8reu2WPv9hd9QIms9NUcQJg4+A2/XGyYAKR+2xlR/MOMCeI3yUU38kuAiAVcF7C LZ/R9t+LP25C9VrCsRfiVG4a6jwTfzgpsMpoC71HNNnJYRaVexHGYnhHbiw9pOQ3 +uQprg== Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f44wp2hn8-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 30 Jun 2026 12:57:24 +0000 (GMT) Received: by mail-vk1-f197.google.com with SMTP id 71dfb90a1353d-5bd94ea83c6so105746e0c.3 for ; Tue, 30 Jun 2026 05:57:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782824244; x=1783429044; 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=lJO2RpNQ8kCH+24erJ/udW/2aUgTpJLDMSalLdUaCtM=; b=g4lyBcqPXkHuLVrkMUrh3X1wytvjtp4mloUk/kJ8Ni2J7bLk+J48e6ywuDyE0dsb6b woj7tvc1xLUb6g+YEtHbT3vRfbAyGlIFTyXPsi1ZpSUmWZQDtUb5MsbzzMJ1E4BSURlh mBMh7q4Wj0QlBG7R9j+YrngEva6DWXCbstx35LeVgPbt4ZItS/IjklynsjykgyGHqbJO Pil0RWLXO248JQy7/5qzqOs5eBqcgPooYH/0qJag1UNU8fuOP/TMN3Mrq5d/OIQ0THKZ rmCVNNZB7dm5yrIAQ71RXbjRDXEcyhpQsDI20Q/5LLQA/T06NcJP7+khF6VXVFczoEXs vYSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782824244; x=1783429044; 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=lJO2RpNQ8kCH+24erJ/udW/2aUgTpJLDMSalLdUaCtM=; b=e2mdtfADCHNfRerWmnO4I2vTjNGCKSMYqHClGRoGde0ozIQVCGcO9QKDAk9mJ+I4Ta tDuwG5UWdTaPV6zcnAUiNJGpx5RQ2qvzKh/aKvigsJ3dZ1/EH0CqgFz1+wwdg67oTbSl 2TSeWeW67M2aKiJdtygpWnmNqxJA+LmzYp+b7PXBEBDxtZkrnqwgCgYLeMNW15zzcWv/ 8dZqTwWWjUFoOAPPn8TYCc7sHS80FuXCdwJ2mY3XzfHzQ/y9TyweH835KwDPjrTaWVC/ HNglSk0I+CG4jpdkj5hh664X+XxXsgtuK6ub18ikFURL/w0uZxiy/lUaDfTg0CHZ405D HhNg== X-Forwarded-Encrypted: i=1; AHgh+RpnVKIwyxzrgCeYY7sbOX8BrkSA8yikwzRmueaCd4OPUunLGSuRUWiqDpRbwKppjXwUX0/ghva7292oYaU=@vger.kernel.org X-Gm-Message-State: AOJu0YxzyIBH04lg5W7BJbWa0CbFg2hff4k3m3X9kO1K40PnkTLMdwVy /XZiYQODai4l7UxfWT2NZ/23Q6M1S5WEizUZ9Tkk1fk1tjAYWsostt7C2utag+CamkZwo7o5X5S +EDf8+qFpZStKrrEcDSe+UsHvPqwL6WHu6Ar3nHlS3uemLKovX5A/z26EPyzHFdYcmLs= X-Gm-Gg: AfdE7cltiYkyLO/g14kYrM+6twTc6HxQ68Xl+zJB2EGeTYwI20aaK8RkkxBYRhkedUZ NJcA8l/r797II/qrfDlvdw3ParycWMA81c5Psdw05vhYdZxfTIlqG/24cJGpMM7EElCuvzRob+1 nvzOURwuxa3cg/ObdjgwV9FcME8mHA2Gvjveh7Dem5yvoCQbILtZRTohk7KmN0FBWf9Z2UwSw+/ 6e/lD/XXa95ExR/232vjCsZv7+2GxZrgedixzJgZ0Ruf/ZN6A2FycCxPIl0s+650eoXuNIp17Yv 1A3K/QxiQb1fJwrBjzkedecBc48t4KQ+vp2dEy1v1ObxaISafcrEwuSYdpzZbQiCxJuOxWuPw/D ljUSS7fl11M2nCWKNHa393cBzmgxxn7t7ESI= X-Received: by 2002:ac5:c814:0:b0:5bd:9b95:d637 with SMTP id 71dfb90a1353d-5bdbedcf783mr411333e0c.3.1782824243743; Tue, 30 Jun 2026 05:57:23 -0700 (PDT) X-Received: by 2002:ac5:c814:0:b0:5bd:9b95:d637 with SMTP id 71dfb90a1353d-5bdbedcf783mr411329e0c.3.1782824243293; Tue, 30 Jun 2026 05:57:23 -0700 (PDT) Received: from [192.168.120.170] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6987c3a3ec9sm1170596a12.1.2026.06.30.05.57.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jun 2026 05:57:22 -0700 (PDT) Message-ID: Date: Tue, 30 Jun 2026 14:57:19 +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 v3 14/15] arm64: dts: qcom: agatti: Assigned clock rate for CAMSS AXI To: Loic Poulain , Bryan O'Donoghue , Vladimir Zapolskiy , Mauro Carvalho Chehab , Kees Cook , "Gustavo A. R. Silva" , Bryan O'Donoghue , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, devicetree@vger.kernel.org, laurent.pinchart@ideasonboard.com, kieran.bingham@ideasonboard.com, johannes.goede@oss.qualcomm.com References: <20260508-camss-isp-ope-v3-0-bb1055274603@oss.qualcomm.com> <20260508-camss-isp-ope-v3-14-bb1055274603@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: Q0ytByMKTEZnTfk41UDd0B1iZuzlLhNb X-Authority-Analysis: v=2.4 cv=AtDeGu9P c=1 sm=1 tr=0 ts=6a43bd34 cx=c_pps a=JIY1xp/sjQ9K5JH4t62bdg==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=jiSQzDTAzoC-fvH6LVUA:9 a=QEXdDO2ut3YA:10 a=zZCYzV9kfG8A:10 a=tNoRWFLymzeba-QzToBc:22 X-Proofpoint-ORIG-GUID: Q0ytByMKTEZnTfk41UDd0B1iZuzlLhNb X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjMwMDEyMCBTYWx0ZWRfX2o7rzjcGx27F 2Ox/xZOIJRFeMjnplgy0fK9SNz9hZybGZ6NotaQQcKiMn3HQKxbj+PV4i9mVuPHXJ4CN87VpvsG Xn8fYSCrCWhxgZoFzKPta1AXgDpVuz2MkEyslEI/ilsJ01gOQsjePuyQ4uo5QmSDkc5YAd/9vHK ynJMhHz0RD/KFx7sQ/rMUokDyVVi2KRIlbiyLaKljMDKmAAo6cmVSNwSbq95T0sFZxA2Es4ESI6 Bssw0hp6Uc7FE7FDMNIOakuUi9qdtyu64E2ZCJ4h1yHPJGBQiRf6O30JkmB3bVN5TbV5i7eHkOX Fa8ZxoAd6iLBeJ5KGkEN1+dJvoOETw0U7R1xX/+LAi1aeDYdvv50NlH/MCzbKUVa7KtiJbV5HWk f3Qkw3E24Eb6R5ZLaBaE9fxqVZMA1/yE+cMNnM3Mw++nsL5095Zzg0ot4AvrX/xxgQ2sYJC7SH0 2YbFeAVV2xg4K+C9OHA== X-Proofpoint-Spam-Info: AW1haW4tMjYwNjMwMDEyMCBTYWx0ZWRfX5Qexw0Gh3ZlZ d76etyyBYBKn5vm2pwcfi5iDQaiDzlB5gDnc3KJTnscsEokKrwHalGbJKLyaVRkf/WwmXcJafq+ /ecF85UnGLgPAX2RSDpmjhRizwSfhUE= 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-30_03,2026-06-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 impostorscore=0 suspectscore=0 priorityscore=1501 adultscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606300120 On 6/30/26 2:56 PM, Konrad Dybcio wrote: > On 5/8/26 12:49 AM, Loic Poulain wrote: >> On Agatti, the CAMSS AXI clock is not managed by the interconnect >> and defaults to its lowest rate (19.2 MHz), which is insufficient >> and leads to throttling of CAMSS-related traffic. >> >> Set the CAMSS AXI clock to a suitable operating point by assigning >> it to its nominal frequency (300 MHz) as defined by the specification. >> This ensures correct and stable operation while leaving room for >> future dynamic scaling support in the driver. > > Now that I think about it, since the clock is already consumed by > the driver, can we just put a set_rate in there? > > This will avoid introducing a point in time where the DT has a > suboptimal (power-wise) floor mandated regardless of what the driver > does What I just said does not quite match reality The ultimate solution is going to involve some aggregation and then a set_rate. We can just hardcode the set_rate today instead, I think Konrad