Re: [PATCH v3 2/2] v4l: mt9v032: Add OF support

2015-03-18 Thread Sakari Ailus
Hi Laurent, On Wed, Mar 18, 2015 at 03:32:28PM +0200, Laurent Pinchart wrote: ... > > > @@ -876,10 +879,59 @@ static const struct regmap_config > > > mt9v032_regmap_config = {> > > > * Driver initialization and probing > > > */ > > > > > > +static struct mt9v032_platform_data * > > > +mt9v03

Re: [PATCH v3 2/2] v4l: mt9v032: Add OF support

2015-03-18 Thread Laurent Pinchart
Hi Sakari, On Sunday 15 March 2015 02:21:07 Sakari Ailus wrote: > On Sat, Mar 14, 2015 at 04:57:37PM +0200, Laurent Pinchart wrote: > ... > > > diff --git a/Documentation/devicetree/bindings/media/i2c/mt9v032.txt > > b/Documentation/devicetree/bindings/media/i2c/mt9v032.txt new file mode > > 1006

Re: [PATCH v3 2/2] v4l: mt9v032: Add OF support

2015-03-14 Thread Sakari Ailus
Hi Laurent, On Sat, Mar 14, 2015 at 04:57:37PM +0200, Laurent Pinchart wrote: ... > diff --git a/Documentation/devicetree/bindings/media/i2c/mt9v032.txt > b/Documentation/devicetree/bindings/media/i2c/mt9v032.txt > new file mode 100644 > index 000..68b134e > --- /dev/null > +++ b/Documentatio

[PATCH v3 2/2] v4l: mt9v032: Add OF support

2015-03-14 Thread Laurent Pinchart
Parse DT properties into a platform data structure when a DT node is available. Signed-off-by: Laurent Pinchart --- Changes since v2: - Use of_graph_get_next_endpoint() Changes since v1: - Add MT9V02[24] compatible strings - Prefix all compatible strings with "aptina," - Use "link-frequencie