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 C0140426680 for ; Tue, 30 Jun 2026 12:56:28 +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=1782824189; cv=none; b=SRRPfpDM5t7NUabrxEDfUQNig1p6atRWEPWdlV+JnycVDVCVsMuB5vlmNwNCeQ3PG4Hbx+dxaSfFomW1pouKkUeUZAJKsWctaOkRDWCOOtRbGmQoSx7ofNWQMEmC7u/sbZIg3VFinlniR9ab8YN6xIr4Zoszl0y8AetJVb3wz4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782824189; c=relaxed/simple; bh=3F+8SDZsklC3nLXz2X/RShSvYjQzGV473ZoM0mdbbvo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QiRMT457pYeWmwx/LJrJ/4kFsCDVWply/jlraS7R3JSPC2gsrCkrcEinca9690aurgrgQFBMdDctSW1V9e9SY0E0QhkJAc/1OAQ6j256XmSHAm/Q8px/LDdlU2e/jgax8S6ZSiLmQMPoeV+DuYeD9BTTlurxWM1Y3UBDmHPoE7I= 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=YancLoET; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=aSV1N+HE; 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="YancLoET"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="aSV1N+HE" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65U9n4B71508664 for ; Tue, 30 Jun 2026 12:56:28 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= 87eEz/XRAjsptTgfnRt9issLsRCzcTh5AkZ60gdDDAM=; b=YancLoET95ViIOoq I/99vdkGYQlyCxpH5G8SeSnj7wp63gcW96xAaPjnW3WtYhF8JJ+4sjsqNsSOnIFK rMJ0v6dPwMsdXe9Mw8hd/PEMiM6d0k0RgJEvtQz5GJeTgrTYbaOAaTtDWxy4aVH+ X+Jgnd3z7HCfZMgiktY4mBiGlDq5O+tVk4+zw1IlVLd+QVhZSd81L8AjJLVPL9C+ MiUwfa/a8krvO3mk9Rb8A4eWbGvxcxoR9upcrHNwcWrP1nEmxhtIlRyCd5G6R4fx jwCpl9u6vNt5s92zaAmjl87nB5lCDiHo0UXL1dUdFJE8qOZmJkhky6SP5Xh4hzfY LuirkA== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f3y9j3kuy-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 30 Jun 2026 12:56:28 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-51c07313be5so1680511cf.2 for ; Tue, 30 Jun 2026 05:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782824187; x=1783428987; 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=87eEz/XRAjsptTgfnRt9issLsRCzcTh5AkZ60gdDDAM=; b=aSV1N+HEp7PWNFMySDZsCqVqZquSf/2mSdlb7WGHMSz0mzoPwai7/L1HFz7/mxk5Eh jPXciBC1lAx9Wqd+Sa/9/A5mzeL9tX/O7JjBqtu6dnpi2BckDkmXKWGzYrmNqQwX9naR FkST7WOoTwb3p8y+wt4SvPHTrB+UxveCgo+CVshU7W2PcHRiN67oIPT0XOgdrOEFr+K9 Ecw0XZ2OggABTGqlYeKf4rAuMCdmJbRgr4NseRm5OhX+h0g4R6YyuRz0gRkacd//dFHD +t//oblmCfk2HEW1/coC15GT8FSVv4+s5sOLRg0pM2qfXSjdIPjjbtP/TzEDvHbWoQIR 4UVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782824187; x=1783428987; 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=87eEz/XRAjsptTgfnRt9issLsRCzcTh5AkZ60gdDDAM=; b=Ssqn+rp2TqBLa1vb/P3gzKMD5vlJTeOQhMFW0V9NABVYF43AxrxFuKZFFFdVSBilIh CUxZApwc5eeCG7pCXLDVpTdBUwquFvKKoOuSRcSNXdEBLOO+oPCi1X6vuKlZR0QZdrWE InkDgl0qof9zY3GV8nDfH/FpcmwIXiKpDhPajzQJPMb3fMXzbx3XzufBLwpO32IlO9UR tOAPFdCRe/Uq+r6RDy25H0Zj2qCmZ3FxrygweYpPT4KAQbWGvCyTmvk7BcxK5S3Q8w+Y 9M/iHKr3xlEEMLcaUxQwjQmnGrYWZRfgTak3Gli9lT5eE9tiY8rWdl+sPFaypV9g/J97 612w== X-Forwarded-Encrypted: i=1; AFNElJ/DhE03Z06HjhJuqgCNBX2Br8KqmJvliGoD/K9GkpWNazDR8f2i4O+f3O3FVA5e3cmeCFoIVDjl2Unf8Cs=@vger.kernel.org X-Gm-Message-State: AOJu0YyVPu0JK/LbdNBX6NECcMhlETZIhojv1DjfoifasuFYTtcxc0Ws I4cEX7R9D0hp0Wq+yCu8Jy7IivdQf8kCZNY0NVzgeRZ3GpcwnorsPYWMCZPaLpurx4I9jFR3dpr 70lXQvOP9mSqK8aYfkVi/iYckpxiLl++YlVMrGJN4FHMkasz9PWfgbnqu9zIJi/2gxGc= X-Gm-Gg: AfdE7cnJaha0/pRgCLwE2wi56LcKXFThMT8ViEIbZm2EeorjjVlLAc550997t3mVxaM NWh93VuxjbXPW5n0KyR9LUhtBnLv7FaTT3D/779aAjPV9eGoFYWl/e68sotg98ZpaVvertuPqDh ICQKqaUATFPk6NOURAvA5GWwztEKYGpXSv51eg0YCvrMdj23bJGTuyM6OErpYa6TjA4ya43iMod cGmFrVg5XuYeQLTL/nx8LFHp1zgnAQ0HPv9vnzoxiArvhkgrVCK4coOli4rNyeJxx4IBIKw6Kii XcZNqDeOL9PUmz7Fv5py4C/3bNz73D8W5zVCKVnkPHQnQsZhzuDy4GuUAANb0mlmQAP5h+3eJoC V+nn6etcHkK63UA5WgphnlgjmwYYYusCaFKM= X-Received: by 2002:ac8:7e8e:0:b0:51c:d8f:d77a with SMTP id d75a77b69052e-51c1070ea79mr30011551cf.1.1782824186959; Tue, 30 Jun 2026 05:56:26 -0700 (PDT) X-Received: by 2002:ac8:7e8e:0:b0:51c:d8f:d77a with SMTP id d75a77b69052e-51c1070ea79mr30011191cf.1.1782824186413; Tue, 30 Jun 2026 05:56:26 -0700 (PDT) Received: from [192.168.120.170] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c1288f0cb7csm119984566b.37.2026.06.30.05.56.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jun 2026 05:56:25 -0700 (PDT) Message-ID: Date: Tue, 30 Jun 2026 14:56:22 +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: <20260508-camss-isp-ope-v3-14-bb1055274603@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: VgFSMfpRLWrthEovTXJuHeI_koF6egSr X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjMwMDEyMCBTYWx0ZWRfXxeM3fbWe1nkg orUPcVXRDaiFbkNskjDKMyvSrU9+z8Co5W1EkIM8rkOhoE/ODWa5eDIAFFsYHZgB+jqSa/4kMp0 tMDy1DkLO0o5dGmXzgG01dESc25pNm/y8lDP3ra0jD82hcd20uTRHqGGky8ijWU+cfAHfiM0LsN ouc37iUnWA/mlLIvkXgW3B+D1WinSGW/DilEN8nqPSBonlRKPCxaq70InsRrE162Y7/AT4A8EWc UfU+25X2CqH5ST48rHUyINEpTJ5cEpfD9hXTPQvZu7or4HnqMToG3yEnHnpEWPmAcvEoAmza+JK zXTTnZA1HHUR+BgPjSXJ5qAsbTBxv7qPMVHpF/Gm5ZTJfeXBz+rWZsNxMyqtFQ2HD1GKmlqg7cR 80SP4Q5eVLtkBW/ZrvUr9m/UdgktqNrWkOB1wZ6B9cUk6NF1zJKR5DL+xTSrO0RncmLSmB0/vKi eCDnqZh+JmyRgPNJ+nw== X-Proofpoint-GUID: VgFSMfpRLWrthEovTXJuHeI_koF6egSr X-Proofpoint-Spam-Info: AW1haW4tMjYwNjMwMDEyMCBTYWx0ZWRfXwz4yKFf5l+T+ TZCUaSUgmdxlUYRlIaddbB03fwCokBFKh6ArKIu//j91zDzXEhLzTmDbkzr7rAtxYtr4q72l+Qt Up3ULQiIMxTsenecmLQ3YTKeWRb4//8= X-Authority-Analysis: v=2.4 cv=SINykuvH c=1 sm=1 tr=0 ts=6a43bcfc cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=J8mUrxzbJwspoeTAiOAA:9 a=QEXdDO2ut3YA:10 a=zZCYzV9kfG8A:10 a=a_PwQJl-kcHnX1M80qC6:22 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 suspectscore=0 malwarescore=0 priorityscore=1501 spamscore=0 phishscore=0 clxscore=1015 bulkscore=0 lowpriorityscore=0 adultscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606300120 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 Konrad