From patchwork Mon Mar 18 15:10: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: 2293741 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 1C1D43FCF6 for ; Mon, 18 Mar 2013 15:36:58 +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 1UHc4a-0007iN-1Q; Mon, 18 Mar 2013 15:34:04 +0000 Received: from mail-pb0-f44.google.com ([209.85.160.44]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UHbbo-0002Nq-St for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2013 15:04:21 +0000 Received: by mail-pb0-f44.google.com with SMTP id wz12so6483156pbc.17 for ; Mon, 18 Mar 2013 08:04:19 -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=WbfJ9L9/uf2jo+x85NnBOAyyJ20d4SNSC7z3DS8Qii8=; b=GKkbWy8xfR+X8hFMiUrmvx/gqGGMJqBLsvpgzM8OkZdzSEjJOy5dKfP9WxF3ueBZ4Y vcuN7JuyB3n21K9oNaMA1XaU3de40kVpZkQpqNcrkz1i4Q3kKwGJqYBHPd2YP/+tWbmG 1LhfA6mElfq1b2sQUMxgWFIQWwbp8p1E77BsCNppHO51poqDzfCYszI2ioAzEkqmRAmW F/HKCGdvhuDLT6zsCAmiqfh0FOB3hjP5adT+4EIyPBybLkmiAa1iQRI/kkYEd4uQj7jf cOWeZz2nw2zxeDhp3ILAHS4341Ff3Yhy/y4PkKuR7KFvYshmTzoNmUiyJWZdxN7+0u75 hv/Q== X-Received: by 10.66.123.105 with SMTP id lz9mr11060932pab.137.1363619059048; Mon, 18 Mar 2013 08:04:19 -0700 (PDT) Received: from [127.0.0.1] (FLH1All083.tky.mesh.ad.jp. [211.13.49.83]) by mx.google.com with ESMTPS id ip8sm20460275pbc.39.2013.03.18.08.04.16 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Mar 2013 08:04:17 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Tue, 19 Mar 2013 00:10:12 +0900 Message-Id: <20130318151012.28231.95680.sendpatchset@w520> In-Reply-To: <20130318150953.28231.73454.sendpatchset@w520> References: <20130318150953.28231.73454.sendpatchset@w520> Subject: [PATCH 02/03] ARM: shmobile: APE6EVM PFC support X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130318_110421_033134_7368B52D X-CRM114-Status: UNSURE ( 9.17 ) 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.44 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 using the PFC. Signed-off-by: Magnus Damm --- Written against "next" renesas.git 811689afc214564c4a5f238ecf4d8bdc0e52b615 Depends on the following two series: [PATCH 00/04] ARM: shmobile: r8a73a4 SoC support V2 [PATCH 00/02] sh-pfc: Initial r8a73a4 PFC support arch/arm/mach-shmobile/Kconfig | 1 + arch/arm/mach-shmobile/board-ape6evm.c | 7 +++++++ 2 files changed, 8 insertions(+) --- 0009/arch/arm/mach-shmobile/Kconfig +++ work/arch/arm/mach-shmobile/Kconfig 2013-03-18 22:12:56.000000000 +0900 @@ -82,6 +82,7 @@ config MACH_AG5EVM config MACH_APE6EVM bool "APE6EVM board" depends on ARCH_R8A73A4 + select ARCH_REQUIRE_GPIOLIB select USE_OF config MACH_MACKEREL --- 0009/arch/arm/mach-shmobile/board-ape6evm.c +++ work/arch/arm/mach-shmobile/board-ape6evm.c 2013-03-18 22:05:03.000000000 +0900 @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include #include #include @@ -30,6 +31,12 @@ static void __init ape6evm_add_standard_devices(void) { r8a73a4_clock_init(); + r8a73a4_pinmux_init(); + + /* SCIFA0 console */ + gpio_request(GPIO_FN_SCIFA0_TXD, NULL); + gpio_request(GPIO_FN_SCIFA0_RXD, NULL); + r8a73a4_add_standard_devices(); }