Re: [PATCH v2 1/4] dt-bindings: media: csi2dc: add bindings for microchip csi2dc

From: Sakari Ailus
Date: Thu Aug 13 2020 - 18:47:07 EST


Hi Eugen,

On Fri, Jul 03, 2020 at 10:44:13AM +0300, Eugen Hristev wrote:
> Add bindings documentation for microchip CSI2 Demultiplexer controller.

...

> + port@1:
> + type: object
> + description:
> + Output port node, single endpoint, describing the output pad.
> +
> + properties:
> + '#address-cells':
> + const: 1
> +
> + '#size-cells':
> + const: 0
> +
> + reg:
> + const: 1
> +
> + patternProperties:
> + "^endpoint@[0-9a-f]$":
> + type: object
> +
> + properties:
> + reg:
> + enum: [0, 1, 2, 3]
> + description: virtual channel for the endpoint

Unless you need this right now I'd just hard code this to zero in the
driver. You can't have more endpoints for active devices anyway, can you?

--
Sakari Ailus