LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-01-2024, 04:01 AM   #1
suspension
LQ Newbie
 
Registered: Apr 2024
Posts: 1

Rep: Reputation: 0
Linux support for parallel Pixel data Image sensor


I am trying to understand how to write a device driver for the sensor MT9M021 by onsemi. I checked some of the sources here and here.

I understand based on these drivers that the device is treated as a I2C device connected to the I2C bus and much of the initialization is done in the probe callback for i2c_client device type. In addition, device configuration is facilitated through this code through I2C.

What I do not understand however is how the pixel data of the sensor read from the driver. Although the configuration is done through I2C, the sensor outputs its image data through a parallel interface which has to be connected to a bus and there must be some device driver code that does the reading and maybe decoding before the data is made available to the user space apps.

I am not sure of this is handled by the existing Linux kernel functionalities but by the looks of the datasheet of this chip, the parallel pixel data format does not seem to aligned to any standard, so not sure how a common driver code can handle this. Any help to understand this missing piece is much appreciated.
 
Old 04-02-2024, 05:21 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,863

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
probably: https://support.bluetechnix.at/wiki/...le_ISM-MT9P031
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Google Pixel 6 and Pixel 6 Pro are seeing work for mainline Linux kernel support LXer Syndicated Linux News 0 11-25-2021 02:31 AM
LXer: Pixel 2 and Pixel 2 XL Ship with 18W PD Power Adapters and Support up to 27W Charging from Compliant Chargers LXer Syndicated Linux News 0 10-08-2017 03:57 AM
LXer: Paranoid Android 7.2 Improves Google Pixel/Pixel XL Support, Adds Pocket Lock LXer Syndicated Linux News 0 07-13-2017 07:30 AM
LXer: Nvidia and ARM: It's a parallel, parallel, parallel world LXer Syndicated Linux News 0 03-21-2013 06:10 PM
[SOLVED] TOSHIBA Hard Drive Impact Sensor (3D sensor) and Linux josephj Linux - Laptop and Netbook 4 11-06-2010 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration