Re: [PATCH v2 1/2] dt-bindings: media: i2c: Add os02g10 sensor
From: Krzysztof Kozlowski
Date: Wed Apr 15 2026 - 05:09:54 EST
On 14/04/2026 10:49, Elgin Perumbilly wrote:
> +
> + properties:
> + endpoint:
> + $ref: /schemas/media/video-interfaces.yaml#
> + unevaluatedProperties: false
> +
> + properties:
> + data-lanes:
> + items:
> + - const: 1
> + - const: 2
This looks completely fixed per model. If device cannot work with four
lanes, then you simply don't need this property. It's deducible from the
compatible.
> + required:
> + - data-lanes
> + - link-frequencies
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - avdd-supply
> + - dovdd-supply
> + - dvdd-supply
> + - port
Best regards,
Krzysztof