summaryrefslogtreecommitdiffstats
path: root/drivers/serial/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* serial: Add lpuart32 driverSascha Hauer2023-11-171-0/+1
| | | | | | | | This adds a lpuart32 driver. This is a variant of the lpuart driver that is found on i.MX9 and other SoCs. Link: https://lore.barebox.org/20231110125800.1901232-15-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nios2: remove arch remains from driversDenis Orlov2023-07-031-2/+0
| | | | | | | | | | | The architecture was removed back in the commit efccc13513, however some drivers that were available exclusively for NIOS2 were left over. As it has been impossible to compile those since then, it seems reasonable to just get rid of them. Signed-off-by: Denis Orlov <denorl2009@gmail.com> Link: https://lore.barebox.org/20230629201446.16679-1-denorl2009@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial: remove s3c driverSascha Hauer2023-03-011-1/+0
| | | | | | | | | The Samsung architecture has been removed, remove the serial driver only used on this architecture as well. Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.barebox.org/20230228135727.1602351-5-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* drivers: migrate "GPL-2.0" license identifiers to SPDX 2.0Roland Hieber2021-11-221-1/+1
| | | | | | | | | | "GPL-2.0-only" was introduced in SPDX 2.0, and the old identifier "GPL-2.0" is now considered deprecated; see <https://spdx.org/licenses>. Fixes: 28f4a6a4df76f0f1581d (2021-10-30, "drivers: add missing SPDX-License-Identifier") Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20211117113851.2022669-2-rhi@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* drivers: add missing SPDX-License-IdentifierAhmad Fatoum2021-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | This adds the suitable SPDX-License-Identifier to all files in drivers/ that previously lacked one. To aid manual inspection, following heuristics can be used: * No changes outside of comments/whitespace: git show -U0 HEAD | rg -v '^(@@|diff|index)|[-+]([-+]|//|#|[\s/]\*)' * -or-later come in pairs: git show --inter-hunk-context=19 HEAD | \ perl -0777 -F'/^@/gm' -ne 'for (@F) { @m = /later/g; print if @m & 1 }' Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211030175632.2276077-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/riscv'Sascha Hauer2021-10-071-0/+1
|\
| * serial: add litex UART driverAntony Pavlov2021-10-041-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Tested-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210817101104.114945-3-antonynpavlov@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | serial: implement riscv SBI console supportMarcelo Politzer2021-10-051-0/+1
|/ | | | | | | | Implement a console over legacy SBI (version 0.1.0). There is a tiny ringbuffer to simplify checking for presence and reading characters as separate steps. Link: https://lore.barebox.org/20210927200521.7996-1-marcelo.politzer@cartesi.io Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial: implement SiFive UART supportAhmad Fatoum2021-05-031-0/+1
| | | | | | | | Import serial driver from Linux v5.11. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210427202309.32077-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial: add basic VirtIO console driverAhmad Fatoum2021-02-221-0/+1
| | | | | | | | | | | | | | | | | | With this driver enabled, -device virtio-serial-device can now be passed to Qemu for barebox to detect a VirtIO console device. If barebox is passed as argument to the Qemu -kernel option, no device tree changes are necessary. Example: $ qemu-system-arm -m 256M -M virt -nographic \ -kernel build/images/barebox-dt-2nd.img \ -device virtio-serial-device \ -chardev socket,path=/tmp/foo,server,nowait,id=foo \ -device virtconsole,chardev=foo,name=console.foo Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial: add support for PCI NS16550 UARTsAhmad Fatoum2019-12-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | This ports over the Linux v5.4 8250_pci driver. Unlike Linux, the barebox ns16550 implementation provides less hooks for covering all the quirky behavior of all the different 8250-"compatible" hardware blocks. The barebox driver matches against all serial port the Linux driver does, but for hardware with quirks that can't be expressed in the current barebox n16550 API, the probe fails with -ENOSYS and an appropriate message telling that the quirk handling is missing. This should make future extension of the driver straight-forward. Unlike the kernel variant of the driver, most ->exit quirk callbacks can be dropped in barebox as they often disable IRQs, which we do in the ->init anyway. This was tested with the EFI PCI driver on qemu with the options: -device pci-serial,chardev=cdev0 -chardev file,id=cdev0,path=COM Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/bfin'Sascha Hauer2019-10-171-1/+0
|\
| * serial: Remove blackfin driverSascha Hauer2019-09-121-1/+0
| | | | | | | | | | | | | | The blackfin architecture has been removed from barebox. Remove the serial driver as well. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | serial: Remove NETX serial driverSascha Hauer2019-09-231-1/+0
|/ | | | | | | NETX support has been removed from barebox. Remove the serial driver as well. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: stm32mp1: Add serial driverSascha Hauer2019-03-111-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efi: add serial driver supportJean-Christophe PLAGNIOL-VILLARD2017-03-091-0/+1
| | | | | | | | | | | | | | So now we can stop to use the efi-stdio as this driver print on the Framebuffer and the serial at the same time. This is specially usefull if we want to use the framebuffer via efi-gop for something else. Do not forget to disable the efi-stdio device before enabling the console otherwise you will get double printing. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX: Add 'lpuart' serial driverAndrey Smirnov2017-01-111-0/+1
| | | | | | | Add 'lpuart' serial driver, based on analogous driver from U-Boot Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/efi'Sascha Hauer2014-08-071-0/+1
|\ | | | | | | | | | | | | Conflicts: .gitignore Makefile drivers/serial/Makefile
| * serial: Add EFI stdio driverSascha Hauer2014-07-161-0/+1
| | | | | | | | | | | | | | | | | | This adds a driver which uses the EFI stdin/stdout interfaces to implement a barebox console. Keyboard input should be fairly complete, but not all vt100 needed by barebox work properly. The clear-to-eol escape is missing causing garbled output in the editor. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | serial: add driver for Canon DIGIC UARTAntony Pavlov2014-07-291-0/+1
|/ | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial: add Atheros AR933x driverAntony Pavlov2014-03-281-0/+1
| | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial: Add driver for Cadence UARTSteffen Trumtrar2013-03-271-0/+1
| | | | | | | Support for Cadence UART core. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/mxs'Sascha Hauer2013-03-041-0/+1
|\
| * driver/serial: add driver for the mxs application uartMarc Kleine-Budde2013-03-031-0/+1
| | | | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | serial/Makefile: drop out of date commentsJean-Christophe PLAGNIOL-VILLARD2013-02-261-6/+0
|/ | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* omap4: add serial communications over usb bootVicente2012-11-161-0/+1
| | | | | Signed-off-by: Vicente <vicencb@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: clps711x: Add serial driverAlexander Shiyan2012-11-021-0/+1
| | | | | | | This patch adds a simple serial driver for CLPS711X architecture. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Unify the UART driver for the S3C family of CPUsJuergen Beisert2012-01-021-1/+1
| | | | | | | | The UART is one of the units which differs only slightly inside the S3C family. Prepare this driver to share it with more recent CPUs. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm/mach-pxa: Initial Intel/Marvell PXA supportMarc Kleine-Budde2011-12-051-0/+1
| | | | | | | | | | | | The core support was brought by Marc and Sascha. The cache choice was fixed by Luotao Fu. Some gpio and devices addons were provided by Robert. Signed-off-by: Luotao Fu <l.fu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* DRIVER_SERIAL_LINUX_CONSOLE: fix misprintAntony Pavlov2011-07-251-1/+1
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add Altera JTAG UART driverFranck Jullien2011-06-101-0/+1
| | | | | | | | | Add Altera JTAG UART driver I removed the CONFIG_ALTERA_JTAG_UART_BYPASS. Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Nios2: Add Altera UART driverFranck JULLIEN2011-04-081-1/+2
| | | | | | | | This patch adds Altera UART driver. Kconfig and Makefile are updated to include this new driver. Signed-off-by: Franck JULLIEN <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add the driver for the i.MX23 debug UARTJuergen Beisert2010-10-111-0/+1
| | | | | | | The i.MX23 comes with a special UART dedicated for debugging purposes. This one is mostly used for the console the user can reach. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* amba: add pl011Jean-Christophe PLAGNIOL-VILLARD2010-08-061-0/+1
| | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Andrea GALLO <andrea.gallo@stericsson.com> Cc: Gael SALLES <gael.salles@stericsson.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add PrimeCell PL010 serial driverMatthias Kaehlcke2010-01-141-1/+1
| | | | | | | Added driver for ARM PrimeCell PL010 UART Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: add Debug Communications Channel serial driver supportJean-Christophe PLAGNIOL-VILLARD2009-11-031-0/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add basic architecture support for Samsung's S3C2410 and S3C2440 CPU.Juergen Beisert2009-07-011-0/+1
| | | | | | | | | | | It includes a - driver for the internal UART - driver for the internal NAND controller - support to boot from NAND - PLL handling - SDRAM initialisation Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* add basic at91sam9260 support. Currently only second stageSascha Hauer2008-06-061-0/+1
| | | | | | bootloader is supported: - No SDRAM initialisation - No UART init / baudrate change
* 009-add-NS16550Nishanth Menon2008-06-051-0/+1
| | | | | | | | | | [Patch 09/17] U-Boot-V2:Serial: Add support for NS16550 Driver. This introduces support for NS16550 and related OMAP support. This driver is a port from Uboot v1 driver from OMAP's Uboot tree. OMAP U-Boot V1 source is available here: http://linux.omap.com/pub/bootloader/3430sdp/u-boot-v1.tar.gz Signed-off-by: Nishanth Menon<x0nishan@ti.com>
* add blackfin serial driverSascha Hauer2007-09-111-0/+1
|
* add Hilscher netx serial driverSascha Hauer2007-09-051-0/+1
|
* svn_rev_531Sascha Hauer2007-07-051-1/+1
|
* svn_rev_509Sascha Hauer2007-07-051-1/+2
| | | | make console driver for mpc5xxx work
* svn_rev_501Sascha Hauer2007-07-051-1/+2
| | | | move linux_console driver to drivers/serial
* svn_rev_485Sascha Hauer2007-07-051-1/+1
| | | | serial driver cleanup
* svn_rev_070Sascha Hauer2007-07-051-0/+8