Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/samsung Fix value of PHY_CLK_RST_FSEL_24M, USB2...



details:   https://anonhg.NetBSD.org/src/rev/b79dc396d5cf
branches:  trunk
changeset: 320377:b79dc396d5cf
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jul 03 16:22:48 2018 +0000

description:
Fix value of PHY_CLK_RST_FSEL_24M, USB2 on XHCI works now.

diffstat:

 sys/arch/arm/samsung/exynos_usbdrdphy.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b609fe8b2924 -r b79dc396d5cf sys/arch/arm/samsung/exynos_usbdrdphy.c
--- a/sys/arch/arm/samsung/exynos_usbdrdphy.c   Tue Jul 03 16:09:40 2018 +0000
+++ b/sys/arch/arm/samsung/exynos_usbdrdphy.c   Tue Jul 03 16:22:48 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exynos_usbdrdphy.c,v 1.1 2018/07/03 16:09:04 jmcneill Exp $ */
+/* $NetBSD: exynos_usbdrdphy.c,v 1.2 2018/07/03 16:22:48 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: exynos_usbdrdphy.c,v 1.1 2018/07/03 16:09:04 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exynos_usbdrdphy.c,v 1.2 2018/07/03 16:22:48 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -55,7 +55,7 @@
 #define         PHY_CLK_RST_MPLL_MULT          __BITS(17,11)
 #define          PHY_CLK_RST_MPLL_MULT_24M     0x68
 #define         PHY_CLK_RST_FSEL               __BITS(10,5)
-#define          PHY_CLK_RST_FSEL_24M          0x2a
+#define          PHY_CLK_RST_FSEL_24M          0x5
 #define         PHY_CLK_RST_RETENABLEN         __BIT(4)
 #define         PHY_CLK_RST_REFCLKSEL          __BITS(3,2)
 #define          PHY_CLK_RST_REFCLKSEL_EXT     3



Home | Main Index | Thread Index | Old Index