]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: media: et8ek8: Deprecate clock-frequency property
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 12 Aug 2025 21:45:10 +0000 (00:45 +0300)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 9 Sep 2025 13:59:17 +0000 (15:59 +0200)
Usage of the clock-frequency property for camera sensors is discouraged
in favour of using assigned-clock-rates (and assigned-clock-parents
where needed). Drop the property, and update the example accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Mehdi Djait <mehdi.djait@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt

index e80d5891b7eddf53e499c64446e0df41b03cfad5..8d8e40c5687283d2f582895542cc9b765983d025 100644 (file)
@@ -13,9 +13,6 @@ Mandatory properties
 - reg: I2C address (0x3e, or an alternative address)
 - vana-supply: Analogue voltage supply (VANA), 2.8 volts
 - clocks: External clock to the sensor
-- clock-frequency: Frequency of the external clock to the sensor. Camera
-  driver will set this frequency on the external clock. The clock frequency is
-  a pre-determined frequency known to be suitable to the board.
 - reset-gpios: XSHUTDOWN GPIO. The XSHUTDOWN signal is active low. The sensor
   is in hardware standby mode when the signal is in the low state.
 
@@ -43,8 +40,11 @@ Example
                compatible = "toshiba,et8ek8";
                reg = <0x3e>;
                vana-supply = <&vaux4>;
+
                clocks = <&isp 0>;
-               clock-frequency = <9600000>;
+               assigned-clocks = <&isp 0>;
+               assigned-clock-rates = <9600000>;
+
                reset-gpio = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 */
                port {
                        csi_cam1: endpoint {