Skip to content
Newer
Older
100644 94 lines (81 sloc) 2.92 KB
4bc042b initial public release v1.50
Patrick Titiano authored Sep 21, 2012
1 /*
2 *
3 * @Component OMAPCONF
4 * @Filename dpll54xx-data.h
5 * @Description OMAP5 DPLL Definitions
6 * @Author Patrick Titiano (p-titiano@ti.com)
7 * @Date 2011
8 * @Copyright Texas Instruments Incorporated
9 *
10 *
11 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
12 *
13 *
14 * Redistribution and use in source and binary forms, with or without
15 * modification, are permitted provided that the following conditions
16 * are met:
17 *
18 * Redistributions of source code must retain the above copyright
19 * notice, this list of conditions and the following disclaimer.
20 *
21 * Redistributions in binary form must reproduce the above copyright
22 * notice, this list of conditions and the following disclaimer in the
23 * documentation and/or other materials provided with the
24 * distribution.
25 *
26 * Neither the name of Texas Instruments Incorporated nor the names of
27 * its contributors may be used to endorse or promote products derived
28 * from this software without specific prior written permission.
29 *
30 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
31 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
32 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
33 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
34 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
35 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
36 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
37 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
38 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
39 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
40 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41 *
42 */
43
44
45 #ifndef __DPLL54XX_DATA_H__
46 #define __DPLL54XX_DATA_H__
47
48
49 #include <dpll54xx.h>
50 #include <voltdm54xx.h>
51
52
53 typedef struct {
54 /* Common DPLL type A & B */
55 dpll_status status;
56 dpll_mode mode;
57 dpll_autoidle_mode autoidle_mode;
58 double fref;
59 int M;
60 int N;
61 double fdpll;
62 int M2;
63 double M2_rate;
64 /* DPLL type A only */
65 int dcc_en;
66 short regm4xen;
67 double X2_M2_rate;
68 int M3;
69 double X2_M3_rate;
70 /* DPLL type B only */
71 int sd_div;
72 short selfreqdco;
73 double clkdcoldo_rate;
74 /* OMAP5 ONLY */
75 int hsdiv_div[HSDIV54XX_ID_MAX];
76 double hsdiv_rate[HSDIV54XX_ID_MAX];
77 } dpll54xx_audited_settings;
78
79
80 extern const char dpll54xx_names[DPLL54XX_ID_MAX][DPLL_MAX_NAME_LENGTH];
81 extern const char hsdiv54xx_names[HSDIV54XX_ID_MAX][HSDIV_MAX_NAME_LENGTH];
82 extern const char
83 dpll54xx_output_names[DPLL54XX_OUTPUT_ID_MAX][DPLL_OUTPUT_MAX_NAME_LENGTH];
84 extern const dpll_clk_sources dpll54xx_sources[DPLL54XX_ID_MAX];
85
86 extern dpll54xx_audited_settings
87 *dpll54xx_golden_settings_19_2MHz_table[DPLL54XX_ID_MAX][OPP54XX_ID_MAX];
88
89 extern dpll54xx_audited_settings
90 *dpll54xx_golden_settings_38_4MHz_table[DPLL54XX_ID_MAX][OPP54XX_ID_MAX];
91
92
93 #endif
Something went wrong with that request. Please try again.