From: Mehdi Djait <mehdi.djait@linux.intel.com>
To: sakari.ailus@linux.intel.com, laurent.pinchart@ideasonboard.com
Cc: jacopo.mondi@ideasonboard.com, hverkuil@xs4all.nl,
kieran.bingham@ideasonboard.com, mchehab@kernel.org,
hdegoede@redhat.com, arnd@arndb.de, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org,
Mehdi Djait <mehdi.djait@linux.intel.com>
Subject: [PATCH] media: i2c: Kconfig: Select COMMON_CLK for ACPI-based systems
Date: Tue, 8 Jul 2025 18:16:37 +0200 [thread overview]
Message-ID: <20250708161637.227111-1-mehdi.djait@linux.intel.com> (raw)
ACPI-based systems are required to create and register a fixed rate clock
using the new v4l2 helper devm_v4l2_sensor_clk_get() that uses the
common clk framework.
Ensure that COMMON_CLK is selected.
Signed-off-by: Mehdi Djait <mehdi.djait@linux.intel.com>
---
drivers/media/i2c/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index e68202954a8f..f974a0e0dcec 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -31,6 +31,7 @@ menuconfig VIDEO_CAMERA_SENSOR
select MEDIA_CONTROLLER
select V4L2_FWNODE
select VIDEO_V4L2_SUBDEV_API
+ select COMMON_CLK if ACPI && !HAVE_LEGACY_CLK
default y
if VIDEO_CAMERA_SENSOR
--
2.49.0
next reply other threads:[~2025-07-08 16:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-08 16:16 Mehdi Djait [this message]
2025-07-08 16:28 ` Arnd Bergmann
2025-07-09 7:48 ` Mehdi Djait
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250708161637.227111-1-mehdi.djait@linux.intel.com \
--to=mehdi.djait@linux.intel.com \
--cc=arnd@arndb.de \
--cc=hdegoede@redhat.com \
--cc=hverkuil@xs4all.nl \
--cc=jacopo.mondi@ideasonboard.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=sakari.ailus@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®