summaryrefslogtreecommitdiff
path: root/drivers/clk/meson/meson8b.h
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2018-02-19 12:21:44 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2018-03-13 10:09:56 +0100
commit513b67ac39b0ef91761d94d1d6e31bb84e380744 (patch)
treea9b7add7308b61715accd57b598a8f426c8860e6 /drivers/clk/meson/meson8b.h
parent093c3fac4619d267136dc4cb87b916c692fa07db (diff)
clk: meson: add mpll pre-divider
mpll clocks parent can actually be divided by 1 or 2. So far, this divider has always been set to 1, so the calculation was correct. Now that we know it exists, model the tree correctly. If we ever get a platform where the divider is different, we won't get into trouble Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'drivers/clk/meson/meson8b.h')
-rw-r--r--drivers/clk/meson/meson8b.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/meson/meson8b.h b/drivers/clk/meson/meson8b.h
index 73dae83d9932..839ffc9da5f7 100644
--- a/drivers/clk/meson/meson8b.h
+++ b/drivers/clk/meson/meson8b.h
@@ -77,8 +77,9 @@
#define CLKID_CPU_DIV3 101
#define CLKID_CPU_SCALE_DIV 102
#define CLKID_CPU_SCALE_OUT_SEL 103
+#define CLKID_MPLL_PREDIV 104
-#define CLK_NR_CLKS 104
+#define CLK_NR_CLKS 105
/*
* include the CLKID and RESETID that have