summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/ste-db8500-clkout.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-04-15 01:17:47 +0300
committerStephen Boyd <sboyd@kernel.org>2022-04-26 02:17:24 +0300
commit7335631fcd5eecfa84555bd57433e6446d06ad21 (patch)
tree1581db69eded666c947ee969d54f23d0e6c6d18e /include/dt-bindings/clock/ste-db8500-clkout.h
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlinux-7335631fcd5eecfa84555bd57433e6446d06ad21.tar.xz
dt-bindings: clock: u8500: Add clkout clock bindings
This adds device tree bindings for the externally routed clocks CLKOUT1 and CLKOUT2 clocks found in the DB8500. Cc: devicetree@vger.kernel.org Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20220414221751.323525-2-linus.walleij@linaro.org Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/dt-bindings/clock/ste-db8500-clkout.h')
-rw-r--r--include/dt-bindings/clock/ste-db8500-clkout.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/ste-db8500-clkout.h b/include/dt-bindings/clock/ste-db8500-clkout.h
new file mode 100644
index 000000000000..ca07cb2bd1bc
--- /dev/null
+++ b/include/dt-bindings/clock/ste-db8500-clkout.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __STE_CLK_DB8500_CLKOUT_H__
+#define __STE_CLK_DB8500_CLKOUT_H__
+
+#define DB8500_CLKOUT_1 0
+#define DB8500_CLKOUT_2 1
+
+#define DB8500_CLKOUT_SRC_CLK38M 0
+#define DB8500_CLKOUT_SRC_ACLK 1
+#define DB8500_CLKOUT_SRC_SYSCLK 2
+#define DB8500_CLKOUT_SRC_LCDCLK 3
+#define DB8500_CLKOUT_SRC_SDMMCCLK 4
+#define DB8500_CLKOUT_SRC_TVCLK 5
+#define DB8500_CLKOUT_SRC_TIMCLK 6
+#define DB8500_CLKOUT_SRC_CLK009 7
+
+#endif