From patchwork Wed Nov 28 17:53:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10703079 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 42D9813BB for ; Wed, 28 Nov 2018 18:10:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 313C82DC53 for ; Wed, 28 Nov 2018 18:10:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 20F322DC71; Wed, 28 Nov 2018 18:10:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B15AD2DC53 for ; Wed, 28 Nov 2018 18:10:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Wk0MfiYZ7JsR4HNEoy5bJecu4aFbm9cyxpXIVzhyAkI=; b=N85lXgmCIOzmTC YFg7DigW8n+1AfNYkVaDtGTbFy68eAdeJYRQRA6YnYvZyDcCKxwJQHtGOnliqAcLsW895A/52SDrK PHnwFoE6x1SYZN6vuQuTEJ4i5I98+epo7Xzk0KN1++bLL4+GTTVDIA9NFnt76uWjMrhsGkdFBP6an 252iBUK/Y4FYxbVWkQCLAY0Ftqo05qOzvfplzGyqG3gheB1d7vI4vy0Y++jTximcYNLgkXi+PKNUk l6NfpW7MlqtSFBDl3vpt1PGBDGVLhyypL2vNBh/rX9Iy0sh+Z+ZiWNhiIXcUn4D3L6r3JY8tybctc PcUXasbv8iA01mEMzlSA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS4Hw-0006kl-HH; Wed, 28 Nov 2018 18:10:16 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS4FZ-00043d-Qv for linux-arm-kernel@bombadil.infradead.org; Wed, 28 Nov 2018 18:07:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=actFPeww1UvVr11KBjkoPDLUS/KRArsIjrNKWozAHWA=; b=wWZRlgkUr2IjMwoawpGH5NFCHp 9TSzdPAvB7UBDExrj1da0ywcKCyn1NHExouhxSDF0BCzv77fQuWx2yVQcHeGIGFbJz2Vu9fqZ8s/T pukyeKyhhQNPzyTmFSQOrrf4hUdhfyrbbD7YvuNErD3VllkfJWHnkirgOObTM0Hri1RBoy1ZvMeuM dClHKj4lubiD4Gbm6/uIL6UUxAEt9Grnq9qSbVQgymWhOo5sOjwrEmdzYTgUUm/6RSSvzHhsLTCE+ msaO+Y8/Ns+ojYVwwOtlWJK9tcxyyGtjWnYpT8pWaa7rzgKDBWcbfnyDPSUdRbXYysb5NoDdJPMWe gawDNo+A==; Received: from shell.v3.sk ([90.176.6.54]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS42g-00089Z-4i for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 17:54:31 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 4A15E999DE; Wed, 28 Nov 2018 18:54:28 +0100 (CET) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 3VeWBeqWhqfc; Wed, 28 Nov 2018 18:53:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id EE6AF99986; Wed, 28 Nov 2018 18:53:40 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gsYqW018y048; Wed, 28 Nov 2018 18:53:36 +0100 (CET) Received: from belphegor.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id D14C099B17; Wed, 28 Nov 2018 18:53:31 +0100 (CET) From: Lubomir Rintel To: arm@kernel.org, Olof Johansson , Arnd Bergmann Subject: [PATCH v4 13/20] gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2 Date: Wed, 28 Nov 2018 18:53:17 +0100 Message-Id: <20181128175324.163202-14-lkundrak@v3.sk> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181128175324.163202-1-lkundrak@v3.sk> References: <20181128175324.163202-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181128_175430_235682_65876314 X-CRM114-Status: UNSURE ( 9.17 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Miao , James Cameron , Russell King , Haojian Zhuang , linux-kernel@vger.kernel.org, Lubomir Rintel , Pavel Machek , Robert Jarzmik , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Similarly to PXA3xx pinctrl-single can't set pin direction on MMP2 either. See also: commit 9dabfdd84bdfa ("gpio: pxa: disable pinctrl calls for PXA3xx") Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- drivers/gpio/gpio-pxa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index bfe4c5c9f41c..1b437bbe5cf5 100644 --- a/drivers/gpio/gpio-pxa.c +++ b/drivers/gpio/gpio-pxa.c @@ -245,6 +245,7 @@ static bool pxa_gpio_has_pinctrl(void) { switch (gpio_type) { case PXA3XX_GPIO: + case MMP2_GPIO: return false; default: