From patchwork Fri Mar 29 08:00:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2364461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id E17BEDFB79 for ; Fri, 29 Mar 2013 07:56:57 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ULU8w-00053k-LD; Fri, 29 Mar 2013 07:54:36 +0000 Received: from mail-pb0-f46.google.com ([209.85.160.46]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ULU8e-00050x-VD for linux-arm-kernel@lists.infradead.org; Fri, 29 Mar 2013 07:54:17 +0000 Received: by mail-pb0-f46.google.com with SMTP id uo1so162255pbc.33 for ; Fri, 29 Mar 2013 00:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:date:message-id:in-reply-to:references :subject; bh=pbCvDGGDVMU+zEUfU7Ej6BWzgPLlA606PeQVgjIa/9I=; b=sq4Do8oRvlM24POB5v/iBXvwrc1ZK9Hqwe42a5MLkAGlkNmoidAX47GigVpkW+OlCN 955hzvdGAHX3jgZPk4zKfjb4gXwPChgmFb4fPgd38shccFkb8xiOJZGLzkuI9xRmm9nL FfmgQYp+aVqdmhOYxqy6fzOUznN8yRvyU8pvMycrjrOeMCE+wT4Ze7roMIpeHAwLEU83 jfssvJg9uPiNWlLOvg5B5PLKgGB1Zd7/aDXcH3S4Ozl+O5ty3sxZuDbLdA1qj6l1GP6N sHmp0fJUuNEt5dv2Kk9s/J7q9de0vgyb8H4VzYhs8R8hmFGCBRqI8uabiSlctMs7BSeV bFzA== X-Received: by 10.66.117.196 with SMTP id kg4mr3098377pab.95.1364543655585; Fri, 29 Mar 2013 00:54:15 -0700 (PDT) Received: from [127.0.0.1] (FLH1All083.tky.mesh.ad.jp. [211.13.49.83]) by mx.google.com with ESMTPS id tm1sm1972710pbc.11.2013.03.29.00.54.12 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 29 Mar 2013 00:54:14 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Fri, 29 Mar 2013 17:00:12 +0900 Message-Id: <20130329080012.15748.74546.sendpatchset@w520> In-Reply-To: <20130329075952.15748.6290.sendpatchset@w520> References: <20130329075952.15748.6290.sendpatchset@w520> Subject: [PATCH 02/03 v2] ARM: shmobile: APE6EVM PFC support X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130329_035417_144503_7B76346B X-CRM114-Status: UNSURE ( 9.41 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.46 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (magnus.damm[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: kuninori.morimoto.gx@renesas.com, arnd@arndb.de, Magnus Damm , horms@verge.net.au, olof@lixom.net, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Magnus Damm Start using the r8a73a4 PFC on the APE6EVM board and configure the SCIFA0 console signals in the PFC via PINCTRL. Signed-off-by: Magnus Damm --- Changes since V1: - Use PINCTRL instead of function GPIOs arch/arm/mach-shmobile/board-ape6evm.c | 10 ++++++++++ 1 file changed, 10 insertions(+) --- 0012/arch/arm/mach-shmobile/board-ape6evm.c +++ work/arch/arm/mach-shmobile/board-ape6evm.c 2013-03-26 18:56:46.000000000 +0900 @@ -21,15 +21,25 @@ #include #include #include +#include #include #include #include #include #include +static const struct pinctrl_map ape6evm_pinctrl_map[] = { + /* SCIFA0 console */ + PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.0", "pfc-r8a73a4", + "scifa0_data", "scifa0"), +}; + static void __init ape6evm_add_standard_devices(void) { r8a73a4_clock_init(); + pinctrl_register_mappings(ape6evm_pinctrl_map, + ARRAY_SIZE(ape6evm_pinctrl_map)); + r8a73a4_pinmux_init(); r8a73a4_add_standard_devices(); }