From patchwork Wed Oct 10 15:18:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1574601 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id B86273FE36 for ; Wed, 10 Oct 2012 15:21:39 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TLy4N-00005K-Fn; Wed, 10 Oct 2012 15:19:35 +0000 Received: from mail-wi0-f177.google.com ([209.85.212.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TLy46-0008Ta-1Y for linux-arm-kernel@lists.infradead.org; Wed, 10 Oct 2012 15:19:18 +0000 Received: by mail-wi0-f177.google.com with SMTP id hj13so637035wib.0 for ; Wed, 10 Oct 2012 08:19:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=sADYTtqUYngzteCyxVIOZmjtUaJDd+M/SyfN0WY/jPA=; b=HHwN9o+WQ4Up7Hf8txeebMldOkS306czKUFTx8qsiVGzHWBm915yqwq8Q0wl0rn1jn CwTBLNex+UKkdYMTmp4hJWbkbK/kKGpr1M9vh5mwpmL0uAEr57LNgvC+rB8RrYIcYhC8 eYAuYXuEMUjQl0W0pR7M4t10XCuCua0pqB7kupd6vZVFMs3VsYtPqZDgGcP2RhNyB+M/ pEvjB5NDBHZ1K62Jka5ipFlwWgV0K0A4IDzXD4MjoSgXFK6wIXdzjeB0Q4bKzf+HLuLN 5jqj8F8YTlYLVwQan0c0jeW9nkI3qrK5vRQ4M02dub93byZfnskB0QXPbO9U2t95MT3f g/WQ== Received: by 10.180.80.33 with SMTP id o1mr13706237wix.14.1349882356320; Wed, 10 Oct 2012 08:19:16 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id eq2sm3295516wib.1.2012.10.10.08.19.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Oct 2012 08:19:15 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] ARM: ux500: Add support for ST-Ericsson's u9540 SoC Date: Wed, 10 Oct 2012 16:18:52 +0100 Message-Id: <1349882335-6786-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1349882335-6786-1-git-send-email-lee.jones@linaro.org> References: <1349882335-6786-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlPOqRN6+DHh9fDa1wXfN/sUg7aOP6FLHXv4xYaADQRQlJTVpqrvAQtPXyQpDl78/BPK3LE X-Spam-Note: CRM114 invocation failed 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 [209.85.212.177 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Lee Jones , linus.walleij@stericsson.com, arnd@arndb.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org First level board support for the u9540. Acked-by: Linus Walleij Signed-off-by: Lee Jones --- arch/arm/mach-ux500/cpu-db8500.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index 3d8e321..6b7f970 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include @@ -319,6 +320,8 @@ static void __init u8500_init_machine(void) snowball_pinmaps_init(); else if (of_machine_is_compatible("st-ericsson,hrefv60+")) hrefv60_pinmaps_init(); + else if (of_machine_is_compatible("st-ericsson,u9540")) {} + /* TODO: Add u9540 pinmaps. */ /* TODO: Export SoC, USB, cpu-freq and DMA40 */ parent = u8500_of_init_devices(); @@ -331,6 +334,7 @@ static const char * u8500_dt_board_compat[] = { "calaosystems,snowball-a9500", "st-ericsson,hrefv60+", "st-ericsson,mop500", + "st-ericsson,u9540", NULL, }; @@ -345,4 +349,14 @@ DT_MACHINE_START(U8500_DT, "ST-Ericsson U8500 platform (Device Tree Support)") .dt_compat = u8500_dt_board_compat, MACHINE_END +DT_MACHINE_START(U9540_DT, "ST-Ericsson 9540 platform (Device Tree Support)") + .map_io = u8500_map_io, + .init_irq = ux500_init_irq, + .timer = &ux500_timer, + .handle_irq = gic_handle_irq, + .init_machine = u8500_init_machine, + .init_late = NULL, + .dt_compat = u8500_dt_board_compat, +MACHINE_END + #endif