blob: bc348faf86755091998475d53fbc000baca0dfaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/* Copyright (c) 2013, 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 __ARCH_ARM_MACH_MSM_CLOCK_DSI_8610
#define __ARCH_ARM_MACH_MSM_CLOCK_DSI_8610
#include <linux/clk/msm-clk-provider.h>
struct dsi_pll_vco_clk {
const unsigned long vco_clk_min;
const unsigned long vco_clk_max;
const unsigned pref_div_ratio;
int factor;
struct clk c;
};
extern struct clk_ops clk_ops_dsi_vco;
extern struct clk_ops clk_ops_dsi_byteclk;
extern struct clk_ops clk_ops_dsi_dsiclk;
int dsi_clk_ctrl_init(struct clk *ahb_clk);
#endif
|