Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4dc50a06 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Kill off timer clock strings for legacy CPG parts.



Now with the lookup aliases in place there is no longer any need to
provide the clock string, kill it off for all legacy CPG CPUs.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 0776d602
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -130,7 +130,6 @@ static struct platform_device eth_device = {
static struct sh_timer_config cmt0_platform_data = {
	.channel_offset = 0x02,
	.timer_bit = 0,
	.clk = "peripheral_clk",
	.clockevent_rating = 125,
	.clocksource_rating = 0, /* disabled due to code generation issues */
};
@@ -160,7 +159,6 @@ static struct platform_device cmt0_device = {
static struct sh_timer_config cmt1_platform_data = {
	.channel_offset = 0x08,
	.timer_bit = 1,
	.clk = "peripheral_clk",
	.clockevent_rating = 125,
	.clocksource_rating = 0, /* disabled due to code generation issues */
};
+0 −3
Original line number Diff line number Diff line
@@ -117,7 +117,6 @@ static DECLARE_INTC_DESC(intc_desc, "mxg", vectors, groups,
static struct sh_timer_config mtu2_0_platform_data = {
	.channel_offset = -0x80,
	.timer_bit = 0,
	.clk = "peripheral_clk",
	.clockevent_rating = 200,
};

@@ -146,7 +145,6 @@ static struct platform_device mtu2_0_device = {
static struct sh_timer_config mtu2_1_platform_data = {
	.channel_offset = -0x100,
	.timer_bit = 1,
	.clk = "peripheral_clk",
	.clockevent_rating = 200,
};

@@ -175,7 +173,6 @@ static struct platform_device mtu2_1_device = {
static struct sh_timer_config mtu2_2_platform_data = {
	.channel_offset = 0x80,
	.timer_bit = 2,
	.clk = "peripheral_clk",
	.clockevent_rating = 200,
};

+0 −3
Original line number Diff line number Diff line
@@ -320,7 +320,6 @@ static struct platform_device rtc_device = {
static struct sh_timer_config mtu2_0_platform_data = {
	.channel_offset = -0x80,
	.timer_bit = 0,
	.clk = "peripheral_clk",
	.clockevent_rating = 200,
};

@@ -349,7 +348,6 @@ static struct platform_device mtu2_0_device = {
static struct sh_timer_config mtu2_1_platform_data = {
	.channel_offset = -0x100,
	.timer_bit = 1,
	.clk = "peripheral_clk",
	.clockevent_rating = 200,
};

@@ -378,7 +376,6 @@ static struct platform_device mtu2_1_device = {
static struct sh_timer_config mtu2_2_platform_data = {
	.channel_offset = 0x80,
	.timer_bit = 2,
	.clk = "peripheral_clk",
	.clockevent_rating = 200,
};

+0 −4
Original line number Diff line number Diff line
@@ -236,7 +236,6 @@ static struct platform_device scif3_device = {
static struct sh_timer_config cmt0_platform_data = {
	.channel_offset = 0x02,
	.timer_bit = 0,
	.clk = "peripheral_clk",
	.clockevent_rating = 125,
	.clocksource_rating = 0, /* disabled due to code generation issues */
};
@@ -266,7 +265,6 @@ static struct platform_device cmt0_device = {
static struct sh_timer_config cmt1_platform_data = {
	.channel_offset = 0x08,
	.timer_bit = 1,
	.clk = "peripheral_clk",
	.clockevent_rating = 125,
	.clocksource_rating = 0, /* disabled due to code generation issues */
};
@@ -296,7 +294,6 @@ static struct platform_device cmt1_device = {
static struct sh_timer_config mtu2_0_platform_data = {
	.channel_offset = -0x80,
	.timer_bit = 0,
	.clk = "peripheral_clk",
	.clockevent_rating = 200,
};

@@ -325,7 +322,6 @@ static struct platform_device mtu2_0_device = {
static struct sh_timer_config mtu2_1_platform_data = {
	.channel_offset = -0x100,
	.timer_bit = 1,
	.clk = "peripheral_clk",
	.clockevent_rating = 200,
};

+0 −5
Original line number Diff line number Diff line
@@ -196,7 +196,6 @@ static struct platform_device scif3_device = {
static struct sh_timer_config cmt0_platform_data = {
	.channel_offset = 0x02,
	.timer_bit = 0,
	.clk = "peripheral_clk",
	.clockevent_rating = 125,
	.clocksource_rating = 0, /* disabled due to code generation issues */
};
@@ -226,7 +225,6 @@ static struct platform_device cmt0_device = {
static struct sh_timer_config cmt1_platform_data = {
	.channel_offset = 0x08,
	.timer_bit = 1,
	.clk = "peripheral_clk",
	.clockevent_rating = 125,
	.clocksource_rating = 0, /* disabled due to code generation issues */
};
@@ -256,7 +254,6 @@ static struct platform_device cmt1_device = {
static struct sh_timer_config mtu2_0_platform_data = {
	.channel_offset = -0x80,
	.timer_bit = 0,
	.clk = "peripheral_clk",
	.clockevent_rating = 200,
};

@@ -285,7 +282,6 @@ static struct platform_device mtu2_0_device = {
static struct sh_timer_config mtu2_1_platform_data = {
	.channel_offset = -0x100,
	.timer_bit = 1,
	.clk = "peripheral_clk",
	.clockevent_rating = 200,
};

@@ -314,7 +310,6 @@ static struct platform_device mtu2_1_device = {
static struct sh_timer_config mtu2_2_platform_data = {
	.channel_offset = 0x80,
	.timer_bit = 2,
	.clk = "peripheral_clk",
	.clockevent_rating = 200,
};

Loading