summaryrefslogtreecommitdiffstats
path: root/drivers/clk/meson/meson8b.c
diff options
context:
space:
mode:
authorAlexander Müller <serveralex@gmail.com>2016-08-27 19:40:50 +0200
committerMichael Turquette <mturquette@baylibre.com>2016-09-01 17:31:47 -0700
commitd0c175da68d7e8f6b52b9fcaffae1d73d51a8655 (patch)
tree3e89c2c9e6623fa2b28465ecae72b4f43e9edb36 /drivers/clk/meson/meson8b.c
parent23353817f85934528d056541894c70346c3822b3 (diff)
downloadlinux-d0c175da68d7e8f6b52b9fcaffae1d73d51a8655.tar.gz
linux-d0c175da68d7e8f6b52b9fcaffae1d73d51a8655.tar.bz2
linux-d0c175da68d7e8f6b52b9fcaffae1d73d51a8655.zip
meson: clk: Move register definitions to meson8b.h
Move the register definitions into a separate header file to reflect the gxbb implementation. Signed-off-by: Alexander Müller <serveralex@gmail.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/1472319654-59048-3-git-send-email-serveralex@gmail.com
Diffstat (limited to 'drivers/clk/meson/meson8b.c')
-rw-r--r--drivers/clk/meson/meson8b.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/clk/meson/meson8b.c b/drivers/clk/meson/meson8b.c
index 4c9413cdf373..d52ae534e056 100644
--- a/drivers/clk/meson/meson8b.c
+++ b/drivers/clk/meson/meson8b.c
@@ -28,22 +28,7 @@
#include <linux/init.h>
#include "clkc.h"
-
-/*
- * Clock controller register offsets
- *
- * Register offsets from the HardKernel[0] data sheet are listed in comment
- * blocks below. Those offsets must be multiplied by 4 before adding them to
- * the base address to get the right value
- *
- * [0] http://dn.odroid.com/S805/Datasheet/S805_Datasheet%20V0.8%2020150126.pdf
- */
-#define MESON8B_REG_SYS_CPU_CNTL1 0x015c /* 0x57 offset in data sheet */
-#define MESON8B_REG_HHI_MPEG 0x0174 /* 0x5d offset in data sheet */
-#define MESON8B_REG_MALI 0x01b0 /* 0x6c offset in data sheet */
-#define MESON8B_REG_PLL_FIXED 0x0280
-#define MESON8B_REG_PLL_SYS 0x0300
-#define MESON8B_REG_PLL_VID 0x0320
+#include "meson8b.h"
static DEFINE_SPINLOCK(clk_lock);