For your particular case it probably makes more sense to use the TxEMP
interrupt of the PSC and deassert RTS manually in the interrupt
service routine.
Thanks Albrecht, this has been my approach. I have tested it in a custom
board and It works. I'have put the patch for a 2.4.xx version in my work
pipeline.