I've been developing the driver for a new UART device which communicates with IMX6Q Sabre Auto.
Of course there are many UART drivers under ./drivers/tty/serial directory in Yocto project based linux kernel.
I think the drivers contain too many information to understand how the UART driver works.
The system I'm trying to develop is very simple. IMX6Q sends a on/off data to UART device and receives a result data from.
Can any one provide a simple driver sample code or guide in order to control a UART device?
Thanks in advance.