summaryrefslogtreecommitdiffstats
path: root/kernel/include/dt-bindings/clock/maxim,max77686.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/dt-bindings/clock/maxim,max77686.h')
-rw-r--r--kernel/include/dt-bindings/clock/maxim,max77686.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/kernel/include/dt-bindings/clock/maxim,max77686.h b/kernel/include/dt-bindings/clock/maxim,max77686.h
new file mode 100644
index 000000000..7b28b0905
--- /dev/null
+++ b/kernel/include/dt-bindings/clock/maxim,max77686.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2014 Google, Inc
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Device Tree binding constants clocks for the Maxim 77686 PMIC.
+ */
+
+#ifndef _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H
+#define _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H
+
+/* Fixed rate clocks. */
+
+#define MAX77686_CLK_AP 0
+#define MAX77686_CLK_CP 1
+#define MAX77686_CLK_PMIC 2
+
+/* Total number of clocks. */
+#define MAX77686_CLKS_NUM (MAX77686_CLK_PMIC + 1)
+
+#endif /* _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H */