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>
This commit is contained in:
Phani Kumar Uppalapati 2016-04-21 22:34:01 -07:00 committed by Kyle Yan
parent db859b609f
commit 6a1f375e9f
3 changed files with 26 additions and 5 deletions

View file

@ -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

View file

@ -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 * 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 * it under the terms of the GNU General Public License version 2 and
@ -13,6 +13,8 @@
#ifndef __MSM_CLOCKS_8996_H #ifndef __MSM_CLOCKS_8996_H
#define __MSM_CLOCKS_8996_H #define __MSM_CLOCKS_8996_H
#include "audio-ext-clk.h"
/* clock_gcc controlled clocks */ /* clock_gcc controlled clocks */
#define clk_cxo_clk_src 0x79e95308 #define clk_cxo_clk_src 0x79e95308
#define clk_pnoc_clk 0x4325d220 #define clk_pnoc_clk 0x4325d220
@ -538,8 +540,4 @@
#define clk_sys_apcsaux_clk 0x0b0dd513 #define clk_sys_apcsaux_clk 0x0b0dd513
#define clk_cpu_debug_mux 0xc7acaa31 #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 #endif

View file

@ -13,6 +13,8 @@
#ifndef __MSM_CLOCKS_COBALT_H #ifndef __MSM_CLOCKS_COBALT_H
#define __MSM_CLOCKS_COBALT_H #define __MSM_CLOCKS_COBALT_H
#include "audio-ext-clk.h"
/* clock_rpm controlled clocks */ /* clock_rpm controlled clocks */
#define clk_ce1_clk 0x42229c55 #define clk_ce1_clk 0x42229c55
#define clk_ce1_a_clk 0x44a833fe #define clk_ce1_a_clk 0x44a833fe