summaryrefslogtreecommitdiff
path: root/sys/dev/uart/uart_dev_imx.c
AgeCommit message (Collapse)Author
2024-01-10clk: Move clock code in dev/clkEmmanuel Vadot
We've removed kernel option EXT_RESOURCES almost two years ago. While it was ok to have some code under a common 'extres' subdirectory at first, we now have a lot of consumer of it and we made it mandatory so no need to have it under a cryptic name. Reviewed by: mhorne Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43191
2023-08-16sys: Remove $FreeBSD$: one-line .c patternWarner Losh
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
2023-05-12spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
2022-02-21uart_dev_imx: Make ext_resources non-optionalEmmanuel Vadot
EXT_RESOURCES have been introduced in 12-CURRENT and all supported releases have it enabled in their kernel config. MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D33826
2021-08-08Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrightsEd Maste
These ones were unambiguous cases where the Foundation was the only listed copyright holder (in the associated license block). Sponsored by: The FreeBSD Foundation
2020-07-01Add i.MX 8M Quad supportOleksandr Tymoshenko
- Add CCM driver and clocks implementations for i.MX 8M - Add GPC driver for iMX8 - Add clock tree for i.MX 8M Quad - Add clocks support and new compat strings (where required) for existing i.MX 6 UART, I2C, and GPIO drivers - Enable aarch64-compatible drivers form i.MX 6 in arm64 GENERIC kernel config - Add dtb/imx8 kernel module with DTBs for Nitrogen8M and iMX8MQ EVK With this patch both Nitrogen8M and iMX8MQ EVK boot with NFS root up to multiuser login prompt Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D25274 Notes: svn path=/head/; revision=362817
2017-11-27sys/dev: further adoption of SPDX licensing ID tags.Pedro F. Giffuni
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326255
2015-04-11Add support for the uart classes to set their default register shift value.Andrew Turner
This is needed with the pl011 driver. Before this change it would default to a shift of 0, however the hardware places the registers at 4-byte addresses meaning the value should be 2. This patch fixes this for the pl011 when configured using the fdt. The other drivers have a default value of 0 to keep this a no-op. MFC after: 1 week Notes: svn path=/head/; revision=281438
2015-03-07Move the uart_class definitions and fdt compat data into the individualIan Lepore
uart implementations, and export them using the new linker-set mechanism. Differential Revision: https://reviews.freebsd.org/D1993 Submitted by: Michal Meloun Notes: svn path=/head/; revision=279724
2014-10-12Use the FIFOs in the imx5/imx6 uart hardware instead of interrupting onIan Lepore
each byte sent or received. Notes: svn path=/head/; revision=273004
2014-09-30Return the actual baud rate programmed in the hardware rather than 115200.Ian Lepore
This allows the "3wire" entry in /etc/ttys (with no speed specified) to work. Notes: svn path=/head/; revision=272334
2014-04-26Reword a comment block a bit; no functional changes.Ian Lepore
Notes: svn path=/head/; revision=264985
2014-04-26Flesh out imx_uart_init() so that we're not relying on u-boot to initIan Lepore
the hardware (meaning uarts other than the console will work). Notes: svn path=/head/; revision=264983
2014-04-26The freescale imx uart driver works for the whole i.MX family, so rename theIan Lepore
header file to not have "5xx" in the name. Notes: svn path=/head/; revision=264981
2014-04-07Use a more professional device description.Rui Paulo
Notes: svn path=/head/; revision=264218
2014-01-19Introduce grab and ungrab upcalls. When the kernel desires to grab theWarner Losh
console, it calls the grab functions. These functions should turn off the RX interrupts, and any others that interfere. This makes mountroot prompt work again. If there's more generalized need other than prompting, many of these routines should be expanded to do those new things. Should have been part of r260889, but waasn't due to command line typo. Reviewed by: bde (with reservations) Notes: svn path=/head/; revision=260890
2013-10-24Fix crossed fingers output. Only comment changed.Aleksandr Rybalko
Notes: svn path=/head/; revision=257045
2013-04-01Fix low-level uart drivers that set their fifo sizes in the softc too late.Ian Lepore
uart(4) allocates send and receiver buffers in attach() before it calls the low-level driver's attach routine. Many low-level drivers set the fifo sizes in their attach routine, which is too late. Other drivers set them in the probe() routine, so that they're available when uart(4) allocates buffers. This fixes the ones that were setting the values too late by moving the code to probe(). Notes: svn path=/head/; revision=248965
2013-03-20Integrate Efika MX project back to home.Aleksandr Rybalko
Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=248557