[PATCH v1 02/55] Documentation: media: camera-sensor: Mention v4l2_devm_sensor_clk_get() for obtaining the clock
From: Mehdi Djait
Date: Thu Jun 19 2025 - 14:00:54 EST
Add the new v4l2 helper devm_v4l2_sensor_clk_get() to Documentation. the
helper works on both DT- and ACPI-based platforms to retrieve a
reference to the clock producer from firmware.
Signed-off-by: Mehdi Djait <mehdi.djait@xxxxxxxxxxxxxxx>
diff --git a/Documentation/driver-api/media/camera-sensor.rst b/Documentation/driver-api/media/camera-sensor.rst
index c290833165e6..c82c018a5f40 100644
--- a/Documentation/driver-api/media/camera-sensor.rst
+++ b/Documentation/driver-api/media/camera-sensor.rst
@@ -32,7 +32,8 @@ user.
ACPI
~~~~
-Read the ``clock-frequency`` _DSD property to denote the frequency. The driver
+Use ``devm_v4l2_sensor_clk_get()`` to get the clock. The function will read the
+``clock-frequency`` _DSD property to denote the frequency. The driver
can rely on this frequency being used.
Devicetree