Kuninori Morimoto | 8f45b11 | 2012-07-05 01:24:46 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Renesas Solutions Corp. |
| 3 | * |
| 4 | * Kuninori Morimoto <morimoto.kuninori@renesas.com> |
| 5 | * |
| 6 | * This file is subject to the terms and conditions of the GNU General Public |
| 7 | * License. See the file "COPYING" in the main directory of this archive |
| 8 | * for more details. |
| 9 | */ |
| 10 | #ifndef PM_RMOBILE_H |
| 11 | #define PM_RMOBILE_H |
| 12 | |
| 13 | #include <linux/pm_domain.h> |
| 14 | |
Kuninori Morimoto | 8f45b11 | 2012-07-05 01:24:46 -0700 | [diff] [blame] | 15 | struct rmobile_pm_domain { |
| 16 | struct generic_pm_domain genpd; |
| 17 | struct dev_power_governor *gov; |
| 18 | int (*suspend)(void); |
| 19 | void (*resume)(void); |
Geert Uytterhoeven | 25717b8 | 2014-12-03 14:41:44 +0100 | [diff] [blame] | 20 | void __iomem *base; |
Kuninori Morimoto | 8f45b11 | 2012-07-05 01:24:46 -0700 | [diff] [blame] | 21 | unsigned int bit_shift; |
| 22 | bool no_debug; |
| 23 | }; |
| 24 | |
Kuninori Morimoto | 8f45b11 | 2012-07-05 01:24:46 -0700 | [diff] [blame] | 25 | #endif /* PM_RMOBILE_H */ |