From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: omap3-isp : panic using previewer from V4L input Date: Wed, 15 May 2013 03:32:43 +0200 Message-ID: <1579245.NgheaxZSaI@avalon> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: Sender: linux-media-owner@vger.kernel.org To: jean-philippe francois Cc: linux-media , "linux-omap@vger.kernel.org" List-Id: linux-omap@vger.kernel.org Hi Jean-Philippe, On Tuesday 14 May 2013 11:29:39 jean-philippe francois wrote: > Hi Laurent, > > I have a beagle xm board, but no sensor board. Is it possible to have > the omap3-isp initialised ? Yes it is. You will just need to call omap3_init_camera() in your board code with a pointer to platform data that contain an empty list of subdevs. Something like static struct isp_v4l2_subdevs_group beagle_camera_subdevs[] = { { }, }; static struct isp_platform_data beagle_isp_platform_data = { .subdevs = beagle_camera_subdevs, }; static int __init beagle_camera_init(void) { if (!machine_is_omap3_beagle()) return 0; omap3_init_camera(&beagle_isp_platform_data); return 0; } late_initcall(beagle_camera_init); should do (you will also need to include the appropriate headers). > I would like to try my program on a beagle board to eliminate any > hardware related problem. > From the board file in mainline kernel, it seems omap3_init_camera is > not called, do you know any kernel tree where isp is initialized for beagle > board ? -- Regards, Laurent Pinchart