summaryrefslogtreecommitdiffstats
path: root/kernel/include/dt-bindings/clock/maxim,max77802.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/dt-bindings/clock/maxim,max77802.h')
-rw-r--r--kernel/include/dt-bindings/clock/maxim,max77802.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/kernel/include/dt-bindings/clock/maxim,max77802.h b/kernel/include/dt-bindings/clock/maxim,max77802.h
new file mode 100644
index 000000000..997312edc
--- /dev/null
+++ b/kernel/include/dt-bindings/clock/maxim,max77802.h
@@ -0,0 +1,22 @@
+/*
+ * 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 77802 PMIC.
+ */
+
+#ifndef _DT_BINDINGS_CLOCK_MAXIM_MAX77802_CLOCK_H
+#define _DT_BINDINGS_CLOCK_MAXIM_MAX77802_CLOCK_H
+
+/* Fixed rate clocks. */
+
+#define MAX77802_CLK_32K_AP 0
+#define MAX77802_CLK_32K_CP 1
+
+/* Total number of clocks. */
+#define MAX77802_CLKS_NUM (MAX77802_CLK_32K_CP + 1)
+
+#endif /* _DT_BINDINGS_CLOCK_MAXIM_MAX77802_CLOCK_H */