Hi!
I do have both ordinary rs-232 lines and rs-485 lines working simultaneously. I have now managed getting rs-485 mode working by using uart from ompa-serial.c. This gets loade by setting CONFIG_SERIAL_OMAP=y CONFIG_SERIAL_OMAP_CONSOLE=y and commenting out all the CONFIG_SERIAL_8250_ configurations. However, if I uncomment also CONFIG_SERIAL_8250_ options, I will only get 8250 uart loaded. It's true, that omap-serial can work also in rs-232 mode, but I guess that there is reason why 8250 uart was taken as default uart in am335x platforms lately. I believe it is possible to modify "static const struct of_device_id omap_serial_of_match" structure in for instance ompa-serial.c in order to get it loaded with matching compatibly variable in device tree, but I would prefer not to touching kernel code if there is more standard way of doing it.
Do anyone know if there is big difference between performances of these two kernel drivers in rs-232 mode - so that is there any point trying to get these two drivers up and running simultaneously?
Thanks,
Matti