Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 74 lines (62 sloc) 2.49 kb
4bc042b initial public release v1.50
Patrick Titiano authored
1 /*
2 *
3 * @Component OMAPCONF
4 * @Filename pmi44xx_voltdm.h
5 * @Description OMAP4 PMI Voltage Domain OPP Change Trace
6 * Decoding library
7 * @Author Patrick Titiano (p-titiano@ti.com)
8 * @Date 2011
9 * @Copyright Texas Instruments Incorporated
10 *
11 *
12 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
13 *
14 *
15 * Redistribution and use in source and binary forms, with or without
16 * modification, are permitted provided that the following conditions
17 * are met:
18 *
19 * Redistributions of source code must retain the above copyright
20 * notice, this list of conditions and the following disclaimer.
21 *
22 * Redistributions in binary form must reproduce the above copyright
23 * notice, this list of conditions and the following disclaimer in the
24 * documentation and/or other materials provided with the
25 * distribution.
26 *
27 * Neither the name of Texas Instruments Incorporated nor the names of
28 * its contributors may be used to endorse or promote products derived
29 * from this software without specific prior written permission.
30 *
31 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
34 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
36 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
37 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
38 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
39 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
40 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
41 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42 *
43 */
44
45
46 #ifndef __PMI44XX_VOLTDM_H__
47 #define __PMI44XX_VOLTDM_H__
48
49 #include <pmi44xx.h>
50 #include <genlist.h>
51
52
53 typedef enum {
54 PMI44XX_VOLTDM_LOGIC_MPU = 0,
55 PMI44XX_VOLTDM_LOGIC_IVA = 1,
56 PMI44XX_VOLTDM_LOGIC_CORE = 2,
57 PMI44XX_VOLTDM_LOGIC_MAX = 3
58 } pmi44xx_logic_voltdm_id;
59
60
61 typedef enum {
62 PMI44XX_VOLTDM_MEM_MPU = 0,
63 PMI44XX_VOLTDM_MEM_IVA = 1,
64 PMI44XX_VOLTDM_MEM_CORE = 2,
65 PMI44XX_VOLTDM_MEM_MAX = 3
66 } pmi44xx_mem_voltdm_id;
67
68
69 int pmi44xx_voltdm_transitions_extract(char *filename, genlist *transitions);
70 int pmi44xx_voltdm_transitions_save(genlist *transitions, double duration);
71
72
73 #endif
Something went wrong with that request. Please try again.