Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp209109lqs; Thu, 13 Jun 2024 08:04:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfF6frVVVpL0n8QMYn7ZSQkW9bcvmDAx2XuL+wR+RTb9NRM8Cqibj87ech45EN8NOjQSqK5+IVVX+nVXio5cznIkQ8NAsLQjlL0K+Yiw== X-Google-Smtp-Source: AGHT+IGD1nB/YZIt2A1qRGO3A7HEJX6alGkp36YmOmt7PNUTsGMPNM0PdL1mUnhZDt0+bTTiXwO9 X-Received: by 2002:a17:906:2a81:b0:a6f:5f30:7672 with SMTP id a640c23a62f3a-a6f608a78c8mr4502166b.29.1718291082654; Thu, 13 Jun 2024 08:04:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718291082; cv=pass; d=google.com; s=arc-20160816; b=rRh9b0/PnXFAvhn0TUhk/DZHCJjzBVcoqHnVAnUfoWMXLOImwW9Xixlm4UyoWgg+Uu D2FYjJ0dAD490a5QzjLg2nz6T/kWuU08QYDdVCe7dUD6vQMHMFsPWaJtBtCajR76xLNh hRBkYDF2LHJNW4UJ1EtzIiQa4QpJBcF1HFatZ/GuL06o/aVzHgCPbidS904Q+C8Cm55Q IwjLomSY7zXDKLRmMH9HEYlaJgUZRT5/mTK2Gscar73LVnMTpnl9hjrGTuyTqPBFxkNV 738Mow1bcjOxXj0ztoKquUDDaa0tWT2y5EbNc3psbYezgX3LpIB6vIB/3Xs6n1GVFE5h 1GYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=ZbNjy99xrdFjhXXMSO2YCV4k0Oh2gSCP2Gd7J/d4sfs=; fh=LbiqlMoRGI2LaWL89mMhXzXkI3QSmpx4NcMXYNIjsRY=; b=SLK8KsRAeUZqlwYcJg4Z+bUA9ufPBjPskTEbUTH4A8Brb8KRZsnsWBBlgTEw1NTvtz zffeAu1IJ6Em1mdpQGTxf+BkNDPgs1XKi/AF0Sw2S1FI5ENKxTeH6nZKtq5GmkGrNJJP wzF7Bn8tyX4aWyD6awA95gYkAdioTs8YrxyEPvymvut8Go4gMuMfIH0jZ5hifiWLpxbr QgKX8LSko0GZF2G3i8bcP1Uowucey/FIFz863QM4bMNsvw8kHKQeji5yIh3ZjwwK36qK iqqVYGpNI6fk+UyaWb66jMmofo9VX5Rc/AuTUtz1589W94Zai47SxIeawa+UVICuinoP K8wQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-213489-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213489-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f5a7cdfecsi57250466b.124.2024.06.13.08.04.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 08:04:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213489-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-213489-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213489-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 5C1DC1F2203C for ; Thu, 13 Jun 2024 15:04:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6FBC91494A4; Thu, 13 Jun 2024 15:04:33 +0000 (UTC) Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 94DA653E31; Thu, 13 Jun 2024 15:04:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718291072; cv=none; b=ma8RUc6ZG2hyayOMh4LHWVJ2wMe5jJNNdBvS1dZJ8MGYbTVcbD1w0yl7I2ySWaDxXoS+LtJtmi1AMAM+j0t1rNfvmaphK6qSFRhh6BCP85BJc8E8dN1BwI2+rNwzqVx1anBP/RLGhrHKwTANKJuJFM1zBUmgpy8ZRyxEN4HpRDQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718291072; c=relaxed/simple; bh=WmKERP9tj4pLULI6MBL8WzHes7imyUshvMK7Cdmy788=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ueO6Kw0n5+TvuuVQkcQgXJduk5aaF9OkhFbmzSPHNqyyAqWPTvpP/WMsQog8WXebNmZftrIN1BvDQDipahnbyExRKVXoGumMXCVigpnJ0aUnN8+iLOf/SYR3p1S91c0whXhUQLMmj6FpUuWFJYGPNishTsgWNSWokFD0EAzOdo0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.160.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-25545664f37so493369fac.1; Thu, 13 Jun 2024 08:04:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718291069; x=1718895869; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZbNjy99xrdFjhXXMSO2YCV4k0Oh2gSCP2Gd7J/d4sfs=; b=akE2HzUlVTeijBfuG4nCDUjCInxqAt0k4sBDY7xIQKjkTGDsdv8qfSEJ10uBdUPNeD tmqQawgSsZtC8MJSJXocyy9mX49Cbdk6+L5CbXfv3Mtpdd8fFOgv+KPkuwehhmsi0YJC fW9oNwufb0pbJ0gMmKKMxp+0j0vz5nQwEDaxy9AEB6UWvFCEowO5zBM5tPytiWivYEEP 0BVgWeNeGWc7UXmMjwtXRcPlJGGibqtx4qYvBl8KKcBlp960c+Hzc41w6/l6htwijyrn aV/jdMadlbzVJU2L7wzmJWD+983/RaHobpuEGVGW89FmloIZiCO7b0VfU23Cv/pp4gIS lyRA== X-Forwarded-Encrypted: i=1; AJvYcCXq/XpbGUTuJkf0Wajsn+Cy1nyimbqtjn7h7DCFP+DbiK/+QRmT7eCQUaZWOCJmJzM3nYj7G1Y73V52dlowpko+fQl5Fl6Jvu9aOAodTusY4H0PlgFk0sJGsIV4B/UqCZoMiP4LwxX/F/OgywZaYahIz/jYK10/LNdxLTjtj2RbBFFWEv2r0K/mqK7j4M5UVH0aN0YF3AHPpnUKMdPSWsp9WT3Ly1bW X-Gm-Message-State: AOJu0Yy7zDKTzgy8JvquO90H+ueddQUOD/qUEkjnNj0ErgGURv9LnQhJ tB4Ex/qiJXzf9UC0xL5nOwwcfcCHsLJPCQprSyFFm6nX9BSx7l4T6ExWjmMd X-Received: by 2002:a05:6870:40c7:b0:254:8c7a:6c97 with SMTP id 586e51a60fabf-25514d23f24mr6164361fac.30.1718291069162; Thu, 13 Jun 2024 08:04:29 -0700 (PDT) Received: from mail-oi1-f182.google.com (mail-oi1-f182.google.com. [209.85.167.182]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-2567aa141d6sm431807fac.24.2024.06.13.08.04.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jun 2024 08:04:28 -0700 (PDT) Received: by mail-oi1-f182.google.com with SMTP id 5614622812f47-3d22802674cso546758b6e.2; Thu, 13 Jun 2024 08:04:28 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCU8Dow31EtxT7P7pEoMQIZDShQ1ihERNO3RVGJ76vyDULNXMdKytN6foPMgIdDFkNArrsp2GjgNJC5DKO4Sc8CPO2VtvYlCyJs/pM1BwEWDepm2u0FiaLSMIPEUmEgV9BqmHJ4zaD4Mi1QuhShF89sDwRKcsTVZVCj68KQFh19JFhmtur1nHnpaYt2s1ZZeAILDLJZA6qF+Hi/fDP87tm0Yi8QUsDNf X-Received: by 2002:a05:6808:228f:b0:3d2:2f52:c635 with SMTP id 5614622812f47-3d23dfe7db9mr6804347b6e.22.1718291068517; Thu, 13 Jun 2024 08:04:28 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240610112700.80819-1-wsa+renesas@sang-engineering.com> <20240610112700.80819-2-wsa+renesas@sang-engineering.com> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 13 Jun 2024 17:04:15 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v9 1/1] gpio: add sloppy logic analyzer using polling To: Arnd Bergmann Cc: Linus Walleij , Bartosz Golaszewski , Wolfram Sang , Linux-Renesas , Jonathan Corbet , Kent Gibson , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, "open list:GPIO SUBSYSTEM" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Arnd, On Thu, Jun 13, 2024 at 10:54=E2=80=AFAM Arnd Bergmann wrot= e: > On Thu, Jun 13, 2024, at 10:27, Linus Walleij wrote: > > On Thu, Jun 13, 2024 at 10:17=E2=80=AFAM Bartosz Golaszewski wrote: > > > >> On second thought > >> though: are you sure drivers/gpio/ is the right place for it? > > > > Actually that is something I requested. > > > > I think it fits in drivers/gpio as it is such a clear cut usage of GPIO > > lines, and it doesn't really fit into any other subsystem. > > > >> May I suggest moving it over to drivers/misc/? > > > > Misc is a bit... > > messy. I remember Arnd being very sceptical about putting stuff there > > rather than creating new subsystems, so since I've tried to avoid it, > > albeit recently more and more stuff gets merged there again :/ > > Right, and that is mostly to avoid having code in there because > there is no other place for it. Some parts of drivers/misc should > have been a separate subsystem, some should have use an existing > subsystem, and other parts should have never been merged. > > The parts of drivers/misc that make the most sense to me are > those that expose a one-of-a-kind piece of hardware as a > single character device. > > This one would probably fit into drivers/misc/ better than > some other drivers we have in there, but leaving it in > drivers/gpio/ also seems fine. > > I could also imagine the functionality being exposed > through drivers/iio/ in a way that is similar to an > adc, but I don't know if that would work in practice or > how much of a rewrite that would be. Hmm, I like the iio idea. Sorry, Wolfram ;-) Gr{oetje,eeting}s, Geert --=20 Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= .org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. -- Linus Torvalds