diff options
| author | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
| commit | c74a7469f97c0f40b46e82ee979f9fb1bb6e847c (patch) | |
| tree | f2690a1a916b73ef94657fbf0e0141ae57701825 /arch/arm/mach-omap2/clockdomain.h | |
| parent | 6f15a7de86c8cf2dc09fc9e6d07047efa40ef809 (diff) | |
| parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
Merge drm/drm-next into drm-intel-next-queued
We need a backmerge to get DP_DPCD_REV_14 before we push other
i915 changes to dinq that could break compilation.
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'arch/arm/mach-omap2/clockdomain.h')
| -rw-r--r-- | arch/arm/mach-omap2/clockdomain.h | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/arch/arm/mach-omap2/clockdomain.h b/arch/arm/mach-omap2/clockdomain.h index 24667a5a9dc0..c7d0953e4aa2 100644 --- a/arch/arm/mach-omap2/clockdomain.h +++ b/arch/arm/mach-omap2/clockdomain.h @@ -141,6 +141,7 @@ struct clockdomain {  	int usecount;  	int forcewake_count;  	struct list_head node; +	u32 context;  };  /** @@ -159,6 +160,8 @@ struct clockdomain {   * @clkdm_deny_idle: Disable hw supervised idle transitions for clock domain   * @clkdm_clk_enable: Put the clkdm in right state for a clock enable   * @clkdm_clk_disable: Put the clkdm in right state for a clock disable + * @clkdm_save_context: Save the current clkdm context + * @clkdm_restore_context: Restore the clkdm context   */  struct clkdm_ops {  	int	(*clkdm_add_wkdep)(struct clockdomain *clkdm1, struct clockdomain *clkdm2); @@ -175,6 +178,8 @@ struct clkdm_ops {  	void	(*clkdm_deny_idle)(struct clockdomain *clkdm);  	int	(*clkdm_clk_enable)(struct clockdomain *clkdm);  	int	(*clkdm_clk_disable)(struct clockdomain *clkdm); +	int	(*clkdm_save_context)(struct clockdomain *clkdm); +	int	(*clkdm_restore_context)(struct clockdomain *clkdm);  };  int clkdm_register_platform_funcs(struct clkdm_ops *co); @@ -214,6 +219,9 @@ int clkdm_clk_disable(struct clockdomain *clkdm, struct clk *clk);  int clkdm_hwmod_enable(struct clockdomain *clkdm, struct omap_hwmod *oh);  int clkdm_hwmod_disable(struct clockdomain *clkdm, struct omap_hwmod *oh); +void clkdm_save_context(void); +void clkdm_restore_context(void); +  extern void __init omap242x_clockdomains_init(void);  extern void __init omap243x_clockdomains_init(void);  extern void __init omap3xxx_clockdomains_init(void); |