From patchwork Fri Nov 30 08:44:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 202890 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4BE982C0080 for ; Fri, 30 Nov 2012 19:49:02 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TeMDh-0006ge-C1; Fri, 30 Nov 2012 08:45:14 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TeMDN-0006dd-Rv for linux-arm-kernel@lists.infradead.org; Fri, 30 Nov 2012 08:44:55 +0000 Received: from ayumi.akashicho.tokyo.vergenet.net (p4024-ipbfp1903kobeminato.hyogo.ocn.ne.jp [114.172.131.24]) by kirsty.vergenet.net (Postfix) with ESMTP id C365225BE59; Fri, 30 Nov 2012 19:44:49 +1100 (EST) Received: by ayumi.akashicho.tokyo.vergenet.net (Postfix, from userid 7100) id A2ADFEDE11D; Fri, 30 Nov 2012 17:44:47 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/7 v2] ARM: mach-shmobile: kzm9g: Reference DT implementation Date: Fri, 30 Nov 2012 17:44:40 +0900 Message-Id: <1354265085-2444-1-git-send-email-horms@verge.net.au> X-Mailer: git-send-email 1.7.10.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121130_034454_516732_63779228 X-CRM114-Status: GOOD ( 15.88 ) X-Spam-Score: -3.3 (---) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-3.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [202.4.237.240 listed in list.dnswl.org] -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Magnus Damm , Laurent Pinchart X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi, *** This series is wip and does not currently function I am posting to provide a status update and ask for help *** this is a second pass at at providing a refernce DT implementation for the kzm9g baord which is intended to act as a guide for mach-shmobile developers. Major difference to v1: * Drop touchscreen initialisation, it requires INTC * Drop SDHI initialisation, the driver seems to need some work * Add extra entries to clock-sh73a0.c:lookups[] and remove auxdata. Ultimtely the clocks will be described in DT, but the code isn't there yet. * Drop MMCIF patch, it is not needed if regulators are enabled * Drop PCF hacks, instead, the series is based on Laruent Pinchart's * series: [PATCH v2 00/77] SH pin control and GPIO rework with OF support * Use shmobile_setup_delay() Unfortunately the last point seems to introduce problems. It seems to prevent SMP from booting to the point of printing anything on the early console. And with CONFIG_SMP disabled the boot halts when the MMCIF driver initialisation calls mmc_delay(). I've poked around a bit but I haven't had any luck working out why this is the case. I would appreciate any pointers on what to investigate. Git and diffstat information provided to aid review. ---------------------------------------------------------------- The following changes since commit 940956fe1d8de5cbcc963214fe592f76d8354bef: ARM: shmobile: kzm9g: Add LED1-LED4 to the device tree (2012-11-27 00:59:10 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git devel/of-kzm9g for you to fetch changes up to 7018db4354c445d401782dc38df5e2d8afb43bc2: ARM: mach-shmobile: kzm9g: Reference DT implementation (2012-11-30 16:55:46 +0900) ---------------------------------------------------------------- Simon Horman (5): ARM: mach-shmobile: sh73a0: Allow initialisation of GIC by DT ARM: mach-shmobile: sh73a0: Minimal setup using DT ARM: mach-shmobile: sh73a0: Initialise MMCIF using DT ARM: shmobile: kzm9g: use voltage regulators by default ARM: mach-shmobile: kzm9g: Reference DT implementation arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 37 ++++++++++ arch/arm/boot/dts/sh73a0-reference.dtsi | 24 +++++++ arch/arm/boot/dts/sh73a0.dtsi | 69 ++++++++++++++++++ arch/arm/configs/kzm9g_defconfig | 1 + arch/arm/mach-shmobile/Kconfig | 10 +++ arch/arm/mach-shmobile/Makefile | 8 ++- arch/arm/mach-shmobile/board-kzm9g-reference.c | 92 ++++++++++++++++++++++++ arch/arm/mach-shmobile/clock-sh73a0.c | 6 ++ arch/arm/mach-shmobile/include/mach/common.h | 3 + arch/arm/mach-shmobile/intc-sh73a0.c | 14 ++++ arch/arm/mach-shmobile/setup-sh73a0.c | 39 +++++++++- 12 files changed, 303 insertions(+), 3 deletions(-) create mode 100644 arch/arm/boot/dts/sh73a0-kzm9g-reference.dts create mode 100644 arch/arm/boot/dts/sh73a0-reference.dtsi create mode 100644 arch/arm/mach-shmobile/board-kzm9g-reference.c