Commit a56be91b authored by Tuukka Tikkanen's avatar Tuukka Tikkanen Committed by Tony Lindgren

[PATCH] ARM: OMAP: Clock update to support clock idling

Clock update to support clock idling
parent d478ac3e
This diff is collapsed.
...@@ -30,6 +30,8 @@ struct clk { ...@@ -30,6 +30,8 @@ struct clk {
int (*set_rate)(struct clk *, unsigned long); int (*set_rate)(struct clk *, unsigned long);
long (*round_rate)(struct clk *, unsigned long); long (*round_rate)(struct clk *, unsigned long);
void (*init)(struct clk *); void (*init)(struct clk *);
int (*enable)(struct clk *);
void (*disable)(struct clk *);
}; };
...@@ -52,8 +54,9 @@ struct mpu_rate { ...@@ -52,8 +54,9 @@ struct mpu_rate {
#define CLOCK_IN_OMAP16XX 64 #define CLOCK_IN_OMAP16XX 64
#define CLOCK_IN_OMAP1510 128 #define CLOCK_IN_OMAP1510 128
#define CLOCK_IN_OMAP730 256 #define CLOCK_IN_OMAP730 256
#define DSP_DOMAIN_CLOCK 512
#define VIRTUAL_IO_ADDRESS 1024 #define VIRTUAL_IO_ADDRESS 1024
#define CLOCK_IDLE_CONTROL 2048
#define CLOCK_NO_IDLE_PARENT 4096
/* ARM_CKCTL bit shifts */ /* ARM_CKCTL bit shifts */
#define CKCTL_PERDIV_OFFSET 0 #define CKCTL_PERDIV_OFFSET 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment