svn commit: r339280 - head/sys/dev/uart

Marcin Wojtas mw at FreeBSD.org
Wed Oct 10 10:34:19 UTC 2018


Author: mw
Date: Wed Oct 10 10:34:17 2018
New Revision: 339280
URL: https://svnweb.freebsd.org/changeset/base/339280

Log:
  Update Armada 38x UART device tree binding
  
  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

Modified:
  head/sys/dev/uart/uart_dev_snps.c

Modified: head/sys/dev/uart/uart_dev_snps.c
==============================================================================
--- head/sys/dev/uart/uart_dev_snps.c	Wed Oct 10 09:25:59 2018	(r339279)
+++ head/sys/dev/uart/uart_dev_snps.c	Wed Oct 10 10:34:17 2018	(r339280)
@@ -127,6 +127,7 @@ struct uart_class uart_snps_class = {
 
 static struct ofw_compat_data compat_data[] = {
 	{ "snps,dw-apb-uart",		(uintptr_t)&uart_snps_class },
+	{ "marvell,armada-38x-uart",	(uintptr_t)&uart_snps_class },
 	{ NULL,				(uintptr_t)NULL }
 };
 UART_FDT_CLASS(compat_data);


More information about the svn-src-head mailing list