From mboxrd@z Thu Jan 1 00:00:00 1970 From: gcembed@gmail.com (=?UTF-8?B?R2HDq3RhbiBDYXJsaWVy?=) Date: Wed, 05 Sep 2012 20:51:10 +0200 Subject: [PATCH] ARM : i.MX27 : split code for allocation of ressources of camera and eMMA In-Reply-To: References: <1346763398-13536-1-git-send-email-gcembed@gmail.com> <5047013E.30508@gmail.com> <50471187.3040809@gmail.com> <50471CEE.60606@gmail.com> <504769CF.2070904@gmail.com> <504774B7.8090007@gmail.com> Message-ID: <50479F1E.9060403@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, On 09/05/2012 08:20 PM, Fabio Estevam wrote: > On Wed, Sep 5, 2012 at 12:50 PM, Ga?tan Carlier wrote: > >> I also notice a difference between previous release. Before, if CMOS was not >> scanned on I2C, soc-camera failed to init. >> With this release, soc-camera driver loads and create dev node even when >> nothing is connected on I2C bus. > > Sylwester suggested me this patch and it fixed the issue: > http://git.linuxtv.org/snawrocki/media.git/commitdiff/458b9b5ab8cb970887c9d1f1fddf88399b2d9ef2 > > Now ov2640 probes correctly on mx31pdk, but on mx27pdk I have: > > soc-camera-pdrv soc-camera-pdrv.0: Probing soc-camera-pdrv.0 > mx2-camera mx2-camera.0: Camera driver attached to camera 0 > ov2640 0-0030: Product ID error fb:fb > mx2-camera mx2-camera.0: Camera driver detached from camera 0 > mx2-camera mx2-camera.0: MX2 Camera (CSI) driver probed, clock > frequency: 66500000 > I notice that before I damaged my ov2640 camera. > This works fine in 3.4.10 and I suspect this problem is due to the imx > clock conversion as the csi clock frequency looks incorrect. This is maybe related to the problem that I have already noticed here : http://mailman.alsa-project.org/pipermail/alsa-devel/2012-August/054594.html If MMC is disabled, Sound and coda (not sure anymore, I will check it tomorrow) don't work correctly. > > Javier, > > Can you get your camera working on visstrim board using linux-next or > 3.6-rc4? Any patches I am missing? > > Regards, > > Fabio Estevam > Regards, Ga?tan Carlier.