Once again about Aptina MT9P031 sensor and i.MX6 processor

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Once again about Aptina MT9P031 sensor and i.MX6 processor

645 Views
kudryvzev99
Contributor I

Hi all,

I'm searching for official driver for the Aptina MT9P031 sensor and i.MX6 processor. I have camera with this sensor (parallel interface as output bus) and I'd like to test it, but I don't see any drivers for it on the Linux Yocto BSP.
I have two question about this:
   1. I have found a lot of MT9P031 Linux driver sensor sources by following links:
           https://github.com/torvalds/linux/blob/master/drivers/media/i2c/mt9p031.c
           https://elixir.bootlin.com/linux/v5.2-rc3/source/drivers/media/i2c/mt9p031.c
           https://lwn.net/Articles/448475/
           https://lxr.missinglinkelectronics.com/linux/drivers/media/i2c/mt9p031.c
           https://patchwork.kernel.org/patch/1011002/
     Can you advise how can I modify it for Linux Yocto BSP?
   2. I have found description of ov5642 camera driver which using parallel interface in "i.MX 6 Linux® Reference

       Manual", Chapter 6 "Image Processing Unit (IPU) Drivers" and Chapter 20 "OmniVision Camera Drive".
        As I understand, ov5642 sensor is similar to MT9P031 by operational principles. Can I modify this driver for

        MT9P031 (Linux Yocto BSP)? Please advice what I need to do for that?

Thanks
P.S. As debugging apparatus platform I use Meissa-I Development Board (https://www.e-consystems.com/meissa-I-imx6-micro-development-board.asp) with eSOMiMX6-micro - Computer Module .

0 Kudos
1 Reply

471 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dmitry

NXP does not support MT9P031 sensor in its BSPs, one can look at :

Need to interface MT9P031 image sensor with imx6 dual scm, the output format of the camera is 12-bit... 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos