mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
OMAP4 clock: drop the ALWAYS_ENABLED clock flag
Get rid of the ALWAYS_ENABLED clock flag - it doesn't actually do anything. (The OMAP4 clock autogeneration scripts have been updated accordingly.) Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Rajendra Nayak <rnayak@ti.com> Cc: Benoît Cousson <b-cousson@ti.com>
This commit is contained in:
parent
51c1954162
commit
53c92d8f20
@ -39,42 +39,36 @@ static struct clk extalt_clkin_ck = {
|
||||
.name = "extalt_clkin_ck",
|
||||
.rate = 59000000,
|
||||
.ops = &clkops_null,
|
||||
.flags = ALWAYS_ENABLED,
|
||||
};
|
||||
|
||||
static struct clk pad_clks_ck = {
|
||||
.name = "pad_clks_ck",
|
||||
.rate = 12000000,
|
||||
.ops = &clkops_null,
|
||||
.flags = ALWAYS_ENABLED,
|
||||
};
|
||||
|
||||
static struct clk pad_slimbus_core_clks_ck = {
|
||||
.name = "pad_slimbus_core_clks_ck",
|
||||
.rate = 12000000,
|
||||
.ops = &clkops_null,
|
||||
.flags = ALWAYS_ENABLED,
|
||||
};
|
||||
|
||||
static struct clk secure_32k_clk_src_ck = {
|
||||
.name = "secure_32k_clk_src_ck",
|
||||
.rate = 32768,
|
||||
.ops = &clkops_null,
|
||||
.flags = ALWAYS_ENABLED,
|
||||
};
|
||||
|
||||
static struct clk slimbus_clk = {
|
||||
.name = "slimbus_clk",
|
||||
.rate = 12000000,
|
||||
.ops = &clkops_null,
|
||||
.flags = ALWAYS_ENABLED,
|
||||
};
|
||||
|
||||
static struct clk sys_32k_ck = {
|
||||
.name = "sys_32k_ck",
|
||||
.rate = 32768,
|
||||
.ops = &clkops_null,
|
||||
.flags = ALWAYS_ENABLED,
|
||||
};
|
||||
|
||||
static struct clk virt_12000000_ck = {
|
||||
@ -179,35 +173,30 @@ static struct clk sys_clkin_ck = {
|
||||
.clksel_mask = OMAP4430_SYS_CLKSEL_MASK,
|
||||
.ops = &clkops_null,
|
||||
.recalc = &omap2_clksel_recalc,
|
||||
.flags = ALWAYS_ENABLED,
|
||||
};
|
||||
|
||||
static struct clk utmi_phy_clkout_ck = {
|
||||
.name = "utmi_phy_clkout_ck",
|
||||
.rate = 12000000,
|
||||
.ops = &clkops_null,
|
||||
.flags = ALWAYS_ENABLED,
|
||||
};
|
||||
|
||||
static struct clk xclk60mhsp1_ck = {
|
||||
.name = "xclk60mhsp1_ck",
|
||||
.rate = 12000000,
|
||||
.ops = &clkops_null,
|
||||
.flags = ALWAYS_ENABLED,
|
||||
};
|
||||
|
||||
static struct clk xclk60mhsp2_ck = {
|
||||
.name = "xclk60mhsp2_ck",
|
||||
.rate = 12000000,
|
||||
.ops = &clkops_null,
|
||||
.flags = ALWAYS_ENABLED,
|
||||
};
|
||||
|
||||
static struct clk xclk60motg_ck = {
|
||||
.name = "xclk60motg_ck",
|
||||
.rate = 60000000,
|
||||
.ops = &clkops_null,
|
||||
.flags = ALWAYS_ENABLED,
|
||||
};
|
||||
|
||||
/* Module clocks and DPLL outputs */
|
||||
|
@ -191,7 +191,6 @@ extern const struct clkops clkops_null;
|
||||
#define CLOCK_NO_IDLE_PARENT (1 << 2)
|
||||
#define ENABLE_ON_INIT (1 << 3) /* Enable upon framework init */
|
||||
#define INVERT_ENABLE (1 << 4) /* 0 enables, 1 disables */
|
||||
#define ALWAYS_ENABLED (1 << 5)
|
||||
|
||||
/* Clksel_rate flags */
|
||||
#define DEFAULT_RATE (1 << 0)
|
||||
|
Loading…
Reference in New Issue
Block a user