* [PATCH 1/2] ARM: S3C64XX: Add USB external clock definition
@ 2010-05-17 18:17 ` Maurus Cuelenaere
0 siblings, 0 replies; 4+ messages in thread
From: Maurus Cuelenaere @ 2010-05-17 18:17 UTC (permalink / raw)
To: linux-samsung-soc, linux-arm-kernel; +Cc: Ben Dooks
This adds the xusbxti clock to S3C64XX platform.
Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
---
arch/arm/mach-s3c64xx/clock.c | 7 +++++++
arch/arm/plat-samsung/include/plat/clock.h | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c
index 2ac2e7d..6830bb7 100644
--- a/arch/arm/mach-s3c64xx/clock.c
+++ b/arch/arm/mach-s3c64xx/clock.c
@@ -88,6 +88,12 @@ struct clk clk_48m = {
.enable = clk_48m_ctrl,
};
+struct clk clk_xusbxti = {
+ .name = "xusbxti",
+ .id = -1,
+ .rate = 48000000,
+};
+
static int inline s3c64xx_gate(void __iomem *reg,
struct clk *clk,
int enable)
@@ -762,6 +768,7 @@ static struct clk *clks[] __initdata = {
&clk_27m,
&clk_48m,
&clk_h2,
+ &clk_xusbxti,
};
/**
diff --git a/arch/arm/plat-samsung/include/plat/clock.h b/arch/arm/plat-samsung/include/plat/clock.h
index 60b6269..efbc984 100644
--- a/arch/arm/plat-samsung/include/plat/clock.h
+++ b/arch/arm/plat-samsung/include/plat/clock.h
@@ -74,6 +74,7 @@ extern struct clk clk_ext;
extern struct clk clk_h2;
extern struct clk clk_27m;
extern struct clk clk_48m;
+extern struct clk clk_xusbxti;
extern int clk_default_setrate(struct clk *clk, unsigned long rate);
extern struct clk_ops clk_ops_def_setrate;
--
1.7.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: S3C64XX: Add USB external clock definition
@ 2010-05-17 18:17 ` Maurus Cuelenaere
0 siblings, 0 replies; 4+ messages in thread
From: Maurus Cuelenaere @ 2010-05-17 18:17 UTC (permalink / raw)
To: linux-arm-kernel
This adds the xusbxti clock to S3C64XX platform.
Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
---
arch/arm/mach-s3c64xx/clock.c | 7 +++++++
arch/arm/plat-samsung/include/plat/clock.h | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c
index 2ac2e7d..6830bb7 100644
--- a/arch/arm/mach-s3c64xx/clock.c
+++ b/arch/arm/mach-s3c64xx/clock.c
@@ -88,6 +88,12 @@ struct clk clk_48m = {
.enable = clk_48m_ctrl,
};
+struct clk clk_xusbxti = {
+ .name = "xusbxti",
+ .id = -1,
+ .rate = 48000000,
+};
+
static int inline s3c64xx_gate(void __iomem *reg,
struct clk *clk,
int enable)
@@ -762,6 +768,7 @@ static struct clk *clks[] __initdata = {
&clk_27m,
&clk_48m,
&clk_h2,
+ &clk_xusbxti,
};
/**
diff --git a/arch/arm/plat-samsung/include/plat/clock.h b/arch/arm/plat-samsung/include/plat/clock.h
index 60b6269..efbc984 100644
--- a/arch/arm/plat-samsung/include/plat/clock.h
+++ b/arch/arm/plat-samsung/include/plat/clock.h
@@ -74,6 +74,7 @@ extern struct clk clk_ext;
extern struct clk clk_h2;
extern struct clk clk_27m;
extern struct clk clk_48m;
+extern struct clk clk_xusbxti;
extern int clk_default_setrate(struct clk *clk, unsigned long rate);
extern struct clk_ops clk_ops_def_setrate;
--
1.7.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] ARM: S3C64XX: Add USB external clock definition
2010-05-17 18:17 ` Maurus Cuelenaere
@ 2010-05-18 9:29 ` Ben Dooks
-1 siblings, 0 replies; 4+ messages in thread
From: Ben Dooks @ 2010-05-18 9:29 UTC (permalink / raw)
To: Maurus Cuelenaere; +Cc: linux-samsung-soc, linux-arm-kernel, Ben Dooks
On Mon, May 17, 2010 at 08:17:42PM +0200, Maurus Cuelenaere wrote:
> This adds the xusbxti clock to S3C64XX platform.
ok, applied to for-2635/s3c6410-clock
> Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
> ---
> arch/arm/mach-s3c64xx/clock.c | 7 +++++++
> arch/arm/plat-samsung/include/plat/clock.h | 1 +
> 2 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c
> index 2ac2e7d..6830bb7 100644
> --- a/arch/arm/mach-s3c64xx/clock.c
> +++ b/arch/arm/mach-s3c64xx/clock.c
> @@ -88,6 +88,12 @@ struct clk clk_48m = {
> .enable = clk_48m_ctrl,
> };
>
> +struct clk clk_xusbxti = {
> + .name = "xusbxti",
> + .id = -1,
> + .rate = 48000000,
> +};
> +
> static int inline s3c64xx_gate(void __iomem *reg,
> struct clk *clk,
> int enable)
> @@ -762,6 +768,7 @@ static struct clk *clks[] __initdata = {
> &clk_27m,
> &clk_48m,
> &clk_h2,
> + &clk_xusbxti,
> };
>
> /**
> diff --git a/arch/arm/plat-samsung/include/plat/clock.h b/arch/arm/plat-samsung/include/plat/clock.h
> index 60b6269..efbc984 100644
> --- a/arch/arm/plat-samsung/include/plat/clock.h
> +++ b/arch/arm/plat-samsung/include/plat/clock.h
> @@ -74,6 +74,7 @@ extern struct clk clk_ext;
> extern struct clk clk_h2;
> extern struct clk clk_27m;
> extern struct clk clk_48m;
> +extern struct clk clk_xusbxti;
>
> extern int clk_default_setrate(struct clk *clk, unsigned long rate);
> extern struct clk_ops clk_ops_def_setrate;
> --
> 1.7.1
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: S3C64XX: Add USB external clock definition
@ 2010-05-18 9:29 ` Ben Dooks
0 siblings, 0 replies; 4+ messages in thread
From: Ben Dooks @ 2010-05-18 9:29 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, May 17, 2010 at 08:17:42PM +0200, Maurus Cuelenaere wrote:
> This adds the xusbxti clock to S3C64XX platform.
ok, applied to for-2635/s3c6410-clock
> Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
> ---
> arch/arm/mach-s3c64xx/clock.c | 7 +++++++
> arch/arm/plat-samsung/include/plat/clock.h | 1 +
> 2 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c
> index 2ac2e7d..6830bb7 100644
> --- a/arch/arm/mach-s3c64xx/clock.c
> +++ b/arch/arm/mach-s3c64xx/clock.c
> @@ -88,6 +88,12 @@ struct clk clk_48m = {
> .enable = clk_48m_ctrl,
> };
>
> +struct clk clk_xusbxti = {
> + .name = "xusbxti",
> + .id = -1,
> + .rate = 48000000,
> +};
> +
> static int inline s3c64xx_gate(void __iomem *reg,
> struct clk *clk,
> int enable)
> @@ -762,6 +768,7 @@ static struct clk *clks[] __initdata = {
> &clk_27m,
> &clk_48m,
> &clk_h2,
> + &clk_xusbxti,
> };
>
> /**
> diff --git a/arch/arm/plat-samsung/include/plat/clock.h b/arch/arm/plat-samsung/include/plat/clock.h
> index 60b6269..efbc984 100644
> --- a/arch/arm/plat-samsung/include/plat/clock.h
> +++ b/arch/arm/plat-samsung/include/plat/clock.h
> @@ -74,6 +74,7 @@ extern struct clk clk_ext;
> extern struct clk clk_h2;
> extern struct clk clk_27m;
> extern struct clk clk_48m;
> +extern struct clk clk_xusbxti;
>
> extern int clk_default_setrate(struct clk *clk, unsigned long rate);
> extern struct clk_ops clk_ops_def_setrate;
> --
> 1.7.1
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-18 9:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-17 18:17 [PATCH 1/2] ARM: S3C64XX: Add USB external clock definition Maurus Cuelenaere
2010-05-17 18:17 ` Maurus Cuelenaere
2010-05-18 9:29 ` Ben Dooks
2010-05-18 9:29 ` Ben Dooks
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.