aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/uart/uart_dev_snps.c
Commit message (Collapse)AuthorAgeFilesLines
* Update Armada 38x UART device tree bindingMarcin Wojtas2018-10-101-0/+1
| | | | | | | | | | | | | | Recent changes in Linux updated Marvell Armada 38x UART compatible string. As a result the FreeBSD driver (uart_dev_snps) does not probe. This commit fixes the situation, however not applying any functional modification to the driver methods. Approved by: re (kib) Obtained from: Semihalf Notes: svn path=/head/; revision=339280
* add snps IP uart support / genaralize UARTMatt Macy2018-08-191-15/+2
| | | | | | | | | | | | | | | | This is an amalgam of a patch by Doug Ambrisko to generalize uart_acpi_find_device, imp moving the ACPI table to uart_dev_ns8250.c and advice by jhb to work around a bug in the EPYC 3151 BIOS (the BIOS incorrectly marks the serial ports as disabled) Reviewed by: imp MFC after: 8 weeks Differential Revision: https://reviews.freebsd.org/D16432 Notes: svn path=/head/; revision=338074
* Now that we set the busy_detect bit in the bas to support setting itWarner Losh2018-07-231-1/+1
| | | | | | | | | for the console, set our override in the bas as well. Tested by: emaste@ Notes: svn path=/head/; revision=336648
* uart_snps: Add early printf supportEmmanuel Vadot2018-05-011-0/+38
| | | | | | | | | Move the allwinner early printf support to the snps driver as it should work with all implementation. While here add instruction for enabling it on 64bits SoCs. Notes: svn path=/head/; revision=333138
* Do pass removing some write-only variables from the kernel.Alexander Kabaev2017-12-251-2/+0
| | | | | | | | | | | | This reduces noise when kernel is compiled by newer GCC versions, such as one used by external toolchain ports. Reviewed by: kib, andrew(sys/arm and sys/arm64), emaste(partial), erj(partial) Reviewed by: jhb (sys/dev/pci/* sys/kern/vfs_aio.c and sys/kern/kern_synch.c) Differential Revision: https://reviews.freebsd.org/D10385 Notes: svn path=/head/; revision=327173
* Allow setting access-width for UART registers.Ruslan Bukin2017-02-271-2/+4
| | | | | | | | | | | | | | | This is required for FDT's standard "reg-io-width" property (similar to "reg-shift" property) found in many DTS files. This fixes operation on Altera Arria 10 SOC Development Kit, where standard ns8250 uart allows 4-byte access only. Reviewed by: kan, marcel Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D9785 Notes: svn path=/head/; revision=314362
* Revert r314212 as it break Allwinner boards.Ruslan Bukin2017-02-271-1/+1
| | | | | | | Reported by: manu Notes: svn path=/head/; revision=314360
* Use correct macro for Synopsys UART driver declaration.Ruslan Bukin2017-02-241-1/+1
| | | | Notes: svn path=/head/; revision=314212
* EXTRES: Add OF node as argument to all <foo>_get_by_ofw_<bar>() functions.Michal Meloun2016-07-101-4/+4
| | | | | | | | | | | In some cases, the driver must handle given properties located in specific OF subnode. Instead of creating duplicate set of function, add 'node' as argument to existing functions, defaulting it to device OF node. MFC after: 3 weeks Notes: svn path=/head/; revision=302528
* Move support for Synopsys Designware APB UART out of ns8250 and into aJared McNeill2016-04-011-0/+283
separate driver. Add support for activating clock and hwreset resources for these devices when the EXT_RESOURCES option is present. Reviewed by: andrew, mmel, Emmanuel Vadot <manu@bidouilliste.com> Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5749 Notes: svn path=/head/; revision=297496