Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 50E5F566C4E for ; Tue, 22 Sep 2026 16:20:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790094017; cv=none; b=g9RRTeN7BlC6DsLOemJzwcrSXnUKyhu4Xlfkx2KPP3v3/bSjKKfSzVUXTZVUV7mqbBgCS4VOVqt12aeLmHKdrJwrP3TR1vmPjmcYlE5GsaGKQ6sz9gDgVqLKMmzqN46BtKJtxdF+KfwR3ATxdI92pI29Vk7VqCOOKTQYGat+i34= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790094017; c=relaxed/simple; bh=Fy2FGKlJsh14oN/DQe+8VGJqWoS6YNSbu/tqvoG2XtU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hVUa46eXTZA/O3EHeRuHaAoll0ztCwxboCZgpghMNF/0GWBcYDMIWUjohJ2G0a3Nm+Szfp6zFbDLMdi35JC+8OXq+vqqpGAjDxU2i0xUGD3FfSglvb+aU2YPs3/NSCHL5JS29X8R/mxPLV0VqmqvZNI9mx5Iu3E7nbyQI0Z66mU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=id3lR8ba; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="id3lR8ba" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23DA21F000FF; Tue, 22 Sep 2026 16:20:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1790094015; bh=YxyhnOqM/vZAJ21E2eyDBx8cvrIyUl0b1+tahYfTxzU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=id3lR8baHaX0++zJLa99Gzy/jJt/THFOxbOlV1qzMSSoTi4+bARd7prXOtu/DIaMq +hTL84+Ozrisl1Mt26wVHYRMqxd+WkuhJxqOHgZq11+38swBxNZQ4Md1Hb53H2f0FY 5FX9jPJR0AbQgAhnAuLiDvCIvDo2IdjoESWRm+DXPyiKctiTXTBZ7c4UBhKt3zc70r 8T7Bupjj+yQpRZEh8xOgNupknt4KXxRUA9i2OB5gwYdsbm9Yzp6ogj3IIkqp4nCVHM +JhgjTP8jjKziYUT4cdnUDH8vJ9lsmVmNOlADmMwqqOL6+jXGa6bPblje6Qbt2bqgi 8GGYlkBvRYxww== From: Sasha Levin To: stable@vger.kernel.org Cc: Bryan O'Donoghue , Vladimir Zapolskiy , Richard Acayan , Andi Shyti , Sasha Levin Subject: [PATCH 6.12.y 1/3] i2c: qcom-cci: Stop complaining about DT set clock rate Date: Tue, 22 Sep 2026 12:20:11 -0400 Message-ID: <20260922162013.3007836-1-sashal@kernel.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <2026092210-spookily-spirited-3697@gregkh> References: <2026092210-spookily-spirited-3697@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Bryan O'Donoghue [ Upstream commit 8284750a182937bf805f703311501730f02eb40e ] It is common practice in the downstream and upstream CCI dt to set CCI clock rates to 19.2 MHz. It appears to be fairly common for initial code to set the CCI clock rate to 37.5 MHz. Applying the widely used CCI clock rates from downstream ought not to cause warning messages in the upstream kernel where our general policy is to usually copy downstream hardware clock rates across the range of Qualcomm drivers. Drop the warning it is pervasive across CAMSS users but doesn't add any information or warrant any changes to the DT to align the DT clock rate to the bootloader clock rate. Signed-off-by: Bryan O'Donoghue Reviewed-by: Vladimir Zapolskiy Link: https://lore.kernel.org/linux-arm-msm/20240824115900.40702-1-bryan.odonoghue@linaro.org Signed-off-by: Richard Acayan Signed-off-by: Andi Shyti Stable-dep-of: 7362a1553eb0 ("i2c: qcom-cci: fix device_node refcount leak in cci_probe()/cci_remove()") Signed-off-by: Sasha Levin --- drivers/i2c/busses/i2c-qcom-cci.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/i2c/busses/i2c-qcom-cci.c b/drivers/i2c/busses/i2c-qcom-cci.c index 85de659bb3627..22fae6a5a9022 100644 --- a/drivers/i2c/busses/i2c-qcom-cci.c +++ b/drivers/i2c/busses/i2c-qcom-cci.c @@ -602,14 +602,6 @@ static int cci_probe(struct platform_device *pdev) } } - if (cci_clk_rate != cci->data->cci_clk_rate) { - /* cci clock set by the bootloader or via assigned clock rate - * in DT. - */ - dev_warn(dev, "Found %lu cci clk rate while %lu was expected\n", - cci_clk_rate, cci->data->cci_clk_rate); - } - ret = cci_enable_clocks(cci); if (ret < 0) return ret; -- 2.53.0