Re: First pass at DT-probed mmp-camera
On Wed, Aug 29, 2012 at 2:22 PM, Martin Langhoff wrote: > We'll be probably qualifying siv120d for XO-4 production as well. How > do we handle this situation? > > So far, OFW didn't need to know which one was installed; the > mmp-camera driver was loading both ov7670 and siv120d. Can we do > something similar now with DT? OFW and the DT already knows. This just needs testing/tweaking in linux. Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: First pass at DT-probed mmp-camera
On Wed, Aug 29, 2012 at 1:59 PM, Daniel Drake wrote: > In the end it turns out it does make sense for the sensor (accessible > under /camera-i2c) and the camera (/camera) to be separate. > But Mitch identified the optimal DT layout where the sensor is defined > in the DT at /camera-i2c/image-sensor, which causes i2c-gpio to probe > the ov7670 driver directly. We'll be probably qualifying siv120d for XO-4 production as well. How do we handle this situation? So far, OFW didn't need to know which one was installed; the mmp-camera driver was loading both ov7670 and siv120d. Can we do something similar now with DT? cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect - OLPC - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: First pass at DT-probed mmp-camera
In the end it turns out it does make sense for the sensor (accessible under /camera-i2c) and the camera (/camera) to be separate. But Mitch identified the optimal DT layout where the sensor is defined in the DT at /camera-i2c/image-sensor, which causes i2c-gpio to probe the ov7670 driver directly. Pushed to arm-3.5 as f90ea58b3b94fa1597a548817d3c78de15ea8219 and the OFW bits are in OFW svn. More info in the commit message. It's working on XO-1.75 with ov7670. I'm not sure what the status of the isp island XO-4 code is; once that is done, this code should hopefully start working there. Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel