blob: 8108c989af65eccafc160f55dbe03001be738476 [file] [log] [blame]
Shashank Babu Chinta Venkata704b93b2017-02-06 15:23:11 -08001
2/*
3 * Copyright (c) 2017, The Linux Foundation. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 and
7 * only version 2 as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14
15#ifndef __MDSS_10NM_PLL_CLK_H
16#define __MDSS_10NM_PLL_CLK_H
17
18/* DSI PLL clocks */
19#define VCO_CLK_0 0
Rajkumar Subbiahb6adb3a2017-06-16 17:08:48 -040020#define PLL_OUT_DIV_0_CLK 1
21#define BITCLK_SRC_0_CLK 2
22#define BYTECLK_SRC_0_CLK 3
23#define POST_BIT_DIV_0_CLK 4
24#define POST_VCO_DIV_0_CLK 5
25#define BYTECLK_MUX_0_CLK 6
26#define PCLK_SRC_MUX_0_CLK 7
27#define PCLK_SRC_0_CLK 8
28#define PCLK_MUX_0_CLK 9
29#define VCO_CLK_1 10
30#define PLL_OUT_DIV_1_CLK 11
31#define BITCLK_SRC_1_CLK 12
32#define BYTECLK_SRC_1_CLK 13
33#define POST_BIT_DIV_1_CLK 14
34#define POST_VCO_DIV_1_CLK 15
35#define BYTECLK_MUX_1_CLK 16
36#define PCLK_SRC_MUX_1_CLK 17
37#define PCLK_SRC_1_CLK 18
38#define PCLK_MUX_1_CLK 19
Padmanabhan Komanduru6f0508d2017-04-28 16:38:57 -070039
40/* DP PLL clocks */
41#define DP_VCO_CLK 0
42#define DP_LINK_CLK_DIVSEL_TEN 1
43#define DP_VCO_DIVIDED_TWO_CLK_SRC 2
44#define DP_VCO_DIVIDED_FOUR_CLK_SRC 3
45#define DP_VCO_DIVIDED_SIX_CLK_SRC 4
46#define DP_VCO_DIVIDED_CLK_SRC_MUX 5
Shashank Babu Chinta Venkata704b93b2017-02-06 15:23:11 -080047#endif