summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/clock/audio-ext-clk.h21
-rw-r--r--include/dt-bindings/clock/msm-clocks-8996.h8
-rw-r--r--include/dt-bindings/clock/msm-clocks-cobalt.h2
3 files changed, 26 insertions, 5 deletions
diff --git a/include/dt-bindings/clock/audio-ext-clk.h b/include/dt-bindings/clock/audio-ext-clk.h
new file mode 100644
index 000000000000..4945d6956293
--- /dev/null
+++ b/include/dt-bindings/clock/audio-ext-clk.h
@@ -0,0 +1,21 @@
+/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __AUDIO_EXT_CLK_H
+#define __AUDIO_EXT_CLK_H
+
+/* Audio External Clocks */
+#define clk_audio_ap_clk 0x9b5727cb
+#define clk_audio_pmi_clk 0xcbfe416d
+#define clk_audio_ap_clk2 0x454d1e91
+#define clk_audio_lpass_mclk 0xf0f2a284
+#endif
diff --git a/include/dt-bindings/clock/msm-clocks-8996.h b/include/dt-bindings/clock/msm-clocks-8996.h
index 82ca331c7057..2f9cfd0e008c 100644
--- a/include/dt-bindings/clock/msm-clocks-8996.h
+++ b/include/dt-bindings/clock/msm-clocks-8996.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -13,6 +13,8 @@
#ifndef __MSM_CLOCKS_8996_H
#define __MSM_CLOCKS_8996_H
+#include "audio-ext-clk.h"
+
/* clock_gcc controlled clocks */
#define clk_cxo_clk_src 0x79e95308
#define clk_pnoc_clk 0x4325d220
@@ -538,8 +540,4 @@
#define clk_sys_apcsaux_clk 0x0b0dd513
#define clk_cpu_debug_mux 0xc7acaa31
-/* Audio External Clocks */
-#define clk_audio_ap_clk 0x312ac429
-#define clk_audio_pmi_clk 0xb7ba2274
-#define clk_audio_ap_clk2 0xf0fbaf5b
#endif
diff --git a/include/dt-bindings/clock/msm-clocks-cobalt.h b/include/dt-bindings/clock/msm-clocks-cobalt.h
index 574ec9c96b82..a63822e56429 100644
--- a/include/dt-bindings/clock/msm-clocks-cobalt.h
+++ b/include/dt-bindings/clock/msm-clocks-cobalt.h
@@ -13,6 +13,8 @@
#ifndef __MSM_CLOCKS_COBALT_H
#define __MSM_CLOCKS_COBALT_H
+#include "audio-ext-clk.h"
+
/* clock_rpm controlled clocks */
#define clk_ce1_clk 0x42229c55
#define clk_ce1_a_clk 0x44a833fe