svn commit: r333039 - head/sys/arm64/rockchip/clk
Emmanuel Vadot
manu at FreeBSD.org
Thu Apr 26 21:39:00 UTC 2018
Author: manu
Date: Thu Apr 26 21:38:59 2018
New Revision: 333039
URL: https://svnweb.freebsd.org/changeset/base/333039
Log:
arm64: rockchip: Rk3328 CRU Fix some offset for gates
Some offset of some clock gates where wrong, correct them so we can
use thoses clocks.
Pointy Hat to: me
Modified:
head/sys/arm64/rockchip/clk/rk3328_cru.c
Modified: head/sys/arm64/rockchip/clk/rk3328_cru.c
==============================================================================
--- head/sys/arm64/rockchip/clk/rk3328_cru.c Thu Apr 26 21:37:38 2018 (r333038)
+++ head/sys/arm64/rockchip/clk/rk3328_cru.c Thu Apr 26 21:38:59 2018 (r333039)
@@ -175,7 +175,7 @@ static struct rk_clk_composite_def aclk_bus_pre = {
.div_shift = 8,
.div_width = 5,
- .gate_offset = 0x232,
+ .gate_offset = 0x220,
.gate_shift = 0,
.flags = RK_CLK_COMPOSITE_HAVE_MUX | RK_CLK_COMPOSITE_HAVE_GATE,
@@ -199,7 +199,7 @@ static struct rk_clk_composite_def hclk_bus_pre = {
.div_shift = 8,
.div_width = 2,
- .gate_offset = 0x232,
+ .gate_offset = 0x220,
.gate_shift = 1,
.flags = RK_CLK_COMPOSITE_HAVE_GATE,
@@ -218,7 +218,7 @@ static struct rk_clk_composite_def pclk_bus_pre = {
.div_shift = 12,
.div_width = 3,
- .gate_offset = 0x232,
+ .gate_offset = 0x220,
.gate_shift = 2,
.flags = RK_CLK_COMPOSITE_HAVE_GATE,
More information about the svn-src-all
mailing list