Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp184526lqs; Thu, 13 Jun 2024 07:27:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWYewXoLrgFMtJBg/DmgqJMSEeLya5Jdav/Tldho6/VhsvN6ypJaTJcUpc611Nq/2czpkpa1UCkZaKg2ArvD4jH1S6P2Lvm6QFsWSzEOQ== X-Google-Smtp-Source: AGHT+IHQEtOT1NCuc3qtGtDVU1wBpz8Bn0X9bnUVSJXlnCqmGN5DIOVsPQNR4dzjI1qh/5WGHZJK X-Received: by 2002:a17:903:190:b0:1f7:3e19:6da0 with SMTP id d9443c01a7336-1f83b69c09dmr53584995ad.17.1718288842194; Thu, 13 Jun 2024 07:27:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718288842; cv=pass; d=google.com; s=arc-20160816; b=0doT3dRzd5DolkGtxjGip+NFFv3lv82TSZ15wUzbXW5NyRUByMaBPjOqlwmbVmZFde cHos53UmCWgN+ptHqdoZzDoSmBkfrYSy5n63wbj2NbeAIwN0D127QRRDlX8WudwK+PAn ZNfBCkc0hhD7KJ64aBFnuscNf6q3gohwh9WcrnuM4t+lssquwHJvxHvKxaXAgv37Xrne EH8vyU2napMgo5EGL85kBIwS45alTU1C5gy2Ae71BJBSvvoKWRLR2JtkU1CcMxID/oBb U6qxarmpAcTJ5b2vAtK2CX031XDVXFkNotqvwmMCvpkFDg+WnGSqupLmvgHQUfrKffse 3amw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:user-agent:feedback-id:dkim-signature :dkim-signature; bh=X1wXGY8fY6VS092pn7rTbaQrNyXNXzEIWMfaJZJaLSk=; fh=PCwDlRB7SUHxn6pYd5mjzWcu5V7/F6sF91+8vqf/XOQ=; b=f4VwSOOZraXZU3HyBliM7QMRtd2i+LG3PwBFeEx4NptBb8+nUtOCpootZXc3XlD8CY Z4blt5vqhQSUcL55js/UbMIyXzGc19jvy1+Di351dYEsVcbdl2GA+qCKX4GuGEnGvbO6 WUbY0rSArCL6otXtjpcxR8F1mPs+UeU9NoMgSpZsJkbO+B6rdW8w5OuR54mlPJgHWVVH kZBK69qiJxkIWGi+5J1Smh2Mw7nA2yq1sk6gkXw4pNrwQUAjZtp80NvbWRuY4+E1h58A XR7n8s+tNFhGekZw+nAxoJHvE1Qkd5UJ89JVlnxfLWkrD+Hh2o88bH9mx9SR7I+fBwe7 GpBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=zjyxAfm9; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=l6Fhe4CJ; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-213418-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213418-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f855e53ff7si4548865ad.180.2024.06.13.07.27.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 07:27:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213418-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=zjyxAfm9; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=l6Fhe4CJ; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-213418-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213418-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9E5FB2887CE for ; Thu, 13 Jun 2024 14:21:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EFACC145B10; Thu, 13 Jun 2024 14:20:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="zjyxAfm9"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="l6Fhe4CJ" Received: from fout7-smtp.messagingengine.com (fout7-smtp.messagingengine.com [103.168.172.150]) (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 3EEA412C530; Thu, 13 Jun 2024 14:20:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.150 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718288458; cv=none; b=qkpv0cG6nIObuf2tWfVpfZ9IP4J0nC6cF3g99qOmWYtCCbsO7gZ3URO/OObFhLmwNFur47rSYlPYYbzbxH/P0SV3OOy/3nYZBNNcbEgmmejfIqlDvtgJu1ZAHPaLtDLZ8CC0JefSjj7WaowUv7LzZBgfICNM7MyL4rXZcFWLsRU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718288458; c=relaxed/simple; bh=gOepHru+/EFmlPSQIh9I26p7iOh4irfzA8xkM0Gj5N8=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=diOdz9yCBFaxC44Eiu+CE6GxwnW+/8Uiay71tFmVtQ9q22T1ClGxqp4LDqMBpt3StFi6pAjkp7clleoLzHF538dRNCioPZIfwZKGM9I7vpAyJjg+u0o1L2BgB2kzwgb/u9lTXGemLVddyw3lvJXui5/jJY3Xb177O5fNjwkUXRU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=zjyxAfm9; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=l6Fhe4CJ; arc=none smtp.client-ip=103.168.172.150 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id 464DB1380198; Thu, 13 Jun 2024 10:20:55 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Thu, 13 Jun 2024 10:20:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1718288455; x=1718374855; bh=X1wXGY8fY6VS092pn7rTbaQrNyXNXzEIWMfaJZJaLSk=; b= zjyxAfm9GQUxpC7XjcqZ9lM0/MsYJTm+1xw6djPAV18PPOXFUl+RkC1+1xbcqttf sw+QphvEvbpcuYUVc6anrYDF7+CbM3eBAyffyA9IJsJDK51oOrjDRXCja2GlEbIC Q69xZv1YJUGAK05jrMxM1tJ5FboueV6+4SH1yf82vkNoqiazMQzntIvhrkdQXokt HGas9//U7yA/3YOY/Eijsega7ObtY8NHO9XkC6SvbbzNJbrCOXWXd8oGU8QsLroi DXUIvyIXWWZ/hw6YtPAy3cwHeYtQGRbooc0eS44axhEy4lZFa6vEbURGHjLxjxSy Bd83QPfZQF6Hr0nHLbWg9A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718288455; x= 1718374855; bh=X1wXGY8fY6VS092pn7rTbaQrNyXNXzEIWMfaJZJaLSk=; b=l 6Fhe4CJ0rRpOpyHTeBPthkqTdK0adOo77CVimUc9Sxy5Z9TDzDNKck1cgiFse1US rbJUBh0wpBcFYj4OD6dK4YxO55A1adlud9i3gx1O6kNm/xnHtBeqex9dK3MalRqK fDAWJL3RDQCXYpiEIoYMNAHZJ/e/+ZhUmuMsfzRd8+dN3ddSkvqftb9Ei+qxnZQo qfCYAlLwizmlOkxp+5cIw2/GBm1mvLgHGUVyyCQ4OJ9fuEkBshmreJek95VWaIMD MSXT/4T7Gq9tMsk5t7dudKUSrWHFgBo6p/3yJr0lOiv18RA+IXTcdkvTD+h3ZFMd VKPQQ5rqLYRPL2U8MizRA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedujedgjeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeegfeejhedvledvffeijeeijeeivddvhfeliedvleevheejleetgedukedt gfejveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 55B1AB6008D; Thu, 13 Jun 2024 10:20:54 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-515-g87b2bad5a-fm-20240604.001-g87b2bad5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: In-Reply-To: References: <20240610112700.80819-1-wsa+renesas@sang-engineering.com> <20240610112700.80819-2-wsa+renesas@sang-engineering.com> Date: Thu, 13 Jun 2024 16:20:34 +0200 From: "Arnd Bergmann" To: "Bartosz Golaszewski" , "Linus Walleij" Cc: "Wolfram Sang" , Linux-Renesas , "Jonathan Corbet" , "Kent Gibson" , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, "open list:GPIO SUBSYSTEM" Subject: Re: [PATCH v9 1/1] gpio: add sloppy logic analyzer using polling Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, Jun 13, 2024, at 15:51, Bartosz Golaszewski wrote: > On Thu, Jun 13, 2024 at 3:47=E2=80=AFPM Linus Walleij wrote: >> >> On Thu, Jun 13, 2024 at 11:43=E2=80=AFAM Bartosz Golaszewski wrote: >> >> > To prove this point, I even moved the gpio-virtuser driver I'm work= ing >> > on to drivers/misc/ too as it isn't a GPIO provider either and mere= ly >> > a GPIO consumer with a one-shot user-space interface not conforming= to >> > any standards. >> >> We *could* just create drivers/gpio/consumers/* and an entry into the >> top-level drivers/Kconfig to have those appear right under the GPIO >> providers... >> >> Yours, >> Linus Walleij > > That would just add to confusion. GPIO consumers are all over the tree > after all. > > Whatever, let's keep it in drivers/gpio/. Greg KH just shot down my > idea of putting gpio-virtuser in drivers/misc/. I could imagine treating both gpio-virtuser and this code as a gpiolib extension rather than a consumer (which is usually part of some other subsystem's driver). It would also make sense to me to separate gpio providers from gpiolib in a way, moving one or both of them into a subdirectory of drivers/gpio/. It's probably not worth the pain of moving files, but at least in Kconfig and filenames, they could be named gpiolib-virtuser.c and gpiolib-sloppy-logic-analyzer.c to make it clear that these are not gpio provider drivers but something else, more along the lines of gpiolib-cdev.c and gpiolib-sysfs.c. Arnd