[pre-rfc] focus and flash for Nokia N900 (was Re: v4l subdevs without big device was Re: drivers/media/i2c/adp1653.c: does not show as /dev/video* or v4l-subdev*)

2016-04-29 Thread Pavel Machek
Hi! > "5. DT Bindings for flash & lens controllers > > There are drivers that create their MC topology using the device tree > information, > which works great for entities that transport data, but how to detect entities > that don’t transport data such as flash devices, focusers, etc.? How can

Re: v4l subdevs without big device was Re: drivers/media/i2c/adp1653.c: does not show as /dev/video* or v4l-subdev*

2016-04-29 Thread Pavel Machek
Hi! > > > This seems to be mostly in line with what has been discussed in the > > > meeting, > > > except that the patches add a device specific property. Please ignore the > > > led patches in that tree for now (i.e. four patches on the top are the > > > relevant ones here). > > > > > > > I'm

Re: v4l subdevs without big device was Re: drivers/media/i2c/adp1653.c: does not show as /dev/video* or v4l-subdev*

2016-04-29 Thread Sakari Ailus
On Fri, Apr 29, 2016 at 01:05:46PM +0200, Pali Rohár wrote: > On Friday 29 April 2016 13:59:44 Sakari Ailus wrote: > > > pavel@amd:/data/l/linux-n900$ git fetch > > > git://git.retiisi.org.uk/~sailus/linux.git leds-as3645a:leds-as3645a > > > fatal: unable to connect to git.retiisi.org.uk: > > >

Re: v4l subdevs without big device was Re: drivers/media/i2c/adp1653.c: does not show as /dev/video* or v4l-subdev*

2016-04-29 Thread Pali Rohár
On Friday 29 April 2016 13:59:44 Sakari Ailus wrote: > > pavel@amd:/data/l/linux-n900$ git fetch > > git://git.retiisi.org.uk/~sailus/linux.git leds-as3645a:leds-as3645a > > fatal: unable to connect to git.retiisi.org.uk: > > git.retiisi.org.uk: Name or service not known > > > >

Re: v4l subdevs without big device was Re: drivers/media/i2c/adp1653.c: does not show as /dev/video* or v4l-subdev*

2016-04-29 Thread Sakari Ailus
Hi Pavel, On Fri, Apr 29, 2016 at 11:50:02AM +0200, Pavel Machek wrote: > Hi! > > > > > adp1653 registers itself as a subdev, but there's no device that > > > > register it as its part. > > > > > > > > (ad5820 driver seems to have the same problem). > > > > > > > > Is there example "dummy"

Re: v4l subdevs without big device was Re: drivers/media/i2c/adp1653.c: does not show as /dev/video* or v4l-subdev*

2016-04-29 Thread Pavel Machek
Hi! > > Warning: I'm no DT expert, so this is just a first attempt. > > > > Platform drivers (omap3isp) will have to add these controller devices to > > the list > > of subdevs to load asynchronously. > > I seem to have patches I haven't had time to push back then: > >

Re: v4l subdevs without big device was Re: drivers/media/i2c/adp1653.c: does not show as /dev/video* or v4l-subdev*

2016-04-29 Thread Pavel Machek
Hi! > > > adp1653 registers itself as a subdev, but there's no device that > > > register it as its part. > > > > > > (ad5820 driver seems to have the same problem). > > > > > > Is there example "dummy" device I could use, for sole purpose of > > > having these devices appear in /dev? They are

Re: v4l subdevs without big device was Re: drivers/media/i2c/adp1653.c: does not show as /dev/video* or v4l-subdev*

2016-04-29 Thread Sakari Ailus
Hi Hans and Pavel, On Fri, Apr 29, 2016 at 09:31:51AM +0200, Hans Verkuil wrote: > On 04/29/2016 09:15 AM, Pavel Machek wrote: > > Hi! > > > >> On n900, probe finishes ok (verified by adding printks), and the > >> device shows up in /sys, but I don't get /dev/video* or > >> /dev/v4l-subdev*. >

Re: v4l subdevs without big device was Re: drivers/media/i2c/adp1653.c: does not show as /dev/video* or v4l-subdev*

2016-04-29 Thread Hans Verkuil
On 04/29/2016 09:15 AM, Pavel Machek wrote: > Hi! > >> On n900, probe finishes ok (verified by adding printks), and the >> device shows up in /sys, but I don't get /dev/video* or >> /dev/v4l-subdev*. >> >> Other drivers (back and front camera) load ok, and actually work. Any >> idea what could

v4l subdevs without big device was Re: drivers/media/i2c/adp1653.c: does not show as /dev/video* or v4l-subdev*

2016-04-29 Thread Pavel Machek
Hi! > On n900, probe finishes ok (verified by adding printks), and the > device shows up in /sys, but I don't get /dev/video* or > /dev/v4l-subdev*. > > Other drivers (back and front camera) load ok, and actually work. Any > idea what could be wrong? Ok, so I guess I realized what is the