Hi,
I've run into a problem using the fixed-factor clock on Raspberry Pi and I'd
like some advice before I submit a patch.
Some context: the aim is to use a standard UART and some external circuitry
as a MIDI interface. This would be straightforward except that Linux doesn't
recognise the required 31.25KHz as a valid UART baud rate. Rhe workaround is
to declare the UART clock such that the reported rate differs from the actual
rate. If one sets the reported rate to be (actual*38400)/31250 then
requesting a 38400 baud rate will result in an actual 31250 baud signal.
https://stackoverflow.com/questions/12646324/how-to-set-a-custom-baud-rate-on-linux"How to set a custom baud rate on Linux?"
https://sourceware.org/ml/libc-help/2009-06/msg00016.html"Re: Terminal interface and non-standard baudrates"