From patchwork Sat Aug 12 10:25:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Duje_Mihanovi=C4=87?= X-Patchwork-Id: 134859 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp1632810vqi; Sat, 12 Aug 2023 03:27:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH7Sj1g/3SrmyIGodSEuSrTmAINH5/5T0PaamY3MdZF8zsvG08pG/V4MmmkOLdsQA8xGWod X-Received: by 2002:a05:6a00:2305:b0:682:5634:3df1 with SMTP id h5-20020a056a00230500b0068256343df1mr5629950pfh.10.1691836035340; Sat, 12 Aug 2023 03:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691836035; cv=none; d=google.com; s=arc-20160816; b=ubNOG+KYK0kbR3PTBThnVXUpO4zTJyHZkIzS8kX4g7TW+IaeAWHqD+R7Ke6b+xGP8h JX9qC5829D8EldrDr36mkZ9vyBmWAvMuk7ohgzwfDuKdKpAA+miTUEzH2hqnT7B0ryE5 0AIHnNni9S4lbLPLxP/cGRYhf6twLYfWPikA2c9BcPnfgZL4T5X+PIws5qhXjIkCOFHG mR4N7G41VARpCTI9eBWauGONgEhZn+6sCrY5nr8xbTOLl+nq/FMBHT5Q3l6r4XQpiiXl md5utFRfwgStXSTgtshSjuXOv0W9eHlLrdd+6nxGfdOHdcEhzS0YDu8Hvn3TWki8xA7Q dh4Q== 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=JcdSZ37hg1wWjyS3GfAdHT1QFXAw0iYpZ0oRnK3g5gU=; fh=gVj9ppBdMlwIkItVqLo/K1C9sxJsP6QcvClbF/EE+nA=; b=P62PLyTdjROvv8MmZKJWlH4mNosHOhfzKLhsMfbw5AaKpkIJzn1mSX/RjWkZvsXAVe 4aWabOTBXJapVWD1vkZOYg5Cp724G062FUumk/getknbM8HyxV9kaIfLG2Us5vifsyIu aucIwKAArmDDWQqGroohDf8SVDdQTt50+hj98KI2ygKc3QKEX4boxXXzrzTGkQUzFHu0 5iRvbGPZ94B9AnzY3VBBhltEmx+tFvjoIG7nwJXwAIvDiUvYJQS+ULpcnCgW2v3F4r6I 2L9zG4X3zCEmlSEdMX+DQwrQTLAKHfKKF4Na9v7OEBbYHDkdGtFGJqMI6qAZHheW+IGq wWjA== 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 f20-20020a056a00229400b00687357a3793si4900359pfe.347.2023.08.12.03.27.02; Sat, 12 Aug 2023 03:27:15 -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 S235819AbjHLK0H (ORCPT + 99 others); Sat, 12 Aug 2023 06:26:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229727AbjHLK0F (ORCPT ); Sat, 12 Aug 2023 06:26:05 -0400 Received: from mx.skole.hr (mx1.hosting.skole.hr [161.53.165.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3CED170D; Sat, 12 Aug 2023 03:26:08 -0700 (PDT) Received: from mx1.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id 293A182A9B; Sat, 12 Aug 2023 12:26:07 +0200 (CEST) From: =?utf-8?q?Duje_Mihanovi=C4=87?= Date: Sat, 12 Aug 2023 12:25:05 +0200 Subject: [PATCH v5 1/8] gpio: pxa: disable pinctrl calls for MMP_GPIO MIME-Version: 1.0 Message-Id: <20230812-pxa1908-lkml-v5-1-a5d51937ee34@skole.hr> References: <20230812-pxa1908-lkml-v5-0-a5d51937ee34@skole.hr> In-Reply-To: <20230812-pxa1908-lkml-v5-0-a5d51937ee34@skole.hr> To: Robert Jarzmik , Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lubomir Rintel , Catalin Marinas , Will Deacon , Kees Cook , Tony Luck , "Guilherme G. Piccoli" , =?utf-8?q?Duje_Mihanovi=C4=87?= 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 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=KpHlcLrUY59P26MylBMaHpzA91WHfXQj5w9V31CEE9k=; b=owEBbQKS/ZANAwAIAZoRnrBCLZbhAcsmYgBk114Ejn0o+sJ9R66MpkeqR5THvpE/2hx19CFsu I+erCRU2huJAjMEAAEIAB0WIQRT351NnD/hEPs2LXiaEZ6wQi2W4QUCZNdeBAAKCRCaEZ6wQi2W 4U+wD/4rCSSTNj8ky6MrA4t2w8MZUprN7nQFoRNWTzeT1k/JBeLJD232B4AWHVBaN8s645nc8zZ t/uLIrN77JlBAzm9+qTc97mF3MPZ3bmrxlRLgnqnLWxg+l+B+PmA4GzmoIw7QN1qW6F3De+LPkl yfIMQX653+tM16G8/P4FTzM/jcc4QvVmjuWEjLfv/Ocz0+5BuQxuqODvOVaMFZIsqimCp2ocYdB Uf6Br+DO06FPqtJ1+SEH2fUR8W/D6sR0K0D0dA3syjHqbN1tiUNlc74zJB6zFeZqciFt2f28OoP 27sT3lXuTCuj2CrUvF+Zs7YpfUge+P/fEyubSiAX0yvqfPfb/R5O+xFhGZhqzUwFsQ0r+nFw5UX qg9N5idsmwbelsRjz5UVoBgXymjaq8ehv0k8JkC/iRKAJF6Xe4JLuPSor5s+P4CskhKHBxGz7fR lwE/VpOFmjErezbJtr77NHhla7OGyTqcvkbb08q5AnWX4+Uy8nsBqs3CHEUXKNg60o8xY4PNl4k zCjYDqU7WX2C3rUC/n9iJTKYlCgiproqDqGQ/kq7JgptLm+qYKuD5GctY7ilirzgUm5a32VVenv BOWkAtwezBuJpuJnb0rHbaM5aXDVAuWn5lyetOgXqetp4br3+/PDSRd1BDDieLQsxybkM4N/XRu TXEKM5RqVOxT1oQ== X-Developer-Key: i=duje.mihanovic@skole.hr; a=openpgp; fpr=53DF9D4D9C3FE110FB362D789A119EB0422D96E1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774018662733953146 X-GMAIL-MSGID: 1774018662733953146 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ć Reviewed-by: Andy Shevchenko Acked-by: Bartosz Golaszewski --- 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: