1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 3 * TI DaVinci platform support for power manag 4 * 5 * Copyright (C) 2009 Texas Instruments, Inc. 6 */ 7 #ifndef _MACH_DAVINCI_PM_H 8 #define _MACH_DAVINCI_PM_H 9 10 /* 11 * Caution: Assembly code in sleep.S makes ass 12 * of the members of this structure. 13 */ 14 struct davinci_pm_config { 15 void __iomem *ddr2_ctlr_base; 16 void __iomem *ddrpsc_reg_base; 17 int ddrpsc_num; 18 void __iomem *ddrpll_reg_base; 19 void __iomem *deepsleep_reg; 20 void __iomem *cpupll_reg_base; 21 /* 22 * Note on SLEEPCOUNT: 23 * The SLEEPCOUNT feature is mainly in 24 * the internal oscillator is used. Th 25 * fully disabled in deep sleep mode. 26 * mode, the oscillator will be turned 27 * small oscillations which will not b 28 * counter. Eventually those oscillat 29 * large enough to start incrementing 30 * In this case recommendation from ha 31 * SLEEPCOUNT be set to 4096. This me 32 * must be detected before the clock i 33 * system. 34 * In the case that the internal oscil 35 * clock is generated externally, the 36 * small since the clock input is assu 37 * is taken out of deepsleep mode. A 38 * adequate. 39 */ 40 int sleepcount; 41 }; 42 43 extern unsigned int davinci_cpu_suspend_sz; 44 extern void davinci_cpu_suspend(struct davinci 45 46 #endif 47
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.