From patchwork Sun Feb 4 16:58:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13544746 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 06A29C48298 for ; Sun, 4 Feb 2024 16:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=1EPal+3FS7pjoFKShCMV6+g0kHESTh0WDfpwa+6kKUQ=; b=XG+K9Ot/3Gqmbz N3WP8Umhqvif5AS4FiRjsY/eE1bRcmSz3KngLKMcjvRAzHVNcKt27VuWjVZ47RN79pAFAS+KTTub3 k8kl9Cuc2kGtomyxdwJR3DVxQ2erjNRu58eAhGKhx7VxRvZjLOpJ3So+PS0nckRN05IX+yf7F0ycF lHR2asEX3MemmC0x7RutCE+75FjiUslMJ7XVBTgG+tjXb9B/9M+z57GOA51bCHL1GluyAwViF02Fm qzPtR6CrygpQKOKWDU+1ZXxQ1cyFQDHSvWgHdN5SPB1bm5HjpmlmnKkmUG0RbIJdRypG07NaYxjMJ mgyl1MuK+t0gjAJW7JMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWfqI-00000001BTr-45b7; Sun, 04 Feb 2024 16:59:42 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWfqF-00000001BSV-0LAt; Sun, 04 Feb 2024 16:59:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1707065974; x=1707670774; i=wahrenst@gmx.net; bh=TtOQtRRWIjic18hsl/wpaV2Nn0fU0CRx262wu3eO00E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Wow+Fuw7kvaIXazfsolWmM686uT+Z8h1JpCdYWhavsY7bGB1isVKGvgHd3+TtwNd IESzgDsH/qVKetPr019wxhtmhkzSoiOyHeE8I4YhzqFKUVrtUttuG3eANOYlhma0E lBQ7ntruWtvc0ybfHORwaj7GhwQxJklOKS6jvtXnt98KI3MeJgL17ZS6sz93S9FVQ EyanfLhxu6AgD6ZG14l0TUNBQ3F2RI4nfz/NmPnjDuz043Pt0RZVPL1azFS3fYbvG QeXapDrgKEQdV04Lz+JjTteFseX5lV5VY5wIlYsO5MGTuAYSvf94p1qztd437u6V9 nGHPim9qA4S6kjsfLA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MAONX-1rKtKQ3ZmN-00BuIY; Sun, 04 Feb 2024 17:59:34 +0100 From: Stefan Wahren To: Linus Walleij , Florian Fainelli , Ray Jui , Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH RFC 0/2] pinctrl: bcm2835: Implement pin_conf_get Date: Sun, 4 Feb 2024 17:58:50 +0100 Message-Id: <20240204165852.166157-1-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 MIME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E84Fa6U3uemcWUA3+DiWRtROD aDDEcMYL4vAdogT8ZQY4zwNz0n2BmC+VgwChb+qO78nis= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240204_085939_487586_1E037666 X-CRM114-Status: UNSURE ( 8.17 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org For years, the Raspberry Pi users relied on userspace programs to read the pin configuration. In the meantime, it has become apparent that this approach has reached its limits for various reasons. This patch series now attempts to improve the debugging possibilities on the kernel side in order to reduce the dependency on these userspace programs. Stefan Wahren (2): pinctrl: bcm2835: Implement bcm2835_pinconf_get pinctrl: bcm2835: Implement bcm2711_pinconf_get drivers/pinctrl/bcm/pinctrl-bcm2835.c | 78 ++++++++++++++++++++++++++- 1 file changed, 76 insertions(+), 2 deletions(-) --- 2.34.1