[Xenomai-core] [PATCH 0/3] serial: add driver for the MPC52xx PSC UARTs and RS485 mode

2011-11-21 Thread Wolfgang Grandegger
From: Wolfgang Grandegger w...@denx.de This series of patches adds a RTserial driver for the MPC52xx PSC UARTs on the MPC5200 SOCs. It includes support for RS485 mode and shift register empty events (RTSER_EVENT_TXEMPTY), which is introduced first. Wolfgang Grandegger (3): serial/16650a: fix

[Xenomai-core] [PATCH 2/3] serial: add shift register empty event and RS485 support flag

2011-11-21 Thread Wolfgang Grandegger
From: Wolfgang Grandegger w...@denx.de This patch extends rtserial.h to support RS485 and shift register empty events. In contrast to the MPC5200 PSC UART, the 16550A seem not be able to signal that event via interrupt. The Tramsmitter Empty bit in the line status register needs to be polled.

[Xenomai-core] [PATCH 3/3] serial: add driver for the MPC52xx PSC UARTs

2011-11-21 Thread Wolfgang Grandegger
From: Wolfgang Grandegger w...@denx.de This driver tries to fake the ioctl interface of the 16650A as good as possible. The device gets the name rtserPSCx where x is the sequential PSC device number similar to the linux MPC52xx UART driver (using ttyPSCx). You may need to unbind the Linux serial