summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/clock/hi6220-clock.h
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2017-03-26 02:23:15 +0800
committerMichael Turquette <mturquette@baylibre.com>2017-04-12 18:07:31 +0200
commitb0459491ca2dcda4223b3f3c80a635ae12218580 (patch)
treeb58a7c1341ac17c57c4b135a5880d701f4a033ef /include/dt-bindings/clock/hi6220-clock.h
parent7f0b97d5bb4c1c99c38dd6770ad11f714ea42583 (diff)
downloadlinux-stable-b0459491ca2dcda4223b3f3c80a635ae12218580.tar.gz
linux-stable-b0459491ca2dcda4223b3f3c80a635ae12218580.tar.bz2
linux-stable-b0459491ca2dcda4223b3f3c80a635ae12218580.zip
clk: hi6220: add debug APB clock
The debug APB clock is absent in hi6220 driver, so this patch is to add support for it. Signed-off-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Diffstat (limited to 'include/dt-bindings/clock/hi6220-clock.h')
-rw-r--r--include/dt-bindings/clock/hi6220-clock.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/dt-bindings/clock/hi6220-clock.h b/include/dt-bindings/clock/hi6220-clock.h
index 6b03c84f4278..b8ba665aab7b 100644
--- a/include/dt-bindings/clock/hi6220-clock.h
+++ b/include/dt-bindings/clock/hi6220-clock.h
@@ -124,7 +124,10 @@
#define HI6220_CS_DAPB 57
#define HI6220_CS_ATB_DIV 58
-#define HI6220_SYS_NR_CLKS 59
+/* gate clock */
+#define HI6220_DAPB_CLK 59
+
+#define HI6220_SYS_NR_CLKS 60
/* clk in Hi6220 media controller */
/* gate clocks */