Message ID | 20230727162909.6031-2-duje.mihanovic@skole.hr |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp1231416vqo; Thu, 27 Jul 2023 09:53:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlG2vANTuMlQxUcbGSNB9IP8SrXfmTceWwWz1uRyDl9YQEOy5RGY93hfANtZqbga6/y1WzE8 X-Received: by 2002:a19:d61a:0:b0:4f8:6a29:b59b with SMTP id n26-20020a19d61a000000b004f86a29b59bmr1961984lfg.64.1690476807348; Thu, 27 Jul 2023 09:53:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690476807; cv=none; d=google.com; s=arc-20160816; b=n5TLrLU7xFv6scEAzrKWYzSuX7SDoHvQ4cS/dn2zrid0TA8lVnTJitMNyQJf61TkX8 QiZgfniBknFRbGGdIKsCRGGieMKSewu9x4lnGtc/GPoBoiXjoX/N/cj4PbVro8Gk9DXp Qbk+/3XniJrfkDLEiegBEaCgNK2oueHGL9tBQ0tcy++F58sCSxNn59DsGCFp8UoQkEEr 1r3jHwOHj9AOv1S3z7FmPiLP30YxzJUjWGpzJEjWQwmvGX5tIKtowbYHUupekxe6s1bX Ddr2m5uU3/Jox6a385ePOxvry4uairS4FB8lhqUtO813yFWMxPbdHPYjNdnx4Htvg7jR c1AA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n6-20020aa7c686000000b0051a4adabcb5si1221027edq.618.2023.07.27.09.53.02; Thu, 27 Jul 2023 09:53:27 -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 S232288AbjG0Qah (ORCPT <rfc822;hanasaki@gmail.com> + 99 others); Thu, 27 Jul 2023 12:30:37 -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 <rfc822;linux-kernel@vger.kernel.org>); 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_Mihanovi=C4=87?= <duje.mihanovic@skole.hr> To: Robert Jarzmik <robert.jarzmik@free.fr>, Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Andy Shevchenko <andy@kernel.org>, 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_Mihanovi=C4=87?= <duje.mihanovic@skole.hr> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772593408690027275 X-GMAIL-MSGID: 1772593408690027275 |
Series |
Initial Marvell PXA1908 support
|
|
Commit Message
Duje Mihanović
July 27, 2023, 4:28 p.m. UTC
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ć <duje.mihanovic@skole.hr>
---
drivers/gpio/gpio-pxa.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Thu, Jul 27, 2023 at 06:28:59PM +0200, Duje Mihanović wrote: > Similarly to PXA3xx and MMP2, pinctrl-single isn't capable of setting > pin direction on MMP either. Reviewed-by: Andy Shevchenko <andy@kernel.org> (Hadn't I already given you a tag?)
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: