From patchwork Wed Jul 12 16:55:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 9837173 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 1C8CF602BD for ; Wed, 12 Jul 2017 16:56:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0CE3B28545 for ; Wed, 12 Jul 2017 16:56:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 014FA2856C; Wed, 12 Jul 2017 16:56:27 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 7601328545 for ; Wed, 12 Jul 2017 16:56:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753977AbdGLQ4Z (ORCPT ); Wed, 12 Jul 2017 12:56:25 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:35680 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932083AbdGLQ4U (ORCPT ); Wed, 12 Jul 2017 12:56:20 -0400 Received: by mail-pf0-f194.google.com with SMTP id q85so3883626pfq.2; Wed, 12 Jul 2017 09:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1fHr+OeqZadyUY/95pYUK+sdz2YCywLFSlBQ/ByNzyE=; b=KUdstLLOBGjwparC9WFCZNeJC93t8fV6JoXNWT8aMVCRFJU7EZtr2ldWaWDUPr9Td5 tbOPJNgvORw0crUw9kMvWAT0Xm6UEj8ihrPXjUIVBBqWjL9VHuShIKAeZDHzFKQuFBq2 ebNe99a6uE5j76hLsJaj6THrtlwVsM6F8NckkM9lRPWNddB9h2/H3jga9s4KMmD67ati 2s3oi4XjQnc/5K8AcmKXzWQ5ee4VMcNqJ7w8ly5+ViukxneG8gmOE2K1qnmUaBkIVeaV aCZHjccrv3QzptGNoYYyaI31Zd5fPJa0hPFY+r7iS+tN3dJ2h+0WHJwT2ic0c+qzq0Ma Lwhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1fHr+OeqZadyUY/95pYUK+sdz2YCywLFSlBQ/ByNzyE=; b=q/FwwVy859UIifRdrAHjM2sp/+zmByy/P4C75mIQVQD/jEuL8ilBMR7a00cG9nuX6E b+PrG44na+5T4HEvvkWfDcec2fzZ6LgeS14Gezv2wmUs3Rd++zCCo6B5JIFW38mLCVos rCeuuO4W432ryD6Qp3NplyeVY+0Ekb7OTklQEj9wYDzQq0LGfB16mgtTWVZgP23M3foW PULdnO85/N/6+uXz6T/E3lz2tBsupRXpvyPrBkinmt3iuxkopc3MNsomNQaUdm6ZyXWY jiI4WVZKMgW82T03QP4767rg6QX5o/hLaZHKj8dev3zCIVfpubbi2uGSRMdAIDNGXiMC egjg== X-Gm-Message-State: AIVw113CQHPl842EiAV6EHLO+IhPvypRmAXTPCELTVBTbM2X/3xlISWt n1g/noCQxLc2EUKq X-Received: by 10.84.218.206 with SMTP id g14mr5231388plm.290.1499878574680; Wed, 12 Jul 2017 09:56:14 -0700 (PDT) Received: from localhost.localdomain (KD118152108246.ppp-bb.dion.ne.jp. [118.152.108.246]) by smtp.gmail.com with ESMTPSA id p68sm6919132pfj.26.2017.07.12.09.56.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Jul 2017 09:56:14 -0700 (PDT) From: Yoshihiro Kaneko To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Laurent Pinchart , Geert Uytterhoeven , Simon Horman , Magnus Damm , linux-renesas-soc@vger.kernel.org Subject: [PATCH 03/14] pinctrl: sh-pfc: r8a7796: Fix MOD_SEL2 bit26 to 0x0 when using SCK5_A Date: Thu, 13 Jul 2017 01:55:36 +0900 Message-Id: <1499878547-3452-4-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499878547-3452-1-git-send-email-ykaneko0929@gmail.com> References: <1499878547-3452-1-git-send-email-ykaneko0929@gmail.com> 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: Takeshi Kihara This patch fixes the implementation incorrect of MOD_SEL2 bit26 value when SCK5_A pin function is selected for IPSR16 bit[31:28]. This is a correction to the incorrect implementation of MOD_SEL register pin assignment for R8A7796 SoC specification of R-Car Gen3 Hardware User's Manual Rev.0.51E or later. Fixes: f9aece7344bd ("pinctrl: sh-pfc: Initial R8A7796 PFC support") Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Kaneko Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7796.c b/drivers/pinctrl/sh-pfc/pfc-r8a7796.c index 87f21d7b..4d070c2 100644 --- a/drivers/pinctrl/sh-pfc/pfc-r8a7796.c +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7796.c @@ -1410,7 +1410,7 @@ enum { PINMUX_IPSR_MSEL(IP16_31_28, SSI_WS1_B, SEL_SSI_1), PINMUX_IPSR_GPSR(IP16_31_28, SCK1), PINMUX_IPSR_MSEL(IP16_31_28, STP_IVCXO27_1_A, SEL_SSP1_1_0), - PINMUX_IPSR_GPSR(IP16_31_28, SCK5_A), + PINMUX_IPSR_MSEL(IP16_31_28, SCK5_A, SEL_SCIF5_0), /* IPSR17 */ PINMUX_IPSR_MSEL(IP17_3_0, AUDIO_CLKA_A, SEL_ADG_A_0),