diff options
| author | Phani Kumar Uppalapati <phaniu@codeaurora.org> | 2016-04-21 22:34:01 -0700 |
|---|---|---|
| committer | Kyle Yan <kyan@codeaurora.org> | 2016-04-28 16:38:02 -0700 |
| commit | 6a1f375e9fb1366ef70c8ea7d24ff56a26bd70fb (patch) | |
| tree | 18f9944547f0af06567ec2af5c2a38ffe3300118 /include | |
| parent | db859b609f7b8d62e366837c8e02cc68c28f2aae (diff) | |
dt-bindings: clock: Add audio external clock of_idx entries
Add clock of_idx entries for audio external clock registered
to the msm clock framework.
CRs-fixed: 1006637
Change-Id: Ia300cafb7246c08ba35fb24c2dc79489edb280a3
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/dt-bindings/clock/audio-ext-clk.h | 21 | ||||
| -rw-r--r-- | include/dt-bindings/clock/msm-clocks-8996.h | 8 | ||||
| -rw-r--r-- | include/dt-bindings/clock/msm-clocks-cobalt.h | 2 |
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 |
