From patchwork Thu Jul 7 01:36:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 951852 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p671f2h9019111 for ; Thu, 7 Jul 2011 01:41:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753543Ab1GGBgt (ORCPT ); Wed, 6 Jul 2011 21:36:49 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:44031 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753193Ab1GGBgt (ORCPT ); Wed, 6 Jul 2011 21:36:49 -0400 Received: by pvg12 with SMTP id 12so102748pvg.19 for ; Wed, 06 Jul 2011 18:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:sender:message-id:to:cc:in-reply-to:references:from:subject :user-agent:mime-version:content-type; bh=QhNkEIBOzFmtQRNeigK4axfScaCUeI0VKoDj/iGvWNA=; b=N0OFF0r9rSpvrpvMv5Ie7eb87ayQXT1RqE0akpb2y4y0TDVtgbW7eGuVyZ8LR9RmjJ hBCyPRhqN5+1bQ+7WCUr05QV21W9uQlsw0xdMrcIjA3d07hd9X8r4RqFMlppYZ/PkQaE LNmeOUuCQO9qbvSjXdjUInwLWZT2EN30HLXyQ= Received: by 10.68.32.101 with SMTP id h5mr337259pbi.158.1310002608958; Wed, 06 Jul 2011 18:36:48 -0700 (PDT) Received: from morimoto-Dell-XPS420.gmail.com (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id u6sm5238407pbh.64.2011.07.06.18.36.43 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Jul 2011 18:36:44 -0700 (PDT) Date: Wed, 06 Jul 2011 18:36:44 -0700 (PDT) Message-ID: <87ei22dg7q.wl%kuninori.morimoto.gx@renesas.com> To: Paul Mundt , Rafael , Magnus Cc: Morimoto , Linux-SH In-Reply-To: <87fwmidg9k.wl%kuninori.morimoto.gx@renesas.com> References: <87fwmidg9k.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2 User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-2022-JP-2?B?R29q?= =?ISO-2022-JP-2?B?GyQoRCtXGyhC?=) APEL/10.8 Emacs/23.2 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Thu, 07 Jul 2011 01:41:02 +0000 (UTC) FSI act as peripheral circuits of the SPU2. Signed-off-by: Kuninori Morimoto Acked-by: Magnus Damm --- 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)