V4L2 driver with UART Communication

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

V4L2 driver with UART Communication

947 Views
mcergun
Contributor III

I am trying to develop a camera driver for a camera that communicates on UART. The board I am using is a quad plus sabre smart devices. I have some questions about it.

Is there any abstracted UART drivers that I can use in kernel space, like I2C has?

Does IPU truly support UART fuction?

Can I use UART on CSI0_DAT8, CSI0_DAT9 (dedicated to I2C originally) pins?

Is there any way that I can move my application to user space while still using V4L2?

EDIT: I must have mistyped 2 pins in my last question. I changed them now.

Labels (2)
3 Replies

695 Views
igorpadykov
NXP Employee
NXP Employee

Hi mert

uart supports standard linux TTY layer IOCTL calls as described

in attached Linyx Manual Chapter 45.

IPU does not support UART fuction, CSI0_DAT10, CSI0_DAT11 pins

(if there is possibility to mux on uart, please check RM) could be used

for uart purposes.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

695 Views
mcergun
Contributor III

thank you for the quick reply igor,

is mux possibility strictly defined in application processor reference manual iomuxctl lists, or can it be defined by user, too?

I mistyped two pins in my original question. Now I have updated them. Can you recheck my question please?

0 Kudos

695 Views
igorpadykov
NXP Employee
NXP Employee

yes, mux possibility strictly defined in application processor reference manual

Best regards

igor