Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp132502lqh; Thu, 30 May 2024 17:06:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUmq4ZeDLU5nAqPuODEGXg5O8kXx7PI4qVEwWkgXgarOLrEmEjfOXafFJktisbyf7TMMYvhGclPCtuwNs6Olr+A7IjTEX8Yz61tbR37w== X-Google-Smtp-Source: AGHT+IGUvMFTCDvN9rwNlqUwd6o4lqjwV2csgjhspfYQiLcCUwllFamq46XcpCG+l79nSqCmEuUR X-Received: by 2002:a05:6e02:18ce:b0:36c:4d8b:b710 with SMTP id e9e14a558f8ab-3748b96e9bamr5286715ab.4.1717113998027; Thu, 30 May 2024 17:06:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717113997; cv=pass; d=google.com; s=arc-20160816; b=KQoxK7gkS7KbfcG6gysBKFXqdUaxbnj4EP0bN4DXhOs4oxoRxMYe6ZD06eG3buZOfJ kt4PCrrwjJFyW+j0cpvuEcIU0cDg/rfmrHkk4IK/jzfYqLIexMGBOqsDBZXd8gxVvLGi 98fqFOo9lH0tMKTVrMeaPKn1sKW8PTYXsskZ2CoDwpOC0HnkwKVjDh/L3IE8bhut4WEL anAC6+x3u797RoM57J+SmeywXDxi8I0yt4bNO8dUIffrmYqoXvrLD0wZpp7G8Cb0lBWD JQy0h2LPzB60oHBnGApxXzrbeLzk2f9S2A0tFtuF9+fyORm1HNBvqcPvAmniR38AF5tI bFCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=BHqhTWp5Ntbu2u9t0m8R635h6/u8hGQdf4QcuR5lfIw=; fh=SVFF+esd2teALkQTF73glKuoQ8orDUlWFxgw6NzwcXw=; b=RUkAzqGL2wBYWC0YechD9GlIzlcIDO9rwHyAGsiYRT9IW6LZxX64ang7do7HQVgSIx f4jNSSZ1oUs87z6w1ac/Q8Z85EOaa6PBq7YKvHLzvXoCGG0dtKaRj6bDrrhObqN9OpMq ODxYj+F5CzauSKD6x0hj/kd80L1HBMgu5Pv8PbExcp8pjnnLw+838nrroNxXhVHPv/IZ tZYeRjrSQmo9rct8GYgv+argcNeUO+3ZfMA2Y6x2gADPGa76kqQHQzJSkGJrfPISirO4 CYPqUG54VRyKBa6L+5MxqoZUDqzvcTXpnfgcJm+hQGQ3Ka2e3JLCTw5aiqSAMF2lJ8Y7 4zYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cvsPxgf3; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-195814-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195814-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c3540fb189si268891a12.26.2024.05.30.17.06.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 17:06:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195814-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cvsPxgf3; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-195814-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195814-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 465B1B236C0 for ; Thu, 30 May 2024 19:14:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9DAA770F2; Thu, 30 May 2024 19:14:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="cvsPxgf3" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CE1E7581D; Thu, 30 May 2024 19:14:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717096466; cv=none; b=DLag8l9/w7mV8XsVSCeJ8+Xy1i8GpxzBdqUNXh2W+0xdfjEUSKcFOlxkJHERsz4hy+449k3qsQyFgJ9PVvssFJGpdtWchqHi8IYyPsFRuYIuj5hDgLJRZaFQA4ccucFTsgTYuvJi6rIV/eCpQxohTST+urnT4U+E+yDSQcXYBxk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717096466; c=relaxed/simple; bh=7ks52cu97HF3ZwSWzL6+SV9D+EkX6wp45bOJTJPx1MY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LhEOt7whGNrzYtyhBP9QlemEdi33ZemRtDmOAbF+OSmz8t6G2Z9UlDva1c/WVLBaDpL0bthwwZvsmgMkgvrDtjjCnnNQhVa7ino70w8uF3bxiC/WfqSdaLorJYIf2mpSt2irOvNOC1tAwnFq7jJZKcwqES+7eehyLgdVrhclTqc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=cvsPxgf3; arc=none smtp.client-ip=198.175.65.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717096465; x=1748632465; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7ks52cu97HF3ZwSWzL6+SV9D+EkX6wp45bOJTJPx1MY=; b=cvsPxgf3HcZgbdNqr3pFZdANRncc4ubJkCvm29yRWP1FosfsG2KDoA0Q PC/QgkAPfqwhkk5A89tLZsTwsF8bSFVn/LQ2MBihfKGoo+sd9QFM6uPaC kB9NCPxPwBseGVF+tVqrTIuLQbRzx/Mld3dyYRK5rjtHHmVe7reDrbSsZ wdGC7jEH+QqLYcuAYLbERx0LhcygpXRbah5XIscDW+kUeG7ZCS3pCR2xe o3D70TrxmGVdglkLz0y/riscnH5s/UMPs1k6raLvQXspMmH9arHtJpoeO V3bVSEgNiOiJWTGuKfZWimqx5JCUklzdZNS3Y0PRIqapttBQNTbej5EFr g==; X-CSE-ConnectionGUID: 5asaoB0nQWurSP4Q6MIjvw== X-CSE-MsgGUID: Z+i7yrnrTWe6lA8ZZ6F8EQ== X-IronPort-AV: E=McAfee;i="6600,9927,11088"; a="13779058" X-IronPort-AV: E=Sophos;i="6.08,202,1712646000"; d="scan'208";a="13779058" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2024 12:14:23 -0700 X-CSE-ConnectionGUID: BCOldhEOTvu6vlVYnxXAKA== X-CSE-MsgGUID: KQsCxVCjTpWYZjtA3frELQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,202,1712646000"; d="scan'208";a="40978619" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa004.jf.intel.com with ESMTP; 30 May 2024 12:14:21 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 999EC1A3; Thu, 30 May 2024 22:14:19 +0300 (EEST) From: Andy Shevchenko To: Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko Subject: [PATCH v2 0/2] gpiolib: Show IRQ line in debugfs Date: Thu, 30 May 2024 22:12:28 +0300 Message-ID: <20240530191418.1138003-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Couple of patches to show IRQ only (when it's not requested as GPIO) lines in the debugfs. In v2: - joined two separate patches - rebased on top of latest GPIO for-next (Bart) Andy Shevchenko (2): gpiolib: Return label, if set, for IRQ only line gpiolib: Show more info for interrupt only lines in debugfs drivers/gpio/gpiolib.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.43.0.rc1.1336.g36b5255a03ac