From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 10FEE20FAA4; Mon, 11 Aug 2025 23:27:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754954848; cv=none; b=Ci0oFfhSKFY0VeH0N3LFtMCUtHZlN9Wo6X9z9KPlvxV53OpmLUgV87PnWhouJMGOdH/owK48OvGWoGgT4KgycDwMsvbVUvcp+gGfNNeG1d70sQHnVpE9n2VW8UBKammWh+QEV91LSPy0mkLxwrwN8ZdOEymv/pIbszC30ZVmeho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754954848; c=relaxed/simple; bh=4F0GRrehYPOcCThNRJA3iC3eYSb/ULzVTrykDE/yncE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qPnITE7pN1s//qaWdt+Sfdf1D6nebrk/fiATZ2L4nvMUlpp+k8SGbL6Q35k2pKFIedkC8hYzdsdZvoCZtdzyTc89roBQphyvADHu7kVfD1OxZSYf5OXHQeOkKtma5NoEi7i7m7mbQDnRHMurE0CBMvEpvrthx/cy9wlcNyn2ELs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=S48kvZrX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="S48kvZrX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22BC9C4CEF7; Mon, 11 Aug 2025 23:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1754954847; bh=4F0GRrehYPOcCThNRJA3iC3eYSb/ULzVTrykDE/yncE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S48kvZrXP9VG4CTt7zBeg/XgN0GTF0GdFwM4hjSAC9fJOFSMSEMM6GSLa/sj1MXBT BrXJnP6polHMUDD1GFXtHQ7LPx5df1S73bSjNUYxKOUcwrbU07tn05FVm5uXGiiwtz rFXk9sqdkIOhbj60mhNMpHdU4XiJoSMiOtEnRDENIui2baifWG4XayjC+1ljtbZJB6 6EREINkAwoY5slez1UqMiBrcVDTtiBECIuKEg6nsdqhsfSIdAxZ0w5GACJVe4WlKtV bivlYiUkBOWRLjJA2M+IuT7ke34uVXbmnF7Eh7ZqjGBL4Qzps/G9DlWUJYoadCdKlH oWccBbYIg68Lg== From: Bjorn Andersson To: linux-media@vger.kernel.org, Laurent Pinchart Cc: Sakari Ailus , Mehdi Djait , Alim Akhtar , =?UTF-8?q?Andr=C3=A9=20Apitzsch?= , Andrzej Hajda , Arec Kao , Benjamin Mugnier , Bingbu Cao , Bryan O'Donoghue , Bryan O'Donoghue , Conor Dooley , Daniel Scally , Dongcheng Yan , Dongchun Zhu , Fabio Estevam , Geert Uytterhoeven , Hans de Goede , Hans Verkuil , Hao Yao , Heimir Thor Sverrisson , Jacopo Mondi , Jason Chen , Jimmy Su , Jingjing Xiong , Jonas Karlman , Konrad Dybcio , Krzysztof Kozlowski , Lad Prabhakar , Leon Luo , Liam Girdwood , Magnus Damm , Manivannan Sadhasivam , Mark Brown , Matthew Majewski , Matthias Fend , Mikhail Rudenko , Nicolas Dufresne , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Pavel Machek , Pengutronix Kernel Team , Ricardo Ribalda , Rob Herring , Sascha Hauer , Shawn Guo , Shunqian Zheng , Sylvain Petinot , Sylwester Nawrocki , Tarang Raval , Tianshu Qiu , Todor Tomov , Tomi Valkeinen , Tony Lindgren , Zhi Mao , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: Re: (subset) [PATCH 00/72] media: i2c: Reduce cargo-cult Date: Mon, 11 Aug 2025 18:27:01 -0500 Message-ID: <175495482477.157244.17354544707184168458.b4-ty@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250710174808.5361-1-laurent.pinchart@ideasonboard.com> References: <20250710174808.5361-1-laurent.pinchart@ideasonboard.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Thu, 10 Jul 2025 20:46:56 +0300, Laurent Pinchart wrote: > This patch series build on top of Mehdi's introduction of the > devm_v4l2_sensor_clk_get() helper (see [1]) to drastically reduce > cargo-cult in camera sensor drivers. > > A large number of camera sensor drivers directly use the > "clock-frequency" property to retrieve the effective or desired external > clock rate. This is standard behaviour on ACPI platforms that don't > implement MIPI DisCo for Imaging, but usage of the property has leaked > to OF-based platforms, due to a combination of historical reasons (using > "clock-frequency" was initially considered right until before the > introduction of "assigned-clock-rates") and plain cargo-cult. > > [...] Applied, thanks! [12/72] arm64: dts: qcom: sdm845-db845c-navigation-mezzanine: Replace clock-frequency in camera sensor node commit: 5433560caa5e7e677a8d4310bbec08312be765b4 Best regards, -- Bjorn Andersson