Message ID | 20230929-pxa1908-lkml-v5-1-5aa5a1109c5f@skole.hr |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp4133347vqu; Fri, 29 Sep 2023 08:53:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IECDLqVC8qejEfHHq+k7azewXxZ6r09YgO3jrOD2NboxW+TVMkeoUIXLw6ThqTR8cGWCNVV X-Received: by 2002:a17:90a:c7d6:b0:274:dd15:87bf with SMTP id gf22-20020a17090ac7d600b00274dd1587bfmr7114697pjb.20.1696002806156; Fri, 29 Sep 2023 08:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696002806; cv=none; d=google.com; s=arc-20160816; b=bA3vI77Nc01EDgT7ecodUPPgX8eD6eQil90CZvVEq5aw0G0mlKuo978NS9JPziSdmZ +h95E4Z+foVilhYSiBO9Fh9Ai2JVNyKMqN7tBg81w7Wy5N9f3fI9TmpuRipj83fkzzyq weLoPQwwMcN+KMooe+yLkuKXigMUniAj+UbY+c4MlNkWZ7c4ToIm935b15aPhDLNiSsv SVs/1X9rkvTqp0YxvjxjNlw7n5ob6onEtGK+KfbY6RgYJd2qGIslveGc3p2xVuq9Xr/v qaOJnWKKqycPfR1FZ1fYZvQOXU7+Ur/HvwIn/cAih6Tjo34gvlZ95Gt6QgtE+Xwtb1hw nBKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=WDlIEq9qKHIY4Z8V4soaZi5Q6A+zJYOQtDRRm7ib2cI=; fh=d9zTECRKvwtfv4Oy5Pe2kSmUuyRMl3VQDPj+o1eecac=; b=RhNYZjcUdpY4w9wfIfqmUqtPZVxXP7lPy1iHNQJQCCkfWoyS7jfXq2bsSk4+3SQpSC 7O1oay13f37d9Lj49uukG6tz/AYNT8s7qxPg8Q7WdpK2lolpQqJx1kuQWlIB3r+MGoCS 4iU/yYmSWNL3bQrFK26D7yDJKRz8cbJvmsHHmz9m9WGB6ZRkKU3BI9ikTnGabVRlsu6y S28wE4rbz3EJIUO+IisIhCdCZT/gZuO14neNv7DeaJQcXmcxWb6ceygIGilp+bs4cPfT 4XQ4Zm2FeZsuGrQaEGNrHuBBCv0YeLNGG0yncbNfK01FdyrIxgp6WZXXf7LciANhS3jd oAxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id az1-20020a056a02004100b00578a2466521si22351990pgb.676.2023.09.29.08.53.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 08:53:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id A0DD58314417; Fri, 29 Sep 2023 08:43:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233615AbjI2Pmz (ORCPT <rfc822;pwkd43@gmail.com> + 20 others); Fri, 29 Sep 2023 11:42:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233141AbjI2Pmx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 29 Sep 2023 11:42:53 -0400 Received: from mx.skole.hr (mx1.hosting.skole.hr [161.53.165.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10D5FDD; Fri, 29 Sep 2023 08:42:48 -0700 (PDT) Received: from mx1.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id 0A9F482388; Fri, 29 Sep 2023 17:42:47 +0200 (CEST) From: =?utf-8?q?Duje_Mihanovi=C4=87?= <duje.mihanovic@skole.hr> Date: Fri, 29 Sep 2023 17:41:57 +0200 Subject: [PATCH RESEND v5 1/8] gpio: pxa: disable pinctrl calls for MMP_GPIO MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230929-pxa1908-lkml-v5-1-5aa5a1109c5f@skole.hr> References: <20230929-pxa1908-lkml-v5-0-5aa5a1109c5f@skole.hr> In-Reply-To: <20230929-pxa1908-lkml-v5-0-5aa5a1109c5f@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>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Lubomir Rintel <lkundrak@v3.sk>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Kees Cook <keescook@chromium.org>, Tony Luck <tony.luck@intel.com>, "Guilherme G. Piccoli" <gpiccoli@igalia.com>, =?utf-8?q?Duje_Mihanovi=C4=87?= <duje.mihanovic@skole.hr> Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-hardening@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, afaerber@suse.de, balejk@matfyz.cz X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=717; i=duje.mihanovic@skole.hr; h=from:subject:message-id; bh=yNr4Eqx9Bi0YeNPlA8O02XTVqPtmRaJFN4LA8s4bBdA=; b=owEBbQKS/ZANAwAIAZoRnrBCLZbhAcsmYgBlFvByWVc9E8OD4qhhAbUIxeBnSccOKCeOL4dds BFOjRd1vQSJAjMEAAEIAB0WIQRT351NnD/hEPs2LXiaEZ6wQi2W4QUCZRbwcgAKCRCaEZ6wQi2W 4Xt+D/0TkYMy0YcQtgCw1tS6bwfNQts/LWwksqUegyHiR+8ItFU8dUPsHHhVUyUETy+QZnZ9yFe fdDylRoUvEPfTKXyX1aba+iNDXCNtiRslTIq10o3WgqjhYn7xiZap6MNQw2/npQLRrEv83R2vGN BCWApSlXUs3+XcCxU2IJeM1zh6wtZtpwHi+ibfA3DK6e5BW1npgmhlZ+agh8eIwWg8oN/LB6l+x H0rBmWO1tykmEqLGz1DoWulk60a94q6PbDUzYVrC1cSjiCLMfIG3lp6cc/Y/Z3TyF/rhLxipy3O Q34V5ttDxgT4JRmG4Xw7fQODVW1A9nGsT1KIXRSR17ElB+DtvgA3ySHXSMTrgK+Wgpu9XgraUn2 9LfmdNeBPeLfiQqkZLbyEagThieqKEhH/o6yDal+VKtFXOXGUPmQPadERGaW27Z0Ecd8mvwW9a4 TF/sWvOK3xwfzmVehdYNbpnmxUUsSHWYaCfWmhsxW3s4bBB1ZDTdFba11tBR2Uq89fX3XMc3M3g bUbLNE8hrGfkQqklQJokC5iqgpM37srWx3bM49TvzinFl0qr7ljxxwxqkbeUJa5mGSXNSWcuVXs 53Qpht9sYMVXc+0oNC06dEs+XGnqgq85xBEGmo2m8AvoiwF5pAh8+Z59UrvM0P4CgWAjZp7CQbt oTYCARrGmyFRdVQ== X-Developer-Key: i=duje.mihanovic@skole.hr; a=openpgp; fpr=53DF9D4D9C3FE110FB362D789A119EB0422D96E1 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 29 Sep 2023 08:43:49 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778387838213471775 X-GMAIL-MSGID: 1778387838213471775 |
Series |
Initial Marvell PXA1908 support
|
|
Commit Message
Duje Mihanović
Sept. 29, 2023, 3:41 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> Reviewed-by: Andy Shevchenko <andy@kernel.org> --- drivers/gpio/gpio-pxa.c | 1 + 1 file changed, 1 insertion(+)
Comments
On Fri, Sep 29, 2023 at 5:42 PM Duje Mihanović <duje.mihanovic@skole.hr> wrote: > > 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> > Reviewed-by: Andy Shevchenko <andy@kernel.org> > --- > 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.42.0 > > Queued for fixes, thanks! Bart
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: