summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2020-09-29 14:51:29 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-12-02 15:51:46 +0100
commitaab402ea9b4827f6d8d4a7c58d7492124b493e02 (patch)
tree32f2724e3f9a0123d90ca159a45a3c95b69e30a6 /Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml
parent72051783cd736d82711fe6fd1df2b71a0d4d6e82 (diff)
media: dt-bindings: mipi-ccs: Add bus-type for C-PHY support
The bus-type property is required for C-PHY support. Add it, including values for CCP2 and CSI-2 D-PHY. Also require the bus-type property. Effectively all new sensors are MIPI D-PHY or C-PHY that cannot be told apart without the bus-type property. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml')
-rw-r--r--Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml b/Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml
index a386ee246956..1d90767a6196 100644
--- a/Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml
@@ -77,9 +77,17 @@ properties:
data-lanes:
minItems: 1
maxItems: 8
+ bus-type:
+ description: The type of the data bus.
+ oneOf:
+ - const: 1 # CSI-2 C-PHY
+ - const: 3 # CCP2
+ - const: 4 # CSI-2 D-PHY
+
required:
- link-frequencies
- data-lanes
+ - bus-type
required:
- compatible
@@ -112,6 +120,7 @@ examples:
remote-endpoint = <&csi2a_ep>;
link-frequencies = /bits/ 64 <199200000 210000000
499200000>;
+ bus-type = <4>;
};
};
};