From nobody Tue Apr 7 18:48:42 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 C7647426EBD for ; Thu, 26 Feb 2026 18:18:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772129894; cv=none; b=c4m/215iaX3mDiDLXhOakFgx5vPxknssuZiEhYcXQ4WKxrVWee/kMf0b3ClCFjGEDvNIBoLfLSdXfKpMakAdLogWArdtDgKMfOuv+JVvFt3DJjx/Sl7psC/XeXe1Zt8T1QWz/RhO33Q7ZulrTyW+lqv++ijqsw6I0TnxQjO2Svw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772129894; c=relaxed/simple; bh=EKn4D9pfsoVqno50Wtt27Q3vdRSw/o5+RFfqCp9TomM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=a7T8hOWHpxsfzS/feesVPEBN3WWr5hNJHBbix0G9wvGX6SVefz8xaBVxrq/7sUvAfrEI7tOOtxcpDp7NV68E0xe0ycLtdJyBKZgN7EJh75aF1QhOeSf0Bp2Lb3k/jqy8TJCD40/Y18KK3tut3mmCnLP6SJhzVFz5lUH1Cy07KcU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=gqgCwhjU; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=pQrubWb+; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="gqgCwhjU"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="pQrubWb+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1772129890; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R8/8h7E8+kTx8XExpctGhWPiJ0TZXQbqGj0doBuTluE=; b=gqgCwhjUBfEaLLTbBK+32B6lxt7UophBJNJ0IHIPpgFfhD/Yq+SKPf6/G1wJjHU1sS11sH KoL76qK/TaEs4XxnDrggTz0W+timy1Hs4RvUU07G1lfzKicojEsGgAJGFCl8szdDMWG8+H w+Fhw1OICiAOGZf5Y6Kk+ZRwda3UVTs= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-460-nqXkA1w_OcGHZQ60xYiKFw-1; Thu, 26 Feb 2026 13:18:09 -0500 X-MC-Unique: nqXkA1w_OcGHZQ60xYiKFw-1 X-Mimecast-MFC-AGG-ID: nqXkA1w_OcGHZQ60xYiKFw_1772129889 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-899b08be91cso150979386d6.0 for ; Thu, 26 Feb 2026 10:18:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1772129889; x=1772734689; 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=R8/8h7E8+kTx8XExpctGhWPiJ0TZXQbqGj0doBuTluE=; b=pQrubWb+5jWEM5aYtJOrfuSBBVKf6uGuJrO9aYVUr3Y1jyR268vNVQRtkeCXjA8wEb kQvpRofLlDkvyMHxHD8OTpPaMfSfMoSuVepWWVx4cV9g9vHD7DdN7fA0n8HTXx0h3EEf GyRMi03piGMRPpz3wzgKO2lWwHlSEpRJ0FiPup23NBLp4gmJ9LhQ77SAzh0fleMljGtd ZEcwzTBg3uF0uXuHVX5rUojsd4e+W6CyNukv8UcGOGAQLaWISk/+bXAAZtXz3pds8G1r FUax7il4PODzodK3JvAKPbaD/DfhWk4+T5IiSbH5RBSuoHFopu/MPLWjC5tNx1gptnyz cTrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772129889; x=1772734689; 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=R8/8h7E8+kTx8XExpctGhWPiJ0TZXQbqGj0doBuTluE=; b=JCzvpXdNLwc8w5fUx8LngBKZ/Ftp59sZtFGHeTcKdbzVLDk6MIbjPqE5lesQGC2YhC JxRJ6Df3c4DXMjwMoKT98ylHuT9MYWMv2rHNlL3ETLdN+BUqaEUp4nZuysRXh1lhvU5k vmHistsbdQcxCPXT41N26GMGF/5HqJIFv+dWXyB33KUxYudFxX4nnE17cfBm5ztXIoTK FVQeeFKutgKDizludikxKW+byueLaTd1yyd9Udjcl792FZju3g/cI++ETeBgEKJBr/K1 EPkNmo3+dKsU80+/9kxhOJE30Vh8U1a2AlWSWVB7wq+ik78oVusLpLa/vmJQ022/XOK5 Wogw== X-Forwarded-Encrypted: i=1; AJvYcCV9R1PGYEpEQmyAP7YQ8U/aJhttYJAG5TVYrVIzI5hS4il4DtKJQPJejgJ3JsHROSYSmKEvgPCiW64FNiM=@vger.kernel.org X-Gm-Message-State: AOJu0Yxu0c2lFxOwlxv8vxoIkJepeWT+k/XHhoTTZI0rDHZY9TPf5VNu h6PbevJerpR0aOx2q7GqksEqHfQeh8GlNlRtV+4PLqgwUHiDB7nv+kHVZvjiNQkw+7boY68K3XF ep4HPxjVFgwsw3V9+9ae9f/xCWouR7y2EuMkZTf5LIhXvnuSj+WExCr2NyrcHFcLXKg== X-Gm-Gg: ATEYQzy6Zkr3WvzgIhPLT6ewRQNONsmwnVfKBAKF7dTIhMjiBOartPMCpcTA4WFryj2 ISzxuxPS08GCKe5qgYuqiuX/IdIYmzOxxeGaSPKBP35pJOrnACZFkWroUfCqeDSK3Rtww9wnLqb o2Aq1JqURqxbcHQP49L2UFHVRZ93LO2AXuul9RYLqnp68ElxVMvyMj6JX8D4DmtkuYYpMWd5UK8 MykkLBvl0XvbFygzlVk50RzpV+gOX6EI23FHZ/f9Bxf0iwQctJUsRzdaYwHTp+88H/dcaPRsP5U 56YsXIGB2+zcccpq/rcGXedHGQNFd0emz8SXzRoqFl7mD45coriEtcYiTJ3Hnhs5ZEKGZSvhza3 hgmsoy+rJoc5TZjhcHbdrgYHambS7qIQNfFeKXyryAw0GndcNul9vQlTps0WI X-Received: by 2002:a05:620a:1929:b0:8c7:1119:2994 with SMTP id af79cd13be357-8cbc11c90edmr372520185a.64.1772129888695; Thu, 26 Feb 2026 10:18:08 -0800 (PST) X-Received: by 2002:a05:620a:1929:b0:8c7:1119:2994 with SMTP id af79cd13be357-8cbc11c90edmr372514385a.64.1772129888155; Thu, 26 Feb 2026 10:18:08 -0800 (PST) Received: from [192.168.1.3] (c-73-183-52-120.hsd1.pa.comcast.net. [73.183.52.120]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8cbbf717f2bsm247046685a.35.2026.02.26.10.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Feb 2026 10:18:07 -0800 (PST) From: Brian Masney Date: Thu, 26 Feb 2026 13:16:56 -0500 Subject: [PATCH 12/13] clk: samsung: acpm: drop determine_rate op and use CLK_ROUNDING_FW_MANAGED flag 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: quoted-printable Message-Id: <20260226-clk-det-rate-fw-managed-v1-12-4421dd2f6dc6@redhat.com> References: <20260226-clk-det-rate-fw-managed-v1-0-4421dd2f6dc6@redhat.com> In-Reply-To: <20260226-clk-det-rate-fw-managed-v1-0-4421dd2f6dc6@redhat.com> To: Michael Turquette , Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Brian Masney , Tudor Ambarus , Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , linux-samsung-soc@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2091; i=bmasney@redhat.com; s=20250903; h=from:subject:message-id; bh=EKn4D9pfsoVqno50Wtt27Q3vdRSw/o5+RFfqCp9TomM=; b=owGbwMvMwCW2/dJd9di6A+2Mp9WSGDIX9JnE56s1Tph83jdWa1ac1Xd1ndm6PdfP9a954bFZU u7qtmrljlIWBjEuBlkxRZYluUYFEamrbO/d0WSBmcPKBDKEgYtTACYyk4Xhn1mY9srEzJmn5rw2 sTu028dALKgiO9zoj86bnu7Itz0FLgx/hVjYW249tN4UzXhUxVZ7JXeVc79zU9+1uvMnjU3v3rF jBAA= X-Developer-Key: i=bmasney@redhat.com; a=openpgp; fpr=A46D32705865AA3DDEDC2904B7D2DD275D7EC087 This clk driver has a noop determine_rate clk op. Drop this empty function, and enable the CLK_ROUNDING_FW_MANAGED flag. Signed-off-by: Brian Masney Reviewed-by: Krzysztof Kozlowski --- To: Tudor Ambarus To: Krzysztof Kozlowski To: Sylwester Nawrocki To: Chanwoo Choi To: Michael Turquette To: Stephen Boyd Cc: Alim Akhtar Cc: linux-kernel@vger.kernel.org Cc: linux-samsung-soc@vger.kernel.org Cc: linux-clk@vger.kernel.org --- drivers/clk/samsung/clk-acpm.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/clk/samsung/clk-acpm.c b/drivers/clk/samsung/clk-acpm.c index b90809ce3f882c489114c9d7299417d7fe373749..e2dffbfcdf221e31a4302074475= a42481d6a829b 100644 --- a/drivers/clk/samsung/clk-acpm.c +++ b/drivers/clk/samsung/clk-acpm.c @@ -72,18 +72,6 @@ static unsigned long acpm_clk_recalc_rate(struct clk_hw = *hw, clk->mbox_chan_id, clk->id); } =20 -static int acpm_clk_determine_rate(struct clk_hw *hw, - struct clk_rate_request *req) -{ - /* - * We can't figure out what rate it will be, so just return the - * rate back to the caller. acpm_clk_recalc_rate() will be called - * after the rate is set and we'll know what rate the clock is - * running at then. - */ - return 0; -} - static int acpm_clk_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate) { @@ -95,7 +83,6 @@ static int acpm_clk_set_rate(struct clk_hw *hw, unsigned = long rate, =20 static const struct clk_ops acpm_clk_ops =3D { .recalc_rate =3D acpm_clk_recalc_rate, - .determine_rate =3D acpm_clk_determine_rate, .set_rate =3D acpm_clk_set_rate, }; =20 @@ -106,6 +93,7 @@ static int acpm_clk_register(struct device *dev, struct = acpm_clk *aclk, =20 init.name =3D name; init.ops =3D &acpm_clk_ops; + init.flags =3D CLK_ROUNDING_FW_MANAGED; aclk->hw.init =3D &init; =20 return devm_clk_hw_register(dev, &aclk->hw); --=20 2.53.0