Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/rockchip Process assigned-clocks



details:   https://anonhg.NetBSD.org/src/rev/7d70fcd8f9d9
branches:  trunk
changeset: 993252:7d70fcd8f9d9
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Sep 02 10:07:17 2018 +0000

description:
Process assigned-clocks

diffstat:

 sys/arch/arm/rockchip/rk_i2c.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 18c19d447a0f -r 7d70fcd8f9d9 sys/arch/arm/rockchip/rk_i2c.c
--- a/sys/arch/arm/rockchip/rk_i2c.c    Sun Sep 02 09:57:33 2018 +0000
+++ b/sys/arch/arm/rockchip/rk_i2c.c    Sun Sep 02 10:07:17 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_i2c.c,v 1.3 2018/09/02 01:16:03 jmcneill Exp $ */
+/* $NetBSD: rk_i2c.c,v 1.4 2018/09/02 10:07:17 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: rk_i2c.c,v 1.3 2018/09/02 01:16:03 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_i2c.c,v 1.4 2018/09/02 10:07:17 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -419,6 +419,8 @@
        aprint_naive("\n");
        aprint_normal(": Rockchip I2C (%u Hz)\n", sc->sc_clkfreq);
 
+       fdtbus_clock_assign(phandle);
+
        rk_i2c_init(sc);
 
        sc->sc_ic.ic_cookie = sc;



Home | Main Index | Thread Index | Old Index