Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp712846lqs; Fri, 14 Jun 2024 03:38:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVrX1YeY2S0L8zegplrYl2NlUsmWQ86yxKLQ1rphPmkY/n2BgsLonuk509XaS7zZql/4VI18u0TNboZBsdHmd1NB9OlzMmVXAKZeNV30g== X-Google-Smtp-Source: AGHT+IFN0SxGd/+cCfglpHF7f2RGHiMCYULQtGURcnjN9kFsc8fAi2Gh3TS6ZBbWszckPFAbtY4L X-Received: by 2002:a05:6a00:130a:b0:704:2ba2:de31 with SMTP id d2e1a72fcca58-705d6fb9690mr2529206b3a.0.1718361521236; Fri, 14 Jun 2024 03:38:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718361521; cv=pass; d=google.com; s=arc-20160816; b=ozksnrZEbqzm7hlejaYqAWJkRajbCqA3W63mKcaEd+i5y8ZPKAq429LY2d1+i5Ok+a sR3nnmvkicPLth/F5AAWHfgIUS6AcoOql0/HjauppwluAR4/KRcKc8H31+tw6uCyV8dP eBL5I/RfA9HKsi80tFGVhquaoS04tQL8gepWt7u2MFS/yESyCP6sOYjuVPcsN9T2QBgC Dl9Ji+BNZd6ZIQKjwrhCys4BbUW3f2OC7BgSg55B/5S8imfcG2s8C3boldJYK2TzU+/a 2FU2qDqnTxeVnKQSULvA75ZfBwwJ4P3bytlTpgQqfVW8DWeKCEYlx4n0SgHbkvMvpyLq ElSA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=loN7xuHi36pMgxaqPgnIzslD2U5A+TOaD28E3/1x6Ds=; fh=4poHQ94PKK/FoviQLGuan1djzoByWIahV4dvfSeggLA=; b=pzvc/zKXSNdKgRfdVgd88b0SVac5HOzMhOOEqQjJYajer/PgGW2QvydCflTVRuOWrN pT2cbkvBO3238fzRp5CENuQwCVbH3IdqTdHEr9iKK0vU68wM7c0ucuf9YnTVpPhxs4Ii Uxt0NHd8ggSSl2X1DppbAzsWACG4IFaeBPfk/I1n4hlo8CczvodxAeAtzzcDthWPLn2O ylNehD6xGgZGXGhDej3utfv5qvA/EJFausBMrH8vEPkOsvryfzgY99s/R7kfr6viUH36 QKl5emiZnmRaNSV9AFnbwEnv3bfSUJe89rjKm3L12DF6jX5WNEtQg565iD9UAfyN0irg KAvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=RVVKhdFD; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-214729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214729-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6ff322408f2si3112330a12.448.2024.06.14.03.38.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 03:38:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-214729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=RVVKhdFD; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-214729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214729-linux.lists.archive=gmail.com@vger.kernel.org" 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 5ECA8B22F30 for ; Fri, 14 Jun 2024 10:07:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E2AC195969; Fri, 14 Jun 2024 10:03:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="RVVKhdFD" Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (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 1AC7E1946A6 for ; Fri, 14 Jun 2024 10:03:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718359385; cv=none; b=aLOk4eCv95MGEQD9I72YHoXAq05p6nU7yK9vpllhRrFm9+LFzmCluhnnD8WK7e7LaVSkob95IK5RN8V5+l1+9ZUdUDhwJxAKe2DQ8xWH10KTwi2LqBuZt3DAS6vss5Os8tCzKsJzC+cfT57D5v68/xhgaiZ/37IitTpZhyM8k/o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718359385; c=relaxed/simple; bh=pAHj4WCEYsPaZ7guGi86eSiZcgNHGNgnhFZ2CmMHITg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ILtBdm7zu4ncRrnr97SC0BAosfl8gVdWnDRHA4GWmz1O2IQKAqREJD9a4P42pwc/rC4Bp1JEGLFPq+XfIIWs6bYNhmV+Ur6QD5eUQCmkTUCs6RFDNSs9AF3efUWtGHtIZ+jV+luWaKfw8/WAqvYtKuU2lgKZy1isPHeJLnD6zKQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=RVVKhdFD; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=k1; bh=loN7 xuHi36pMgxaqPgnIzslD2U5A+TOaD28E3/1x6Ds=; b=RVVKhdFD+NkRoGgOVfhE QZUxLm2TrdYiGbmJySXLGpCK5h8caN2C3vQtXw13AY0A/nAqRQB+IJWAuW0W9xrK qpNV2hqOxEz8mEOaAqwWlq+oBH9d6fYTqUEaXKdHj32+eRq3BKjudgPWAel9qQdV FsjQmxZ+ttJymHjkOdq7747/GmyBF+Ses+umqrOj7jpgTvRLQSFQaWwpAUfMiZFl yzwQVvLtpXrRzmkIbEpt2fWBXn6shhJBPsRY9PQdgehA/G1wrHQ5pAmS6hSzMfvv o4VuZjQeZ1m1+y/xrKiuRxPFhfnFTe8xSX9cGa5SaNM2JU3lzvt90jYPJUsdKiZN Lw== Received: (qmail 1473055 invoked from network); 14 Jun 2024 12:03:01 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 14 Jun 2024 12:03:01 +0200 X-UD-Smtp-Session: l3s3148p1@jqF7uNYavs4gAwDPXzjQABqqX1QYyOSW Date: Fri, 14 Jun 2024 12:03:00 +0200 From: Wolfram Sang To: Arnd Bergmann Cc: Bartosz Golaszewski , Linus Walleij , 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 Message-ID: Mail-Followup-To: Wolfram Sang , Arnd Bergmann , Bartosz Golaszewski , Linus Walleij , Linux-Renesas , Jonathan Corbet , Kent Gibson , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, "open list:GPIO SUBSYSTEM" References: <20240610112700.80819-2-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pliq7sursgqwq3ih" Content-Disposition: inline In-Reply-To: --pliq7sursgqwq3ih Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Arnd, everyone, > 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). I have difficulties seeing this. For the analyzer, at least. It does not extend gpiolib in a way another consumer could make use of it? > 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/. I'd also like 'drivers/gpio/providers' and leave the core stuff (incl. the analyzer) in 'drivers/gpio'. But I am biased, I2C looks like this :) And yes, this is some churn and git-history spoiling. > gpiolib-virtuser.c and gpiolib-sloppy-logic-analyzer.c 'gpio-tool-sloppy-logic-analyzer.c' ? Based on what gets added to Kconfig with this patch: +menu "GPIO hardware hacking tools" Happy hacking, Wolfram --pliq7sursgqwq3ih Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmZsFVAACgkQFA3kzBSg Kba/oxAAoALsBaGmooDy9SxIKUxN/zuU3Fqq20YNihd6wcLFYb1sKfj7o8UvACJ5 6b/QdYLkdZ3hKhgzsOZjwkAMzTDuf2p4imhUHqlPqIeN6JApeARFqdPtYqZN9uo6 zc/x4zM0ilGB0vRqgDfbqLLoBeCHDsthPesjZ2tyxGVkpG0hj0VtSf9zXQrRgm7Z aQ/Sh4w+yRocVIp7oEAR2Zpr6oCF0ftwEf+3XXL178KqPBrcgzDYX3vC+gxL+fcE 7lu88kOEygxT9J7cJXBexLiLv3vaw0uQUPVtsQilf0ia1ncTg0JQ0G/uyr4qlzng m7rhL4XazEGwt/P+AipoKxLG+zGnH11OaCwPlsmIJLYz0U3+d6IjSb8t7pYef/3n RRkDxAR6vlc0r/jOJXnRR0OEasGN/6euX5mNaTFU8zZ0blSHG70w6x0tnHjY49ps H4Z4iCWQF93/j8Lfrt0lnNqRswD8NJMubpoLFF+pJbR/Os0/2BPBC4OT1aa9xmdK xJsYU3/h2ZNcY9s1DYm6+F8yYIgsw6ONIhHKV/pKP0bJ1GAdnt3sRt7DHdXtrvea WppKuPaEcz+Y9bV8u9GbUVjx64iZyNvWM/KcYBM3yi5PzXtUt2wrVGiUqYNo5ohG K0zTz++edy/WL49/uJKw02dWILZgY7kTARC3IZ2+CiYDS4RHZbk= =OEh3 -----END PGP SIGNATURE----- --pliq7sursgqwq3ih--