Query Regarding UART Controller Device Driver in Linux Kernel

Greg KH greg at kroah.com
Tue Dec 3 08:56:17 EST 2024


On Tue, Dec 03, 2024 at 04:47:31PM +0530, Muni Sekhar wrote:
> Dear Linux Kernel Community,
> 
> I hope this email finds you well. I need to work on the high speed
> UART controller driver in the Linux kernel, and I have a few questions
> that I would appreciate your guidance on:
> 
> I understand that the Linux kernel tree contains multiple source code
> files related to UART controller device drivers. Could you please
> point me to the relevant source code paths for these drivers?

Where have you looked that you did not find them?  (hint,
drivers/tty/serial is where they are located...)

> What is the maximum supported UART baud rate in the current kernel
> driver's supports? For example, if the hardware supports high-speed
> baud rates (e.g., 12 Mbps), are there any specific design strategies
> or modifications needed in the driver to support such high speeds?

Many different uarts support different high-speed rates, it depends on
the hardware.  And yes, there are different ways of going that fast, but
again, it depends on the hardware.

What exact hardware type are you working with?  Does it not already work
properly with Linux?

> Are there any user-space utilities available for testing UART
> interfaces in Linux? If so, could you kindly share details on these
> utilities or provide any resources that would be useful for testing?

There are loads of them, but it depends on what you want to test.  What
exactly are you wishing to test/validate?

thanks,

greg k-h



More information about the Kernelnewbies mailing list