* [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2
@ 2011-07-07 1:36 Kuninori Morimoto
2011-07-07 12:51 ` [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is Magnus Damm
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Kuninori Morimoto @ 2011-07-07 1:36 UTC (permalink / raw)
To: linux-sh
FSI act as peripheral circuits of the SPU2.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
arch/arm/mach-shmobile/board-ap4evb.c | 1 +
arch/arm/mach-shmobile/board-mackerel.c | 1 +
arch/arm/mach-shmobile/clock-sh7372.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index a26f895..4226db6 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -1414,6 +1414,7 @@ static void __init ap4evb_init(void)
hdmi_init_pm_clock();
fsi_init_pm_clock();
sh7372_pm_init();
+ pm_clk_add(&fsi_device.dev, "spu2");
}
static void __init ap4evb_timer_init(void)
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index cc1ccd8..362b883 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
@@ -1587,6 +1587,7 @@ static void __init mackerel_init(void)
hdmi_init_pm_clock();
sh7372_pm_init();
+ pm_clk_add(&fsi_device.dev, "spu2");
}
static void __init mackerel_timer_init(void)
diff --git a/arch/arm/mach-shmobile/clock-sh7372.c b/arch/arm/mach-shmobile/clock-sh7372.c
index c0800d8..91f5779 100644
--- a/arch/arm/mach-shmobile/clock-sh7372.c
+++ b/arch/arm/mach-shmobile/clock-sh7372.c
@@ -662,6 +662,7 @@ static struct clk_lookup lookups[] = {
CLKDEV_ICK_ID("ick", "sh-mobile-hdmi", &div6_reparent_clks[DIV6_HDMI]),
CLKDEV_ICK_ID("icka", "sh_fsi2", &div6_reparent_clks[DIV6_FSIA]),
CLKDEV_ICK_ID("ickb", "sh_fsi2", &div6_reparent_clks[DIV6_FSIB]),
+ CLKDEV_ICK_ID("spu2", "sh_fsi2", &mstp_clks[MSTP223]),
};
void __init sh7372_clock_init(void)
--
1.7.4.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is
2011-07-07 1:36 [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2 Kuninori Morimoto
@ 2011-07-07 12:51 ` Magnus Damm
2011-07-10 8:47 ` [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2 Rafael J. Wysocki
2012-03-01 4:25 ` [PATCH 1/2] ARM: mach-shmobile: sh7372: Add FSI DMAEngine support Kuninori Morimoto
2 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2011-07-07 12:51 UTC (permalink / raw)
To: linux-sh
On Thu, Jul 7, 2011 at 10:36 AM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> FSI act as peripheral circuits of the SPU2.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2
2011-07-07 1:36 [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2 Kuninori Morimoto
2011-07-07 12:51 ` [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is Magnus Damm
@ 2011-07-10 8:47 ` Rafael J. Wysocki
2012-03-01 4:25 ` [PATCH 1/2] ARM: mach-shmobile: sh7372: Add FSI DMAEngine support Kuninori Morimoto
2 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2011-07-10 8:47 UTC (permalink / raw)
To: linux-sh
On Thursday, July 07, 2011, Magnus Damm wrote:
> On Thu, Jul 7, 2011 at 10:36 AM, Kuninori Morimoto
> <kuninori.morimoto.gx@renesas.com> wrote:
> > FSI act as peripheral circuits of the SPU2.
> >
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> Acked-by: Magnus Damm <damm@opensource.se>
Applied to suspend-2.6/pm-domains.
Thanks,
Rafael
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: mach-shmobile: sh7372: Add FSI DMAEngine support
2011-07-07 1:36 [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2 Kuninori Morimoto
2011-07-07 12:51 ` [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is Magnus Damm
2011-07-10 8:47 ` [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2 Rafael J. Wysocki
@ 2012-03-01 4:25 ` Kuninori Morimoto
2 siblings, 0 replies; 4+ messages in thread
From: Kuninori Morimoto @ 2012-03-01 4:25 UTC (permalink / raw)
To: linux-sh
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
arch/arm/mach-shmobile/include/mach/sh7372.h | 2 ++
arch/arm/mach-shmobile/setup-sh7372.c | 10 ++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-shmobile/include/mach/sh7372.h b/arch/arm/mach-shmobile/include/mach/sh7372.h
index 84532f9..26bf8ad 100644
--- a/arch/arm/mach-shmobile/include/mach/sh7372.h
+++ b/arch/arm/mach-shmobile/include/mach/sh7372.h
@@ -457,6 +457,8 @@ enum {
SHDMA_SLAVE_SDHI1_TX,
SHDMA_SLAVE_SDHI2_RX,
SHDMA_SLAVE_SDHI2_TX,
+ SHDMA_SLAVE_FSIA_RX,
+ SHDMA_SLAVE_FSIA_TX,
SHDMA_SLAVE_MMCIF_RX,
SHDMA_SLAVE_MMCIF_TX,
SHDMA_SLAVE_USB0_TX,
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c
index 2380389..780f638 100644
--- a/arch/arm/mach-shmobile/setup-sh7372.c
+++ b/arch/arm/mach-shmobile/setup-sh7372.c
@@ -433,6 +433,16 @@ static const struct sh_dmae_slave_config sh7372_dmae_slaves[] = {
.chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_16BIT),
.mid_rid = 0xce,
}, {
+ .slave_id = SHDMA_SLAVE_FSIA_TX,
+ .addr = 0xfe1f0024,
+ .chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_32BIT),
+ .mid_rid = 0xb1,
+ }, {
+ .slave_id = SHDMA_SLAVE_FSIA_RX,
+ .addr = 0xfe1f0020,
+ .chcr = DM_INC | SM_FIX | 0x800 | TS_INDEX2VAL(XMIT_SZ_32BIT),
+ .mid_rid = 0xb2,
+ }, {
.slave_id = SHDMA_SLAVE_MMCIF_TX,
.addr = 0xe6bd0034,
.chcr = DM_FIX | SM_INC | 0x800 | TS_INDEX2VAL(XMIT_SZ_32BIT),
--
1.7.5.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-01 4:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-07 1:36 [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2 Kuninori Morimoto
2011-07-07 12:51 ` [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is Magnus Damm
2011-07-10 8:47 ` [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2 Rafael J. Wysocki
2012-03-01 4:25 ` [PATCH 1/2] ARM: mach-shmobile: sh7372: Add FSI DMAEngine support Kuninori Morimoto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox