Re: [PATCH 2/2] media: i2c: Add driver for Aptina MT9V111

From: Sakari Ailus
Date: Tue Jul 24 2018 - 09:23:56 EST


Hi Jacopo,

On Tue, Jul 24, 2018 at 03:08:45PM +0200, jacopo mondi wrote:
> > > diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
> > > index 341452f..0bd867d 100644
> > > --- a/drivers/media/i2c/Kconfig
> > > +++ b/drivers/media/i2c/Kconfig
> > > @@ -841,6 +841,18 @@ config VIDEO_MT9V032
> > > This is a Video4Linux2 sensor-level driver for the Micron
> > > MT9V032 752x480 CMOS sensor.
> > >
> > > +config VIDEO_MT9V111
> > > + tristate "Aptina MT9V111 sensor support"
> > > + depends on I2C && VIDEO_V4L2
> > > + depends on MEDIA_CAMERA_SUPPORT
> > > + depends on OF
> >
> > Why OF? I see no effective OF dependencies in the driver.
> >
>
> Isn't the driver probing through OF?

It may, but the driver is otherwise not technically limited to OF. ACPI
could be used as well, for instance.

>
> > > + help
> > > + This is a Video4Linux2 sensor-level driver for the Aptina/Micron
>
> I'll change sensor-level to sensor, has you've been doing lately on
> all other Kconfig entries

Ack.

--
Sakari Ailus
e-mail: sakari.ailus@xxxxxx