]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: dt-bindings: mt9m114: Add slew-rate DT-binding
authorMathis Foerst <mathis.foerst@mt.com>
Thu, 22 May 2025 14:35:05 +0000 (16:35 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Mon, 30 Jun 2025 06:47:40 +0000 (08:47 +0200)
The MT9M114 supports the different slew rates (0 to 7) on the output pads.
At the moment, this is hardcoded to 7 (the fastest rate).
The user might want to change this values due to EMC requirements.

Add the 'slew-rate' property to the MT9M114 DT-bindings for selecting
the desired slew rate.

Signed-off-by: Mathis Foerst <mathis.foerst@mt.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Documentation/devicetree/bindings/media/i2c/onnn,mt9m114.yaml

index f6b87892068ac6989f82e1ee53bb795b307628ae..a89f740214f7503181737781c9bc254bedc12d1c 100644 (file)
@@ -70,6 +70,15 @@ properties:
           - bus-type
           - link-frequencies
 
+  slew-rate:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    description:
+      Slew rate ot the output pads DOUT[7:0], LINE_VALID, FRAME_VALID and
+      PIXCLK. Higher values imply steeper voltage-flanks on the pads.
+    minimum: 0
+    maximum: 7
+    default: 7
+
 required:
   - compatible
   - reg