From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 162ACC00144 for ; Fri, 29 Jul 2022 12:00:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E3F56841B1; Fri, 29 Jul 2022 14:00:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1659096057; bh=4YQZQfuysZN+u/u3sF8OVURXuJdfvSTzAikcTZsdH+0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=BboJW/92jch/U0TPJeRECeSl89XO41Nej82ozRUnRDqOWNBInnBhMsxLGsSp9pNIj EPm9zxK3iR3H1l9vmIZDv8ZT+XcjM4n2Qx7SgpdC9IG1rFt7INQE+KXLuMVb8aGqr5 BfHBvQ5FUWsE6zUxu+J9ii2llBY4sEInMMpEbW4jGjd6pkyr9ihh9LvBwPgPVS3qGg pdXwPhwDy/N9rYwsG/ztdKWg8/W0N29HHJzjf64mUPnV93mjV1VxgcLOslvsDlr7kA vIxqtuJTOQUy1zEZ/qhkYsApXGO7zh1jffz60mDHJXCHRCT6gp0/vvpc8YtSSqIaE1 pisO66voIy1sw== Received: by phobos.denx.de (Postfix, from userid 109) id 0123B83C5E; Fri, 29 Jul 2022 14:00:56 +0200 (CEST) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [80.241.59.204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1F08483C5E for ; Fri, 29 Jul 2022 14:00:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4LvR1J2BHpz9sRg; Fri, 29 Jul 2022 14:00:52 +0200 (CEST) Message-ID: <910d8c24-dbed-d6f5-daab-910968fa89b6@denx.de> Date: Fri, 29 Jul 2022 14:00:51 +0200 MIME-Version: 1.0 Subject: Re: [PATCH 0/6] arm64: a37xx: pinctrl: Fix requesting GPIOs and pinmux command Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: Marek Behun , u-boot@lists.denx.de References: <20220725120903.3284-1-pali@kernel.org> From: Stefan Roese In-Reply-To: <20220725120903.3284-1-pali@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4LvR1J2BHpz9sRg X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 25.07.22 14:08, Pali Rohár wrote: > This patch series cleanup pinctrl-armada-37xx.c driver, add missing pin > muxes into the list to allow usage all MPP pins as GPIOs, implement > gpio_request_enable callback for correctly setting MPP pins to GPIO > mode. > > For debugging purposes are implemented also get_pins_count, get_pin_name > and get_pin_muxing functions which are required for U-Boot command: > pinmux status -a > > Pali Rohár (6): > arm64: a37xx: pinctrl: Remove unused grp->pins fields > arm64: a37xx: pinctrl: Remove duplicate info->groups and info->ngroups > fields > arm64: a37xx: pinctrl: Mark all functions and structures as static > arm64: a37xx: pinctrl: Add missing pinmuxes into the list > arm64: a37xx: pinctrl: Implement gpio_request_enable for gpio > functionality > arm64: a37xx: pinctrl: Implement get_pins_count, get_pin_name and > get_pin_muxing functions > > drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 189 ++++++++++++++++---- > 1 file changed, 153 insertions(+), 36 deletions(-) > Applied to u-boot-marvell/master Thanks, Stefan