From patchwork Thu Jun 25 22:42:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 6677801 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 90EF49F380 for ; Thu, 25 Jun 2015 22:42:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A5C9B20711 for ; Thu, 25 Jun 2015 22:42:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BA76E20351 for ; Thu, 25 Jun 2015 22:42:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751576AbbFYWmI (ORCPT ); Thu, 25 Jun 2015 18:42:08 -0400 Received: from mail-la0-f54.google.com ([209.85.215.54]:33356 "EHLO mail-la0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751557AbbFYWmI (ORCPT ); Thu, 25 Jun 2015 18:42:08 -0400 Received: by laka10 with SMTP id a10so53616427lak.0 for ; Thu, 25 Jun 2015 15:42:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=JtavQ08IHXHrljq9hO4zVgoOO5PrCfORJwKM4XZrZBg=; b=UiFD7eNVkgQ4q1iTGH6MlPI8WzWhYA99WtgoyzUYm90QJZIWNCsx5tRnmmxFSoUIIv lfTWxYfwmjJApqLd8MfQ3XRzOlbJyubzmfJM8PHpYxzIih6G5nTPJta/DvEgGijsdcIq u9VO3gP7c7dYfYlsJxlfPfKI43d5ChChBNl4bXzGmIZY6Y9SK5QNczwO2vSbf8XGZW5p plY4xOVgKf2QOGCDzcfrVyEhqqd9Rhjds0j0lOkd5JIYk0PShDBgJ4N8ZdvKiNrg/7gh 4G6o+mTdhdMtp/51aB4qAXsWa32nNQmjiZ1T2IGjylZ++Vg2dPDvHppijzyCfr1woiLh PAEQ== X-Gm-Message-State: ALoCoQlvkJr269hgCLbwGHeeUBN9Bi16mSvFtKAdhvX0ID4wtM5LYaTGgjwDS1OHtJqGHJVGyFKa X-Received: by 10.112.50.230 with SMTP id f6mr46818360lbo.17.1435272126791; Thu, 25 Jun 2015 15:42:06 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp85-141-193-152.pppoe.mtu-net.ru. [85.141.193.152]) by mx.google.com with ESMTPSA id kc4sm3532886lbc.39.2015.06.25.15.42.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jun 2015 15:42:05 -0700 (PDT) From: Sergei Shtylyov To: linus.walleij@linaro.org Cc: linux-sh@vger.kernel.org, laurent.pinchart@ideasonboard.com, linux-gpio@vger.kernel.org Subject: [PATCH v3 2/3] sh-pfc: r8a7790: remove non-existing GPIO pins Date: Fri, 26 Jun 2015 01:42:04 +0300 Message-ID: <14360647.s1qTxSuam8@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.7 (Linux/4.0.5-200.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <1460630.GxHT4lRd7u@wasted.cogentembedded.com> References: <1460630.GxHT4lRd7u@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 From: Laurent Pinchart GPIO banks 1 and 2 are missing pins 30 and 31. Remove them. Signed-off-by: Laurent Pinchart Signed-off-by: Sergei Shtylyov --- Changes in version 2: - renamed the patch. drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux-pinctrl/drivers/pinctrl/sh-pfc/pfc-r8a7790.c =================================================================== --- linux-pinctrl.orig/drivers/pinctrl/sh-pfc/pfc-r8a7790.c +++ linux-pinctrl/drivers/pinctrl/sh-pfc/pfc-r8a7790.c @@ -27,10 +27,27 @@ #include "core.h" #include "sh_pfc.h" +#define PORT_GP_30(bank, fn, sfx) \ + PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ + PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \ + PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ + PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ + PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \ + PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx), \ + PORT_GP_1(bank, 12, fn, sfx), PORT_GP_1(bank, 13, fn, sfx), \ + PORT_GP_1(bank, 14, fn, sfx), PORT_GP_1(bank, 15, fn, sfx), \ + PORT_GP_1(bank, 16, fn, sfx), PORT_GP_1(bank, 17, fn, sfx), \ + PORT_GP_1(bank, 18, fn, sfx), PORT_GP_1(bank, 19, fn, sfx), \ + PORT_GP_1(bank, 20, fn, sfx), PORT_GP_1(bank, 21, fn, sfx), \ + PORT_GP_1(bank, 22, fn, sfx), PORT_GP_1(bank, 23, fn, sfx), \ + PORT_GP_1(bank, 24, fn, sfx), PORT_GP_1(bank, 25, fn, sfx), \ + PORT_GP_1(bank, 26, fn, sfx), PORT_GP_1(bank, 27, fn, sfx), \ + PORT_GP_1(bank, 28, fn, sfx), PORT_GP_1(bank, 29, fn, sfx) + #define CPU_ALL_PORT(fn, sfx) \ PORT_GP_32(0, fn, sfx), \ - PORT_GP_32(1, fn, sfx), \ - PORT_GP_32(2, fn, sfx), \ + PORT_GP_30(1, fn, sfx), \ + PORT_GP_30(2, fn, sfx), \ PORT_GP_32(3, fn, sfx), \ PORT_GP_32(4, fn, sfx), \ PORT_GP_32(5, fn, sfx)