Commit 458492e8 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Hans Verkuil

media: dt-bindings: ov8856: decouple lanes and link frequency from driver

The data lanes and link frequency were set to match existing Linux driver
limitations, however bindings should be independent of chosen Linux
driver support.

Decouple these properties from the driver to match what is actually
supported by the hardware.

This also fixes DTS example:

  ov8856.example.dtb: camera@10: port:endpoint:link-frequencies:0: [360000000] is too short

Fixes: 066a94e2 ("media: dt-bindings: media: Use graph and video-interfaces schemas")
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 16be18d7
......@@ -67,19 +67,17 @@ properties:
properties:
data-lanes:
description: |-
The driver only supports four-lane operation.
items:
- const: 1
- const: 2
- const: 3
- const: 4
link-frequencies:
description: Frequencies listed are driver, not h/w limitations.
maxItems: 2
items:
enum: [ 360000000, 180000000 ]
oneOf:
- items:
- const: 1
- items:
- const: 1
- const: 2
- items:
- const: 1
- const: 2
- const: 3
- const: 4
required:
- link-frequencies
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment