aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/clock/ste-ab8500.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-01-13 16:08:42 +0100
committerStephen Boyd <sboyd@codeaurora.org>2017-01-26 16:10:02 -0800
commit55921ce27695325e7bab667ccc7e4ada81a74f02 (patch)
treea2efe74cf6839dac0e01d7f539189c5119046466 /include/dt-bindings/clock/ste-ab8500.h
parentclk: ux500: Add device tree bindings for ABx500 clocks (diff)
downloadlinux-dev-55921ce27695325e7bab667ccc7e4ada81a74f02.tar.xz
linux-dev-55921ce27695325e7bab667ccc7e4ada81a74f02.zip
clk: ux500: Convert ABx500 clocks to use OF probing
These clocks have been broken for a long time unfortunately, a hurdle of misc problems made them stop working at some point breaking USB and audio on Ux500. The platform as such and all "regular" clocks are migrated to OF/device tree, so let's migrate also this driver. With this patch and the corresponding DTS fixes, and a bunch of probe deferral fixes, audio starts working again on Ux500. Cc: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'include/dt-bindings/clock/ste-ab8500.h')
-rw-r--r--include/dt-bindings/clock/ste-ab8500.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/ste-ab8500.h b/include/dt-bindings/clock/ste-ab8500.h
new file mode 100644
index 000000000000..6731f1f00a84
--- /dev/null
+++ b/include/dt-bindings/clock/ste-ab8500.h
@@ -0,0 +1,11 @@
+#ifndef __STE_CLK_AB8500_H__
+#define __STE_CLK_AB8500_H__
+
+#define AB8500_SYSCLK_BUF2 0
+#define AB8500_SYSCLK_BUF3 1
+#define AB8500_SYSCLK_BUF4 2
+#define AB8500_SYSCLK_ULP 3
+#define AB8500_SYSCLK_INT 4
+#define AB8500_SYSCLK_AUDIO 5
+
+#endif