Re: [V2, 2/2] media: i2c: Add DW9768 VCM driver

2019-09-07 Thread kbuild test robot
Hi, I love your patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [cannot apply to v5.3-rc7 next-20190904] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/do

Re: [V2, 2/2] media: i2c: Add DW9768 VCM driver

2019-09-05 Thread Andy Shevchenko
On Thu, Sep 05, 2019 at 12:57:34PM +0200, Javier Martinez Canillas wrote: > On 9/5/19 12:40 PM, Sakari Ailus wrote: > > On Thu, Sep 05, 2019 at 01:19:08PM +0300, Andy Shevchenko wrote: > >> On Thu, Sep 05, 2019 at 11:21:34AM +0300, Sakari Ailus wrote: > >>> On Thu, Sep 05, 2019 at 03:21:42PM +0800,

Re: [V2, 2/2] media: i2c: Add DW9768 VCM driver

2019-09-05 Thread Javier Martinez Canillas
On 9/5/19 12:40 PM, Sakari Ailus wrote: > On Thu, Sep 05, 2019 at 01:19:08PM +0300, Andy Shevchenko wrote: >> On Thu, Sep 05, 2019 at 11:21:34AM +0300, Sakari Ailus wrote: >>> On Thu, Sep 05, 2019 at 03:21:42PM +0800, dongchun@mediatek.com wrote: From: Dongchun Zhu >> +static const s

Re: [V2, 2/2] media: i2c: Add DW9768 VCM driver

2019-09-05 Thread Sakari Ailus
On Thu, Sep 05, 2019 at 01:19:08PM +0300, Andy Shevchenko wrote: > On Thu, Sep 05, 2019 at 11:21:34AM +0300, Sakari Ailus wrote: > > On Thu, Sep 05, 2019 at 03:21:42PM +0800, dongchun@mediatek.com wrote: > > > From: Dongchun Zhu > > > > +static const struct i2c_device_id dw9768_id_table[] = {

Re: [V2, 2/2] media: i2c: Add DW9768 VCM driver

2019-09-05 Thread Andy Shevchenko
On Thu, Sep 05, 2019 at 03:21:42PM +0800, dongchun@mediatek.com wrote: > From: Dongchun Zhu > > This patch adds a V4L2 sub-device driver for DW9768 lens voice coil, > and provides control to set the desired focus. > > The DW9768 is a 10 bit DAC with 100mA output current sink capability > fro

Re: [V2, 2/2] media: i2c: Add DW9768 VCM driver

2019-09-05 Thread Andy Shevchenko
On Thu, Sep 05, 2019 at 11:21:34AM +0300, Sakari Ailus wrote: > On Thu, Sep 05, 2019 at 03:21:42PM +0800, dongchun@mediatek.com wrote: > > From: Dongchun Zhu > > +static const struct i2c_device_id dw9768_id_table[] = { > > + { DW9768_NAME, 0 }, > > + { }, > > Could you drop the I²C ID ta

Re: [V2, 2/2] media: i2c: Add DW9768 VCM driver

2019-09-05 Thread Sakari Ailus
Hi Dongchun, Thanks for the update. A few comments below. On Thu, Sep 05, 2019 at 03:21:42PM +0800, dongchun@mediatek.com wrote: > From: Dongchun Zhu > > This patch adds a V4L2 sub-device driver for DW9768 lens voice coil, > and provides control to set the desired focus. > > The DW9768 is