Welcome to the Linux Foundation Forum!

Add Support for TXRDY and RXRDY pins in 8250 serial driver


I'm using an external uart (XR16C854/854D) with my custom board based on NXP's ls1021atwr series,
The datasheet mentions TXRDY and RXRDY pins to indicate data is ready to transmit or chip is ready to receive data, However I waas unable to find any reference to these pins on the standard 8250 UART driver.
I tried looking for patches but wasn't able to find any relevant ones for this issue.
According to the datasheet:
"• TXRDY is [set] by TX trigger level or TX FIFO empty (or transmitter empty in auto RS-485 control)."
Can anyone provide a patch for the driver to generate this interrupt in appropriate conditions?



Upcoming Training