Re: [meta-freescale] duplicate drivers in the linux-fslc/linux-imx tree
Fabio Estevam <[email protected]> Thu, 17 Aug 2023 10:27:00 -0300
| Newsgroups | org.yoctoproject.lists.meta-freescale |
|---|---|
| Message-ID | <CAOMZO5Bp8UMOdk-uWOuiGcJOaEg58N9U6cDLBobiKNH5oX0qxA@mail.gmail.com> |
Hi Donald, On Wed, Aug 16, 2023 at 3:03=E2=80=AFPM Donald Carr <[email protected]> wr= ote: > > Top of the morning, > > I am busy trying to move an imx6q device from 4.9 to 6.1. This has largel= y been a straight forwards process, but I have hit major hiccups trying to = get my attached camera sensor (ov7251) brought up. > > Part of the problem with this is that there are 2 discrete ipu-v3 impleme= ntations. There is the one under: > > ./drivers/gpu/imx/ipu-v3 > > which is required by: > > drivers/staging/media/imx/imx-media-dev.c: { .compatible =3D "fsl,im= x-capture-subsystem" }, > > (which I believe is required for me to grab an image from my attached sen= sor) Correct. > > and > > ./drivers/mxc/ipu3 > > which is required by the framebuffer device (mxc_ipuv3_fb). This is a custom NXP driver. I suggest you use the standard driver provided by the mainline kernel. imx6qdl-sabresd has camera supported: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/= arm/boot/dts/imx6qdl-sabresd.dtsi?h=3Dv6.1.46#n318 Here is the documentation for it: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Docum= entation/admin-guide/media/imx.rst?h=3Dv6.1.46 Hope this helps.