From patchwork Wed Aug 7 15:09:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Moll X-Patchwork-Id: 265526 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from casper.infradead.org (unknown [IPv6:2001:770:15f::2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 9A1492C00E2 for ; Thu, 8 Aug 2013 01:12:49 +1000 (EST) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V75Oh-0006Ue-US; Wed, 07 Aug 2013 15:11:36 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V75OO-0002wY-RC; Wed, 07 Aug 2013 15:11:16 +0000 Received: from service87.mimecast.com ([91.220.42.44]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V75Nf-0002rs-Gi for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2013 15:10:40 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Wed, 07 Aug 2013 16:10:06 +0100 Received: from hornet.Cambridge.Arm.com ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 7 Aug 2013 16:10:05 +0100 From: Pawel Moll To: Olof Johansson , Lorenzo Pieralisi Subject: [PATCH v2 0/5] ARM: vexpress: TC2 MCPM/SPC again, the complete series Date: Wed, 7 Aug 2013 16:09:43 +0100 Message-Id: <1375888188-30213-1-git-send-email-pawel.moll@arm.com> X-Mailer: git-send-email 1.8.1.2 X-OriginalArrivalTime: 07 Aug 2013 15:10:05.0586 (UTC) FILETIME=[32B0AF20:01CE9380] X-MC-Unique: 113080716100603301 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130807_111031_715724_4EB49B99 X-CRM114-Status: GOOD ( 12.94 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [91.220.42.44 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Pawel Moll , linux-arm-kernel@lists.infradead.org, nico@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi Olof, A couple of iterations later and it seems we have solution. SCC bindings are back and SPC driver is simply getting the base address from the TC2 PM code during the initialization. That way we've got clean situation now, and can make proper MFD driver for SCC in future. As I said - all your changes are folded into the original patches. Lorenzo tested the series and it still works, so this time (hopefully) we're ready for 3.12... The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b: Linux 3.11-rc2 (2013-07-21 12:05:29 -0700) are available in the git repository at: git://git.linaro.org/people/pawelmoll/linux.git tags/tc2-pm for you to fetch changes up to e607b0f985f5277324e3fdce5bb462ef4eac4bc9: ARM: vexpress/TC2: implement PM suspend method (2013-08-07 14:55:54 +0100) ---------------------------------------------------------------- >From Nicolas Pitre: - Fixes to the existing Vexpress DCSCB backend. - Lorenzo's minimal SPC driver required by the TC2 MCPM backend. - The MCPM backend enabling SMP secondary boot and CPU hotplug on the VExpress TC2 big.LITTLE platform. - MCPM suspend method to the TC2 backend allowing basic CPU idle/suspend. The cpuidle driver that hooks into this will be submitted separately. ---------------------------------------------------------------- Lorenzo Pieralisi (1): ARM: vexpress/TC2: add Serial Power Controller (SPC) support Nicolas Pitre (3): ARM: vexpress/dcscb: fix cache disabling sequences ARM: vexpress/TC2: basic PM support ARM: vexpress/TC2: implement PM suspend method Pawel Moll (1): ARM: vexpress: Add SCC to V2P-CA15_A7's device tree .../devicetree/bindings/arm/vexpress-scc.txt | 33 ++ arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 6 + arch/arm/mach-vexpress/Kconfig | 8 + arch/arm/mach-vexpress/Makefile | 1 + arch/arm/mach-vexpress/dcscb.c | 58 ++-- arch/arm/mach-vexpress/spc.c | 180 +++++++++++ arch/arm/mach-vexpress/spc.h | 24 ++ arch/arm/mach-vexpress/tc2_pm.c | 344 +++++++++++++++++++++ 8 files changed, 633 insertions(+), 21 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/vexpress-scc.txt create mode 100644 arch/arm/mach-vexpress/spc.c create mode 100644 arch/arm/mach-vexpress/spc.h create mode 100644 arch/arm/mach-vexpress/tc2_pm.c