summaryrefslogtreecommitdiffstats
path: root/bsps/shared/dev/serial (follow)
Commit message (Collapse)AuthorAgeFilesLines
* dev/serial: Add Zynq UART kernel I/O supportSebastian Huber2024-04-041-0/+88
| | | | | | Replace the BSP_CONSOLE_MINOR BSP option for the Xilinx Zynq BSPs with the new BSP option ZYNQ_UART_KERNEL_IO_BASE_ADDR. Move the kernel I/O support to a shared file.
* dev/serial: Simplify some Zynq UART functionsSebastian Huber2024-03-272-25/+21
| | | | | | Make the initialization and polled functions independent of the Termios context. This helps to implement the kernel I/O support without a dependency on the Termios framework.
* libio: Clean up usage of rtems_termios_device_modeKinsey Moore2024-01-102-2/+6
| | | | | | | | | | | | This cleans up outputUsesInterrupts usage with rtems_termios_device_mode enum values. The outputUsesInterrupts member was typed as an int, named as if it were a boolean value, and used as if it were a rtems_termios_device_mode enum. In this patch, values assigned to outputUsesInterrupts have been converted to the corresponding rtems_termios_device_mode enum value, conversions from deviceOutputUsesInterrupts have been made explicit, and uses of rtems_termios_device_mode enum values with deviceOutputUsesInterrupts have been converted to booleans.
* termios: Add <rtems/termiosdevice.h>Sebastian Huber2023-05-311-0/+1
| | | | | | | Add <rtems/termiosdevice.h> which does not depend on <rtems/libio.h> to provide rtems_termios_device_context and rtems_termios_device_handler. For polled serial device drivers, this removes a header file dependency to the full file system support.
* arm/xilinx-zynq: Improve Doxygen file commentsSebastian Huber2023-05-261-2/+11
|
* Update company nameSebastian Huber2023-05-208-8/+8
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* bsps/shared/*: Change license to BSD-2Joel Sherrill2022-06-1519-57/+418
| | | | Updates #3053.
* bsps/shared/: Scripted embedded brains header file clean upJoel Sherrill2022-03-106-36/+0
| | | | Updates #4625.
* arm/xilinx: Fix zynq-uart interrupt receiveChris Johns2021-09-162-57/+66
| | | | | | | | - Trigger on a single character entering the RX FIFO - Disable the RX timeout - Send up to a FIFO full of data
* bsps/zynq-uart: Make post baud change kick globalKinsey Moore2021-06-292-0/+14
| | | | | | | | The existing fix for the ZynqMP UART hardware bug only caught the vast majority of instances where it could occur. To fully fix the data corruption, this fix must be applied after every baud rate change. This makes the logic reset and kick apply in any locations where the baud rate could be changed.
* bsps/xilinx-zynqmp: Avoid constant UART reinitKinsey Moore2021-04-191-3/+6
| | | | | | Constantly reinitializing the Cadence UART on every character output causes data corruption/loss on some ZynqMP hardware. Only initialize the UART once for early output and give it a kick on startup.
* bsps/shared: Allow setting baud rate for zynq uartJan Sommer2021-03-051-5/+16
|
* zynq-uart: Fix set_attributes implementationKinsey Moore2020-12-032-6/+52
| | | | | | | | | The zynq-uart set_attributes implementation was configured to always return false which causes spconsole01 to fail. This restores the disabled implementation which sets the baud rate registers appropriately and allows spconsole01 to pass. This also expands the set_attributes functionality to allow setting of the stop bits, character width, and parity.
* bsps: Move zynq-uart to bsps/sharedKinsey Moore2020-12-022-0/+361
| | | | | This moves the zynq-uart driver from bsps/arm/shared to bsps/shared to accomodate use by AArch64 BSPs.
* Move ARM PL011 UART driverKinsey Moore2020-10-051-0/+91
| | | | This UART driver is now needed for BSPs other than ARM.
* libchip/ns16550: Allow user calculate baud divisorG S Niteesh2020-02-161-0/+2
| | | | | | | | This patch will allow the user to pass a function to calculate the baud divisor. This will allow for more flexibility, since for some BSPs like raspberrypi, the calculation of baud divisor is different from what is in the current driver.
* z85c30.c: Do not process 0 baud and return an error (CID 1399713)Joel Sherrill2019-03-141-0/+9
|
* serial/ns16550: Fix precision clock synthesizerSebastian Huber2018-10-171-15/+16
| | | | | | | The precision clock synthesizer support broke the driver on the QorIQ P1020. On this device the Alternate Function Register is accessed with DLAB == 1 instead of the FIFO Control Register (FCR). Restructure the code to account for this.
* serial/ns16550: Precision clock synthesizerSebastian Huber2018-08-011-13/+67
| | | | | | Set the FIFO control register while DLAB == 1 in the line control register. At least on the QorIQ T4240 the driver still works with the re-ordered FIFO control register access.
* serial/ns16550: Use standard register namesSebastian Huber2018-08-011-4/+4
| | | | | Use the standard register names for the divisor latches. This makes it easier to compare the code with other driver implementations.
* bsps: Move console drivers to bspsSebastian Huber2018-04-206-0/+390
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move uart-output-char.c to bspsSebastian Huber2018-04-161-0/+52
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move legacy console driver to bspsSebastian Huber2018-04-124-0/+633
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move libchip to bspsSebastian Huber2018-04-0419-0/+4733
This patch is a part of the BSP source reorganization. Update #3285.