From patchwork Tue Aug 7 02:49:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 954335 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="i6KGAbCo"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41kzcV3PXkz9s5c for ; Tue, 7 Aug 2018 12:54:02 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727011AbeHGFGI (ORCPT ); Tue, 7 Aug 2018 01:06:08 -0400 Received: from condef-01.nifty.com ([202.248.20.66]:45867 "EHLO condef-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726348AbeHGFGI (ORCPT ); Tue, 7 Aug 2018 01:06:08 -0400 Received: from conuserg-09.nifty.com ([10.126.8.72])by condef-01.nifty.com with ESMTP id w772odCl001722 for ; Tue, 7 Aug 2018 11:50:40 +0900 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id w772nfCt017143; Tue, 7 Aug 2018 11:49:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com w772nfCt017143 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1533610181; bh=3dvDfMBLbfUVQMc1bfMbXYqvmMlmHIp7smQykdbiObo=; h=From:To:Cc:Subject:Date:From; b=i6KGAbCoaEWZ/OudD1IGjn+J9R8Ym/fAGXB1OxgFoJ42m2qhVwhiQ6nf7yGVQBw4U O5YNkqKHtaQNZuMCad2J0fA0QbP9t10kcpfGnLXlcxrtmszKVBrDmGIFqYqZ8EDxTO GEzCNqzKvEGp/ieEXIIQi9HEz3lub2s4tbc+8YKeX4b33Xzx7Dcu0uBmmREzsJKJCl zsw7RUuTCFhuXpSiGbnd0jDLikPA9uAEOhCjVKxkPGrfmW5V/pfoOlBurzANRHpltR 38OCAaBsv9Ajqk0KljAGpitFS3hpqW94iGQ24+zk9GUD/3+PhmO/u3/fc0kTDsk/po vVDJvmv832AWg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-gpio@vger.kernel.org Cc: Masami Hiramatsu , Jassi Brar , Masahiro Yamada , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: uniphier: drop meaningless pin from SD1 pin-mux of Pro4 Date: Tue, 7 Aug 2018 11:49:39 +0900 Message-Id: <1533610179-13885-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The pin 327 was supposed to be used as a voltage control line for the SD card regulator, but the SD card port1 does not support UHS-I. It only supports 3.3V signaling, hence this pin is pointless. Just a note about the background. At first, hardware engineers tried to implement the UHS for this port. Then, they needed to shrink the silicon die size, and gave up the UHS, but forgot to remove the pin assignment. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c index 24788a7..b2c1ffe 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c @@ -1047,9 +1047,8 @@ static const unsigned nand_cs1_pins[] = {131, 132}; static const int nand_cs1_muxvals[] = {1, 1}; static const unsigned sd_pins[] = {150, 151, 152, 153, 154, 155, 156, 157, 158}; static const int sd_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0}; -static const unsigned sd1_pins[] = {319, 320, 321, 322, 323, 324, 325, 326, - 327}; -static const int sd1_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0}; +static const unsigned int sd1_pins[] = {319, 320, 321, 322, 323, 324, 325, 326}; +static const int sd1_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0}; static const unsigned system_bus_pins[] = {25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38}; static const int system_bus_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,