Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp98400rwb; Thu, 27 Jul 2023 09:53:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlHJE4rW0uR9VYpEUl4fbq9IOxsKT45eWxsZ8Kkr/+H9xvzzovpuEHscawRZXRv8pP21CpR1 X-Received: by 2002:a17:907:7623:b0:99b:dd1d:bc58 with SMTP id jy3-20020a170907762300b0099bdd1dbc58mr1489530ejc.41.1690476808865; Thu, 27 Jul 2023 09:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690476808; cv=none; d=google.com; s=arc-20160816; b=C91ZkhCvaMlNckxQoaeanq6OPdpNfG9Na9t4vGdy0ohwcWrpff+kx+n7dEMFZoq3Eq OAHsMQKrKSJiftd46+QrgL87rJtmEVuw011acJfPsbooePD5O6muSBW46nLBXKkcjQrI Y2i/PpYpsymziTs8oJqAtDWq56MzRwYNG6+P5ZzRHP4SNBD2mTpxw4JOD6l+BAqWGsie mmRYe4RXeLJB86X0Xmca/BPUOExnzItZdgQGP13SRuWv0/a9WC4FV/NBZ8tSKjjMdKP7 WI3Wc7P2yTek2MiZTykSF0/7mjAJF0R9UfnuvPraGpvI9PtBBEmkYdNjfGrd8hx/y4hZ ngSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=C+3s9ILP7wlpecrgS9XL2hVHCC//x/eoIDPQfSi0cGk=; fh=/eTNpnw2EeTHjhijYum+630E555qx72OsXXBJXWDNVo=; b=AG9VuQ+8OwPkQIq6d6aIev8RxuIKZDPWxZvHsjmGxroe5GVBe+YvfgaBqdnI27Tm+X cUoUCyjMC2gS6tv+v6NmSRXAE67dEHYLWo/EdHWAT07XhJCBQxFrPSfJWHxZdW9jMTzt pCrZB1GPx7TzJIlYaTbIIi+I6eTJoiJfqQqwj6HdxIJe6YW6MxpxV6gufXgfAAcJcre9 QwzK0wDEC9Kg4Q+7YgmbJXGZyQXOZQgeTJFi07CVUJ2bgBDKfAMwa6Rp0hAQ04UFn3Ki ndpS7U/4x7Gkatk+XrG/hw3JmXK2TL3JPL9mlQcVLamTBjzIoWkOaMpoz3s9SyMKc0ln c2Rg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jo8-20020a170906f6c800b0099bd2095b65si1222424ejb.917.2023.07.27.09.53.03; Thu, 27 Jul 2023 09:53:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234439AbjG0Qag (ORCPT + 99 others); Thu, 27 Jul 2023 12:30:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234516AbjG0Qa0 (ORCPT ); Thu, 27 Jul 2023 12:30:26 -0400 Received: from mx.skole.hr (mx1.hosting.skole.hr [161.53.165.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B09B62D4B; Thu, 27 Jul 2023 09:30:19 -0700 (PDT) Received: from mx1.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id B328F8207A; Thu, 27 Jul 2023 18:30:11 +0200 (CEST) From: =?UTF-8?q?Duje=20Mihanovi=C4=87?= To: Robert Jarzmik , Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, afaerber@suse.com, =?UTF-8?q?Duje=20Mihanovi=C4=87?= Subject: [PATCH v2 1/9] gpio: pxa: disable pinctrl calls for MMP_GPIO Date: Thu, 27 Jul 2023 18:28:59 +0200 Message-ID: <20230727162909.6031-2-duje.mihanovic@skole.hr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230727162909.6031-1-duje.mihanovic@skole.hr> References: <20230727162909.6031-1-duje.mihanovic@skole.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Similarly to PXA3xx and MMP2, pinctrl-single isn't capable of setting pin direction on MMP either. Fixes: a770d946371e ("gpio: pxa: add pin control gpio direction and request") Signed-off-by: Duje Mihanović --- 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 a1630ed4b741..d92650aecb06 100644 --- a/drivers/gpio/gpio-pxa.c +++ b/drivers/gpio/gpio-pxa.c @@ -238,6 +238,7 @@ static bool pxa_gpio_has_pinctrl(void) switch (gpio_type) { case PXA3XX_GPIO: case MMP2_GPIO: + case MMP_GPIO: return false; default: -- 2.41.0