From patchwork Tue Mar 26 14:12:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2337391 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 88C59DF264 for ; Tue, 26 Mar 2013 14:09: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 1UKUXJ-0007Px-He; Tue, 26 Mar 2013 14:07:37 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UKUWd-0007DY-AN for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2013 14:06:57 +0000 Received: by mail-pb0-f49.google.com with SMTP id um15so1022531pbc.36 for ; Tue, 26 Mar 2013 07:06:51 -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=jIjSDI1HoEqOUv9XwrTLdH2+gVe2s3eXglLP3P/nrlWn1bDrtsrkCIlfUzUuubzk/p jJz3ERLNd2/iwFPLdi6RXyVqr3OnGERIn6GlI7VqsJlCqBbdNxGcigX6ei4QccqqU2up xvFbqC8Ldrd1escUHhJoOArWqPmNHHcqGFjb33fDxRXTJb1Rz+YuOImjF9lO2MSgKwLQ N3tREi+vM1Y6itqfU5JY3wqkYMBcM2pZRe0x1eZE5aAaHDLyfrE2pYW8lNeeaF4TdE0R 0uclt30Ek0gckCHxB539eanu1Ro9JBRYGKg7nChd0O64isAzEzrfP+u3IRAQX/pfDL9F 5vjw== X-Received: by 10.68.190.195 with SMTP id gs3mr24003715pbc.14.1364306811435; Tue, 26 Mar 2013 07:06:51 -0700 (PDT) Received: from [127.0.0.1] (FLH1All083.tky.mesh.ad.jp. [211.13.49.83]) by mx.google.com with ESMTPS id rr14sm17635492pbb.34.2013.03.26.07.06.48 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Mar 2013 07:06:50 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Tue, 26 Mar 2013 23:12:47 +0900 Message-Id: <20130326141247.19958.35056.sendpatchset@w520> In-Reply-To: <20130326141228.19958.93081.sendpatchset@w520> References: <20130326141228.19958.93081.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-20130326_100655_470844_EDF82B1B X-CRM114-Status: UNSURE ( 9.09 ) 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.49 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(); }