Re: [V2, 1/2] media: dt-bindings: media: i2c: Add bindings for ov8856

Rob Herring
2019-09-17T14:44:12Z

On Tue, Sep 17, 2019 at 03:02:06PM +0300, Sakari Ailus wrote:
> On Tue, Sep 10, 2019 at 08:37:43PM +0300, Andy Shevchenko wrote:
> > On Tue, Sep 10, 2019 at 09:04:45PM +0800, dongchun.zhu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org wrote:
> > > From: Dongchun Zhu <dongchun.zhu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
> > >
> > > This patch adds device tree bindings documentation for the ov8856 CMOS
> > > image sensor.
> >
> > New bindings in YAML, please.
>
> My understanding is text documents are still fine.

Schema are preferred, but still up to the subsystem for now.

> We don't have things like graph.txt or video-interfaces.txt in YAML yet
> either.

That doesn't really matter too much. You can assume common properties
will have a common schema and just define what's device specific. The
device specific bindings have to define 'port' or 'port@N' nodes.

Rob