Skip to contentSkip to conversation

V4L2 clock helper

GIT PULL Sakari Ailus 1 participant 1 message Aug 12, 2025 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi Hans, Mauro,

Here's the V4L2 clock helper and conversion of drivers to use it, for 6.18.

Please pull.

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

git://linuxtv.org/sailus/media_tree.git tags/v4l2-clk-helper-6.18

for you to fetch changes up to dee0ecc9eb7ccf7aa6c2e384f6fc8bd7ee252808:

media: i2c: ov2680: Use the v4l2 helper for obtaining the clock (2025-08-11 13:38:45 +0300)

----------------------------------------------------------------
V4L2 clock helper and driver conversion for 6.18

----------------------------------------------------------------
Mehdi Djait (49):
media: v4l2-common: Add a helper for obtaining the clock producer
media: i2c: Kconfig: Ensure a dependency on HAVE_CLK for VIDEO_CAMERA_SENSOR
Documentation: media: camera-sensor: Mention v4l2_devm_sensor_clk_get() for obtaining the clock
media: i2c: ar0521: Use the v4l2 helper for obtaining the clock
media: i2c: et8ek8: Use the v4l2 helper for obtaining the clock
media: i2c: gc05a2: Use the v4l2 helper for obtaining the clock
media: i2c: gc08a3: Use the v4l2 helper for obtaining the clock
media: i2c: gc2145: Use the v4l2 helper for obtaining the clock
media: i2c: hi846: Use the v4l2 helper for obtaining the clock
media: i2c: imx214: Use the v4l2 helper for obtaining the clock
media: i2c: imx219: Use the v4l2 helper for obtaining the clock
media: i2c: imx283: Use the v4l2 helper for obtaining the clock
media: i2c: imx290: Use the v4l2 helper for obtaining the clock
media: i2c: imx296: Use the v4l2 helper for obtaining the clock
media: i2c: imx334: Use the v4l2 helper for obtaining the clock
media: i2c: imx335: Use the v4l2 helper for obtaining the clock
media: i2c: imx412: Use the v4l2 helper for obtaining the clock
media: i2c: imx415: Use the v4l2 helper for obtaining the clock
media: i2c: mt9m001: Use the v4l2 helper for obtaining the clock
media: i2c: mt9m111: Use the v4l2 helper for obtaining the clock
media: i2c: mt9m114: Use the v4l2 helper for obtaining the clock
media: i2c: mt9p031: Use the v4l2 helper for obtaining the clock
media: i2c: mt9t112: Use the v4l2 helper for obtaining the clock
media: i2c: mt9v032: Use the v4l2 helper for obtaining the clock
media: i2c: mt9v111: Use the v4l2 helper for obtaining the clock
media: i2c: ov02a10: Use the v4l2 helper for obtaining the clock
media: i2c: ov2659: Use the v4l2 helper for obtaining the clock
media: i2c: ov2685: Use the v4l2 helper for obtaining the clock
media: i2c: ov5640: Use the v4l2 helper for obtaining the clock
media: i2c: ov5645: Use the v4l2 helper for obtaining the clock
media: i2c: ov5647: Use the v4l2 helper for obtaining the clock
media: i2c: ov5648: Use the v4l2 helper for obtaining the clock
media: i2c: ov5695: Use the v4l2 helper for obtaining the clock
media: i2c: ov64a40: Use the v4l2 helper for obtaining the clock
media: i2c: ov6650: Use the v4l2 helper for obtaining the clock
media: i2c: ov7740: Use the v4l2 helper for obtaining the clock
media: i2c: ov8856: Use the v4l2 helper for obtaining the clock
media: i2c: ov8858: Use the v4l2 helper for obtaining the clock
media: i2c: ov8865: Use the v4l2 helper for obtaining the clock
media: i2c: ov9282: Use the v4l2 helper for obtaining the clock
media: i2c: ov9640: Use the v4l2 helper for obtaining the clock
media: i2c: ov9650: Use the v4l2 helper for obtaining the clock
media: i2c: s5c73m3: Use the v4l2 helper for obtaining the clock
media: i2c: s5k5baf: Use the v4l2 helper for obtaining the clock
media: i2c: s5k6a3: Use the v4l2 helper for obtaining the clock
media: i2c: vd55g1: Use the v4l2 helper for obtaining the clock
media: i2c: vd56g3: Use the v4l2 helper for obtaining the clock
media: i2c: vgxy61: Use the v4l2 helper for obtaining the clock
media: i2c: ov2680: Use the v4l2 helper for obtaining the clock

 Documentation/driver-api/media/camera-sensor.rst | 24 +++++++----
 drivers/media/i2c/Kconfig                        |  2 +-
 drivers/media/i2c/ar0521.c                       |  9 ++--
 drivers/media/i2c/et8ek8/et8ek8_driver.c         |  9 ++--
 drivers/media/i2c/gc05a2.c                       |  2 +-
 drivers/media/i2c/gc08a3.c                       |  2 +-
 drivers/media/i2c/gc2145.c                       |  2 +-
 drivers/media/i2c/hi846.c                        | 11 +++--
 drivers/media/i2c/imx214.c                       |  2 +-
 drivers/media/i2c/imx219.c                       |  2 +-
 drivers/media/i2c/imx283.c                       |  5 +--
 drivers/media/i2c/imx290.c                       |  2 +-
 drivers/media/i2c/imx296.c                       |  2 +-
 drivers/media/i2c/imx334.c                       |  2 +-
 drivers/media/i2c/imx335.c                       |  9 ++--
 drivers/media/i2c/imx412.c                       |  9 ++--
 drivers/media/i2c/imx415.c                       |  2 +-
 drivers/media/i2c/mt9m001.c                      |  5 ++-
 drivers/media/i2c/mt9m111.c                      |  5 ++-
 drivers/media/i2c/mt9m114.c                      |  6 +--
 drivers/media/i2c/mt9p031.c                      |  5 ++-
 drivers/media/i2c/mt9t112.c                      | 11 +++--
 drivers/media/i2c/mt9v032.c                      |  5 ++-
 drivers/media/i2c/mt9v111.c                      |  5 ++-
 drivers/media/i2c/ov02a10.c                      |  2 +-
 drivers/media/i2c/ov2659.c                       |  5 ++-
 drivers/media/i2c/ov2680.c                       | 29 +------------
 drivers/media/i2c/ov2685.c                       | 10 ++---
 drivers/media/i2c/ov5640.c                       |  9 ++--
 drivers/media/i2c/ov5645.c                       |  2 +-
 drivers/media/i2c/ov5647.c                       |  9 ++--
 drivers/media/i2c/ov5648.c                       |  6 +--
 drivers/media/i2c/ov5695.c                       | 10 ++---
 drivers/media/i2c/ov64a40.c                      |  2 +-
 drivers/media/i2c/ov6650.c                       | 10 ++---
 drivers/media/i2c/ov7740.c                       | 11 ++---
 drivers/media/i2c/ov8856.c                       | 10 ++---
 drivers/media/i2c/ov8858.c                       |  2 +-
 drivers/media/i2c/ov8865.c                       | 36 +++-------------
 drivers/media/i2c/ov9282.c                       |  9 ++--
 drivers/media/i2c/ov9640.c                       |  5 ++-
 drivers/media/i2c/ov9650.c                       |  5 ++-
 drivers/media/i2c/s5c73m3/s5c73m3-core.c         |  6 ++-
 drivers/media/i2c/s5k5baf.c                      |  2 +-
 drivers/media/i2c/s5k6a3.c                       |  5 ++-
 drivers/media/i2c/vd55g1.c                       |  2 +-
 drivers/media/i2c/vd56g3.c                       |  2 +-
 drivers/media/i2c/vgxy61.c                       | 10 ++---
 drivers/media/v4l2-core/v4l2-common.c            | 52 ++++++++++++++++++++++++
 include/media/v4l2-common.h                      | 27 ++++++++++++
 50 files changed, 224 insertions(+), 192 deletions(-)
Signature · 3 lines
Kind regards,

Sakari Ailus