From patchwork Thu Jul 6 06:54:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 107092 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1726440qge; Wed, 5 Jul 2017 23:54:56 -0700 (PDT) X-Received: by 10.99.2.213 with SMTP id 204mr24500427pgc.180.1499324096401; Wed, 05 Jul 2017 23:54:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499324096; cv=none; d=google.com; s=arc-20160816; b=WMzyFzZ1czVK7+2rHCUrDVYlupFuTBOx7frbHqs5xOJsiDtiCLy2f7Dg5Gern6lAg6 1N739m5J95k6Jqf/u8ye6kh6uSpEejPLXMnKqDONs0J6I985PpJNCHRbkJh/9CwETYSu KjlCDrsaPlUfgzOg8uBAy+47Zkre1461LAbEiAgSO1nyDcxzZGSK1H205CRQFZ/dmX4f HhuTRzzHL7T7J+0kI9AKGCI6PuohIGDFWZNMifMr0/MQWdt8If4OJobvsgr77JyYJogw 254MI0wMf3yES6gLgJaQwUd3k6up6ykd5XtFMUFHBaIwGN5i6PZbatjEQgMDtMyj83l7 xCPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=DkeiTGdUIVAg1TCfitWpIJta6yUdSAraUMOO8E8n5PY=; b=rwsJy5/KbmfyNCP2r1KpBlqPiJ4fJ7Brsu8pTw3o0Y8j9miBwTUr01LRfSQFz/8rhs CzbKpoeLDeNCrNIV19tefTdjTkqL5L3SZDKMn3CS2ssPuq/vU3cqgDqyfMYdR6ZR8NVO aYRtkV9kE69L0enO6/BQCnrSKMUO7fm68zcHW2Y2HgWGn9SYQaOwSwfCLJxtqUXS/k+h qB0/qHCRTyqUqk2YDqyvvWzgdj+3XcWo4PJa0jW43wg/6nterdjkYKz6Cwsx0D/l1n6q aNB7iUBFNM95q0xHyvcnC9gwwP/x/7cTpblrTctstcHHaWGhMqUvNG7/FBRExcfNWr0h sH1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s129si886372pgc.348.2017.07.05.23.54.56; Wed, 05 Jul 2017 23:54:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752886AbdGFGyz (ORCPT + 4 others); Thu, 6 Jul 2017 02:54:55 -0400 Received: from mx.socionext.com ([202.248.49.38]:24144 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752844AbdGFGyz (ORCPT ); Thu, 6 Jul 2017 02:54:55 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 06 Jul 2017 15:54:53 +0900 Received: from mail.mfilter.local (unknown [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 1064A6007B for ; Thu, 6 Jul 2017 15:54:54 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 6 Jul 2017 15:54:53 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 42FA81A0E89; Thu, 6 Jul 2017 15:54:53 +0900 (JST) From: Kunihiko Hayashi To: linux-gpio@vger.kernel.org, yamada.masahiro@socionext.com Cc: Kunihiko Hayashi Subject: [PATCH] pinctrl: uniphier: fix USB3 pin assignment for Pro4 Date: Thu, 6 Jul 2017 15:54:23 +0900 Message-Id: <1499324063-907-1-git-send-email-hayashi.kunihiko@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 According to pinctrl assignment for Pro4, each definition of USB#2 and USB#3 are as follows. 184: USB2VBUS 185: USB2OD 186: USB2ID 187: USB3VBUS 188: USB3OD USB#2 has an additional pin "USB2ID", but the chip doesn't use this pin while in host-mode. Considering this pin, the pin definitions for USB#3 should be {187, 188}. Signed-off-by: Kunihiko Hayashi --- drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Masahiro Yamada diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c index a433a30..c75e094 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c @@ -1084,7 +1084,7 @@ static const unsigned usb1_pins[] = {182, 183}; static const int usb1_muxvals[] = {0, 0}; static const unsigned usb2_pins[] = {184, 185}; static const int usb2_muxvals[] = {0, 0}; -static const unsigned usb3_pins[] = {186, 187}; +static const unsigned usb3_pins[] = {187, 188}; static const int usb3_muxvals[] = {0, 0}; static const unsigned port_range0_pins[] = { 300, 301, 302, 303, 304, 305, 306, 307, /* PORT0x */