From patchwork Tue Jun 21 07:21:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 9189651 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 963CB6075A for ; Tue, 21 Jun 2016 07:25:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8442427D5D for ; Tue, 21 Jun 2016 07:25:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 773B227FA7; Tue, 21 Jun 2016 07:25:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA7B627D5D for ; Tue, 21 Jun 2016 07:25:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754825AbcFUHZD (ORCPT ); Tue, 21 Jun 2016 03:25:03 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:61064 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752265AbcFUHYZ (ORCPT ); Tue, 21 Jun 2016 03:24:25 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie1.idc.renesas.com with ESMTP; 21 Jun 2016 16:21:07 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 8AC3152E58; Tue, 21 Jun 2016 16:21:07 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 812CC8002E; Tue, 21 Jun 2016 16:21:07 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 7D0D68002D; Tue, 21 Jun 2016 16:21:07 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id SBC08656; Tue, 21 Jun 2016 16:21:07 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'";a="213895939" Received: from mail-pu1apc01lp0022.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.22]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 21 Jun 2016 16:21:06 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=rzSCCLsl87C4u3YBchq5c722s4E5ys+B+tQgRVNDZIs=; b=Ees6KL7CxMvGOQko+ERr6iNXwFulQJTaCQsnzouFvhUr4F7YuM4lKs4GxYgtxqInjtnJnUlkApU4C9M30f8OX2YVXo5LgYMg5hdVJU7PhMbY59Ay+oWHwf6GP+q9l98/DRgvnJIWhG4mjf68imK+PzxOYZq5JJtGdsXNtcQ00iQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by HK2PR06MB1700.apcprd06.prod.outlook.com (10.167.73.14) with Microsoft SMTP Server (TLS) id 15.1.523.12; Tue, 21 Jun 2016 07:21:04 +0000 Message-ID: <87twgnrp2z.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Simon , Geert Uytterhoeven , Linus Walleij CC: Magnus , Linux-Renesas , Laurent Pinchart , , Subject: [PATCH] pinctrl: sh-pfc: r8a7795: use PINMUX_SINGLE() for I2C User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Tue, 21 Jun 2016 07:21:04 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TYXPR0101CA0020.jpnprd01.prod.outlook.com (10.168.40.158) To HK2PR06MB1700.apcprd06.prod.outlook.com (10.167.73.14) X-MS-Office365-Filtering-Correlation-Id: 6c127da6-7220-4569-a7d7-08d399a49ba0 X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1700; 2:ey4IzwPBMo3eKWUwOxzr6VsCZgM/cZx0v68ywym32c4kdiEqTmLBdN9oGWzxN5y1Ev40R5siizRbsHjGsGpNw6AnY2UzVhEhmTlSlqE/qY2n8WR+jscAWqahE3dmioPknsb6+AWbSlD9xMYf0gkM5DxnQI3w8L0Gx2HQg2d+lr/+tl+RD2YQX7dGmZX0HVUw; 3:6qm+kIq8e5Ed2MR2K198usPYets3WTMFYnKjRvoQrAECZ4fYVom30r5k4aN+585DMsCXA31S1dGShs2Jg/E87OCt5KhlMi00emdoyRcyJFyg9mZFssGm8RSYsYyPu0jO; 25:VgNTO+RKRAZKvrGoGRtpLUfoW8c87MD4U9OGVwl5tJqnWMQ/2p2XxUTbyHiGZdeBkj0lBg+ZX8/NbNHdqPLkbFZjl9UlNSvtRj2hfVJHCpPmYtrrr8UMJmGLb47pM3yukp+Nq0ryzFsPQk1G9d7Am7edBCp2Hhghukw3uTn+f6NRuY0TlwfCZOnu0QOmxma3Q9yu78KQC1svgqNOFIUwOxA1i9UVnucf+Rd1SIZdfjPgXc51WMmfkCeb1g0h7oAYISOkN37tFlBfK2QxS6nvGXOS3FUSEfZdVohQzRYaEFYNtRs2tBwI7R3GbfQd1kdIhSxcHJphT6NvEqk4o5o66Mqjcz9HDIHYSnDhQZkNSk1Z0eBLuq+GbG9t3vfkI+Fr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X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:HK2PR06MB1700; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB1700; X-Forefront-PRVS: 098076C36C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(189002)(199003)(77096005)(6116002)(3846002)(23726003)(586003)(68736007)(101416001)(81156014)(54356999)(81166006)(50986999)(8676002)(7846002)(2906002)(46406003)(575784001)(19580405001)(4326007)(33646002)(5001770100001)(92566002)(4001350100001)(229853001)(19580395003)(97736004)(86362001)(189998001)(69596002)(53416004)(50466002)(106356001)(105586002)(83506001)(36756003)(47776003)(42186005)(7736002)(66066001)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB1700; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB1700; 23:bUb0G+5M0o8Fw9ozO0gh8jGdEObw3LoKlRcUorbOj?= =?us-ascii?Q?K06WreMEBndUGN8UQtENFuyRUnxb7dcG81bqKZjr57fZ/mbpKV+qjyrbmQnI?= =?us-ascii?Q?9FwBULlsEx4I0Z9vQbD4jN41V+mqKS9alJJzZ9v0Ibiccv16jxDpcvURmM6M?= =?us-ascii?Q?dipoM1YDiJFnKyhkWPGaqr4Xb3TYAzHivy3axbLT8C9gRKvQwNz5fZabU7NZ?= =?us-ascii?Q?U7w+v4rt/6wYhj85DZ0qPk4mxEpCZWAy95ql+yMIT1kMU4wEEAmfbOXX2N4y?= =?us-ascii?Q?810XyC7g6ksP0C1kYx3G7fmL3xB6UDFfFR1mQ8ko63w1vpur5uGHDjuNKqK6?= =?us-ascii?Q?BwtTAFtPpJJZgYfxoRhG0Y1g10fHv1zFmQIkpn+5BwueKlR7Gojoa6Na/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wOwT5d6FW8ofr/uWvO6SRIEEx1FJK+rHIyfgeKZM3pd/MhIrv3N8PYhbi+6Nrof0CW01msRVtTinNW4FBd2uGWg/FbvEjkYLTqgrdB1gi5eso5MDH4VuF9ems/VFOWZD7kbZ1k+ef3uY0qE2gUZMT8hoOMQy2EjkIZSEEkugoOKkMJT2lPW6iSu82pxm1BxS6cAkXQYeKnZtcPs+TFtxUcZQGczBNzHRIyA==; 5:EHzXciCFPTd8q75tvJ6Slmjm3NbQRdff+0v3R/Qjrb/HiazUussUrADtyqBjDLwGPhjhpPkpsA98xasigVWHagbz5RJMkx9hEbp2N0r0iKtuw/lGYiy7UeUCJU/pjVmgiRsp1GdyOomluh74yQaBhw==; 24:cBLX4J5gSgKMKgo0MG0XfXgKHKlSdlhT8vwBwYMtMvgSKFnEIzt4ePCwWugdy9X72BLUyfVH0K92SnJ4eJJV6yacx8VXvEFmB728zcAOdiQ=; 7:b2DAFWzN3z8NwlYQiL8erD2N++w0DjEkDW/gvIq5MJhzpK7oTM0IGdYWo7UXK2ebwL1pqX2R92W+zR24BHPSJuh8c/BYlCD5phFOKZC2FOhO9xVfQ701LFXL6hPLxjIWBQRmIWvydv8yUKUKTayJRYd6sPu9F9+fT2TB1kEKCoF9wRTsOHcAt9wD/rjeN8/9Sk9CbH7XXaOUIHdA5T6XugnXLWZH34NAJ6Pcq2uBiZ6I7Zi62yQaJQq+rlHg1lcP SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1700; 20:TJM0V0R6FWjFPoCa/H1sTh49EJrZY49Bm6wOhwPYx13IXxeuNtAEUSjqM6RBaNJ0s9Ix1qwRartVHiHdUDX60IBiiPb8vClP5fjWcpn118o2mSGxsdyDdpbQqf6k73TKlpq2vDtiwOfZaYV6UNT4CKFKetVPK5EjMpV/yyoMqeA= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2016 07:21:04.7670 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB1700 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto Now we have PINMUX_SINGLE(). Let's use it instead of PINMUX_IPSR_NOGP() Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven Acked-by: Linus Walleij --- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c index 1434a6f..cb55a9a 100644 --- a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c @@ -556,6 +556,9 @@ static const u16 pinmux_data[] = { PINMUX_SINGLE(AVS2), PINMUX_SINGLE(HDMI0_CEC), PINMUX_SINGLE(HDMI1_CEC), + PINMUX_SINGLE(I2C_SEL_0_1), + PINMUX_SINGLE(I2C_SEL_3_1), + PINMUX_SINGLE(I2C_SEL_5_1), PINMUX_SINGLE(MSIOF0_RXD), PINMUX_SINGLE(MSIOF0_SCK), PINMUX_SINGLE(MSIOF0_TXD), @@ -1405,11 +1408,6 @@ static const u16 pinmux_data[] = { PINMUX_IPSR_MSEL(IP17_7_4, STP_ISSYNC_0_E, SEL_SSP1_0_4), PINMUX_IPSR_MSEL(IP17_7_4, RIF2_D1_B, SEL_DRIF2_1), PINMUX_IPSR_GPSR(IP17_7_4, TPU0TO3), - - /* I2C */ - PINMUX_IPSR_NOGP(0, I2C_SEL_0_1), - PINMUX_IPSR_NOGP(0, I2C_SEL_3_1), - PINMUX_IPSR_NOGP(0, I2C_SEL_5_1), }; static const struct sh_pfc_pin pinmux_pins[] = {