From patchwork Wed Jun 15 08:18:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 70092 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp2446213qgf; Wed, 15 Jun 2016 01:19:15 -0700 (PDT) X-Received: by 10.66.249.234 with SMTP id yx10mr2507866pac.29.1465978755576; Wed, 15 Jun 2016 01:19:15 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s18si9755965pal.122.2016.06.15.01.19.15; Wed, 15 Jun 2016 01:19:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753309AbcFOITN (ORCPT + 30 others); Wed, 15 Jun 2016 04:19:13 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:37710 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751529AbcFOITI (ORCPT ); Wed, 15 Jun 2016 04:19:08 -0400 Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id u5F8GtrM017170; Wed, 15 Jun 2016 17:16:56 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com u5F8GtrM017170 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1465978617; bh=NEUk4b+gU+z1B5L+rDx5ElZruIysj6ht8vRAK+42w3s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S2UdfvNSbtyRmX1CVrAOLGjY9csJTIdNMH7P2KDpZKkjL8R9VnxMfJbXbvtIu27XM CxIgTzynPcBuOJyuKJYafkI0/QOJcEFD9G8UuvYddfA9tUgz3I9D9WoIcu8Jalv55/ j8eeHWUsUUIbSonRlpzymQ1Buye1qdcX1egUer5yAUmw8zDpvZ57s4+UdJUxUQjsBq RHk14kDXVGFhJjqhtiDFJ7vJOzSRLzyfPUFbYCrW2TdIfgpz302+PFXXx5mrrwVIQ0 DX11mjmLk80VgAx/1PWc93lTs7P4qevLUd/uRvlxHj+mCvyVdJ7QAp7QJB0ZdGTNkq DfUtXNlj99h8w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-gpio@vger.kernel.org Cc: Masahiro Yamada , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] pinctrl: uniphier: prohibit drive control for pin 61-66 of PH1-LD11 Date: Wed, 15 Jun 2016 17:18:05 +0900 Message-Id: <1465978686-28578-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465978686-28578-1-git-send-email-yamada.masahiro@socionext.com> References: <1465978686-28578-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org According to the hardware document, setting the drive control is prohibited for these pins (N-channel Open Drain pins). Set their drive control attribute to "fixed". Signed-off-by: Masahiro Yamada --- drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 1.9.1 diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c index 150942f..608cd73 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c @@ -151,22 +151,22 @@ static const struct pinctrl_pin_desc uniphier_ld11_pins[] = { 60, UNIPHIER_PIN_DRV_1BIT, 60, UNIPHIER_PIN_PULL_DOWN), UNIPHIER_PINCTRL_PIN(61, "DMDSDA0", 61, - 61, UNIPHIER_PIN_DRV_1BIT, + -1, UNIPHIER_PIN_DRV_FIXED4, -1, UNIPHIER_PIN_PULL_NONE), UNIPHIER_PINCTRL_PIN(62, "DMDSCL0", 62, - 62, UNIPHIER_PIN_DRV_1BIT, + -1, UNIPHIER_PIN_DRV_FIXED4, -1, UNIPHIER_PIN_PULL_NONE), UNIPHIER_PINCTRL_PIN(63, "SDA0", 63, - 63, UNIPHIER_PIN_DRV_1BIT, + -1, UNIPHIER_PIN_DRV_FIXED4, -1, UNIPHIER_PIN_PULL_NONE), UNIPHIER_PINCTRL_PIN(64, "SCL0", 64, - 64, UNIPHIER_PIN_DRV_1BIT, + -1, UNIPHIER_PIN_DRV_FIXED4, -1, UNIPHIER_PIN_PULL_NONE), UNIPHIER_PINCTRL_PIN(65, "SDA1", 65, - 65, UNIPHIER_PIN_DRV_1BIT, + -1, UNIPHIER_PIN_DRV_FIXED4, -1, UNIPHIER_PIN_PULL_NONE), UNIPHIER_PINCTRL_PIN(66, "SCL1", 66, - 66, UNIPHIER_PIN_DRV_1BIT, + -1, UNIPHIER_PIN_DRV_FIXED4, -1, UNIPHIER_PIN_PULL_NONE), UNIPHIER_PINCTRL_PIN(67, "HIN", 67, -1, UNIPHIER_PIN_DRV_FIXED5,