]>
Commit | Line | Data |
---|---|---|
48510c08 TR |
1 | #ifndef _TEGRA_POWERGATE_H_ |
2 | #define _TEGRA_POWERGATE_H_ | |
3 | ||
4 | #include <asm/arch/clock.h> | |
5 | ||
6 | enum tegra_powergate { | |
7 | TEGRA_POWERGATE_CPU, | |
8 | TEGRA_POWERGATE_3D, | |
9 | TEGRA_POWERGATE_VENC, | |
10 | TEGRA_POWERGATE_PCIE, | |
11 | TEGRA_POWERGATE_VDEC, | |
12 | TEGRA_POWERGATE_L2, | |
13 | TEGRA_POWERGATE_MPE, | |
14 | TEGRA_POWERGATE_HEG, | |
15 | TEGRA_POWERGATE_SATA, | |
16 | TEGRA_POWERGATE_CPU1, | |
17 | TEGRA_POWERGATE_CPU2, | |
18 | TEGRA_POWERGATE_CPU3, | |
19 | TEGRA_POWERGATE_CELP, | |
20 | TEGRA_POWERGATE_3D1, | |
21 | TEGRA_POWERGATE_CPU0, | |
22 | TEGRA_POWERGATE_C0NC, | |
23 | TEGRA_POWERGATE_C1NC, | |
24 | TEGRA_POWERGATE_SOR, | |
25 | TEGRA_POWERGATE_DIS, | |
26 | TEGRA_POWERGATE_DISB, | |
27 | TEGRA_POWERGATE_XUSBA, | |
28 | TEGRA_POWERGATE_XUSBB, | |
29 | TEGRA_POWERGATE_XUSBC, | |
30 | TEGRA_POWERGATE_VIC, | |
31 | TEGRA_POWERGATE_IRAM, | |
32 | }; | |
33 | ||
34 | int tegra_powergate_sequence_power_up(enum tegra_powergate id, | |
35 | enum periph_id periph); | |
91a34ed9 | 36 | int tegra_powergate_power_on(enum tegra_powergate id); |
48510c08 TR |
37 | int tegra_powergate_power_off(enum tegra_powergate id); |
38 | ||
39 | #endif |