]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: media: qcom,x1e80100-camss: Add optional bus-type property
authorVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Fri, 2 May 2025 20:41:41 +0000 (23:41 +0300)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 3 Jul 2025 09:02:45 +0000 (11:02 +0200)
Since CSIPHY IP on modern Qualcomm SoCs supports D-PHY and C-PHY
interfaces, it might be necessary to specify it explicitly for some
particular devices.

Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml

index 680f3f5141322c0c65d053b550a0119e58e55242..2e7455bd75ecc935f756339eace9da1f3e99dd8d 100644 (file)
@@ -153,6 +153,11 @@ properties:
                 minItems: 1
                 maxItems: 4
 
+              bus-type:
+                enum:
+                  - 1 # MEDIA_BUS_TYPE_CSI2_CPHY
+                  - 4 # MEDIA_BUS_TYPE_CSI2_DPHY
+
             required:
               - clock-lanes
               - data-lanes