| From ltsi-dev-bounces@lists.linuxfoundation.org Mon May 28 02:47:40 2012 |
| From: "Shimoda, Yoshihiro" <yoshihiro.shimoda.uh@renesas.com> |
| Date: Mon, 28 May 2012 18:47:36 +0900 |
| Subject: [LTSI-dev] [PATCH 13/21] sh: add parameter for RSPI in clock-sh7757 |
| To: ltsi-dev@lists.linuxfoundation.org |
| Message-ID: <4FC349B8.8010109@renesas.com> |
| |
| |
| >From dc2ff8b7383140efe6afe755620137ea6a156602 Mon Sep 17 00:00:00 2001 |
| From: Shimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com> |
| Date: Wed, 7 Mar 2012 14:46:38 +0900 |
| Subject: sh: add parameter for RSPI in clock-sh7757 |
| |
| Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> |
| Signed-off-by: Paul Mundt <lethal@linux-sh.org> |
| (cherry picked from commit fb4340656fda27bd38914ef382ee3235c23d8f58) |
| |
| Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> |
| --- |
| arch/sh/kernel/cpu/sh4a/clock-sh7757.c | 4 +++- |
| 1 files changed, 3 insertions(+), 1 deletions(-) |
| |
| diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7757.c b/arch/sh/kernel/cpu/sh4a/clock-sh7757.c |
| index 0fbff14..0bd21c8 100644 |
| --- a/arch/sh/kernel/cpu/sh4a/clock-sh7757.c |
| +++ b/arch/sh/kernel/cpu/sh4a/clock-sh7757.c |
| @@ -79,7 +79,7 @@ struct clk div4_clks[DIV4_NR] = { |
| #define MSTPCR1 0xffc80034 |
| #define MSTPCR2 0xffc10028 |
| |
| -enum { MSTP004, MSTP000, MSTP114, MSTP113, MSTP112, |
| +enum { MSTP004, MSTP000, MSTP127, MSTP114, MSTP113, MSTP112, |
| MSTP111, MSTP110, MSTP103, MSTP102, MSTP220, |
| MSTP_NR }; |
| |
| @@ -89,6 +89,7 @@ static struct clk mstp_clks[MSTP_NR] = { |
| [MSTP000] = SH_CLK_MSTP32(&div4_clks[DIV4_P], MSTPCR0, 0, 0), |
| |
| /* MSTPCR1 */ |
| + [MSTP127] = SH_CLK_MSTP32(&div4_clks[DIV4_P], MSTPCR1, 27, 0), |
| [MSTP114] = SH_CLK_MSTP32(&div4_clks[DIV4_P], MSTPCR1, 14, 0), |
| [MSTP113] = SH_CLK_MSTP32(&div4_clks[DIV4_P], MSTPCR1, 13, 0), |
| [MSTP112] = SH_CLK_MSTP32(&div4_clks[DIV4_P], MSTPCR1, 12, 0), |
| @@ -131,6 +132,7 @@ static struct clk_lookup lookups[] = { |
| CLKDEV_CON_ID("usb_fck", &mstp_clks[MSTP103]), |
| CLKDEV_DEV_ID("renesas_usbhs.0", &mstp_clks[MSTP102]), |
| CLKDEV_CON_ID("mmc0", &mstp_clks[MSTP220]), |
| + CLKDEV_CON_ID("rspi2", &mstp_clks[MSTP127]), |
| }; |
| |
| int __init arch_clk_init(void) |
| -- |
| 1.7.1 |
| _______________________________________________ |
| LTSI-dev mailing list |
| LTSI-dev@lists.linuxfoundation.org |
| https://lists.linuxfoundation.org/mailman/listinfo/ltsi-dev |
| |