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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to