Hello, I am developing a GPS driver which is connected over a high speed UART. The driver of the high speed UART is available and it creates a device node /dev/ttyHS0. Now using the device node, I guess, I will be able to read/write from/to the GPS chip from user space but my aim is to write a GPS driver in the kernel space which would communicate with the high speed UART driver.
After some initial study, I think I can either write a line discipline driver or a serio. Am I right in my approach? Is there any other alternative.

Thanks and Regards,