From patchwork Tue Dec 17 21:47:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 3366201 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 64CACC0D4A for ; Tue, 17 Dec 2013 21:48:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 901D920382 for ; Tue, 17 Dec 2013 21:48:38 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 48A6A2035E for ; Tue, 17 Dec 2013 21:48:37 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vt2V2-0003ru-66; Tue, 17 Dec 2013 21:48:20 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vt2Ui-0003qR-3K; Tue, 17 Dec 2013 21:48:00 +0000 Received: from sauhun.de ([89.238.76.85] helo=pokefinder.org) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vt2Uf-0003pq-0l for linux-arm-kernel@lists.infradead.org; Tue, 17 Dec 2013 21:47:57 +0000 Received: from p4fe24b4c.dip0.t-ipconnect.de ([79.226.75.76]:44334 helo=localhost) by pokefinder.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Vt2UI-0002nd-CN; Tue, 17 Dec 2013 22:47:34 +0100 Date: Tue, 17 Dec 2013 22:47:34 +0100 From: Wolfram Sang To: linux-sh@vger.kernel.org Subject: Re: [PATCH 1/5] pinctrl: r7s72100: add riic groups Message-ID: <20131217214734.GC1196@katana> References: <1387316678-10174-1-git-send-email-wsa@the-dreams.de> <1387316678-10174-2-git-send-email-wsa@the-dreams.de> MIME-Version: 1.0 In-Reply-To: <1387316678-10174-2-git-send-email-wsa@the-dreams.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131217_164757_184389_C32A3EA1 X-CRM114-Status: GOOD ( 18.56 ) X-Spam-Score: -1.9 (-) Cc: Simon Horman , Magnus Damm , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Laurent Pinchart 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Tue, Dec 17, 2013 at 10:44:34PM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > Tested RIIC2 on a genmai board. Other riic groups are untested but seem > trivial enough to be added. > > Signed-off-by: Wolfram Sang > Acked-by: Magnus Damm > --- > > Note: With the current PFC driver as posted by Magnus, it needs another patch > to work. Yet, I think this is a seperate PFC issue which needs to be sorted out > seperately and shouldn't affect these declarations. I'll add the needed patch > as a response to this mail. Here it goes... From: Wolfram Sang Subject: [PATCH] HACK: make magnus new driver work Signed-off-by: Wolfram Sang --- drivers/pinctrl/sh-pfc/pfc-r7s72100.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/sh-pfc/pfc-r7s72100.c b/drivers/pinctrl/sh-pfc/pfc-r7s72100.c index 00f67e8..a662876 100644 --- a/drivers/pinctrl/sh-pfc/pfc-r7s72100.c +++ b/drivers/pinctrl/sh-pfc/pfc-r7s72100.c @@ -68,11 +68,11 @@ enum { #define _P_GPIO(bank, _pin, _name, sfx) _GP_GPIO(16, bank, _pin, _name, sfx) #define _P_DATA(bank, pin, name, sfx) \ - PINMUX_DATA(name##_DATA, name##_PMC_0, name##_PIPC_0, \ + PINMUX_DATA(name##_DATA, name##_PMC_0, \ name##_PIBC_1, name##_PBDC_1) #define _P_FN(n, fn, pfcae, pfce, pfc) \ - PINMUX_DATA(n##_MARK_FN##fn, n##_PMC_1, n##_PIPC_1, \ + PINMUX_DATA(n##_MARK_FN##fn, n##_PMC_1, \ n##_PFCAE_##pfcae, n##_PFCE_##pfce, n##_PFC_##pfc) #define _P_MARK_FN1(bank, pin, name, sfx) _P_FN(name, 1, 0, 0, 0)