Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp768668lqs; Fri, 14 Jun 2024 05:23:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXLtMlmJ0G4ishMuLPF7JbOlCammG98ysOGRW2rDLVuBpg8MgLaoCZ4h0+12s1UUKE4+U6VKYd4qIdGvqstwp8tNam7V1vTylnFf9JEuw== X-Google-Smtp-Source: AGHT+IEX+bZjZRQaw5ITjckKhXNIsE2BDqLEIEHMJ3CYlV5UPYgjXNIuzPVxK2wAfL9O+tFNJ6GG X-Received: by 2002:a17:906:4f16:b0:a6e:f997:7d91 with SMTP id a640c23a62f3a-a6f60d42257mr164032566b.38.1718367832534; Fri, 14 Jun 2024 05:23:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718367832; cv=pass; d=google.com; s=arc-20160816; b=g1PFkFI+Wdp20P+HQ/LqRsNifgaydFpSDTu6m3M0IkuGSet2W80QEqpGwjmy5M9Y4U cdhzesUHnlDuk7SwNunew2yCAS/viKcDfqyAC/llZ1AIpWaeHut7eQHrz1VTVl17mdPi KkMu/J27cyWaLb0lme8ipcdlOWt3zUw16pafkKkpwVBbhh/jcIphtTDGCblmzb0OUtt1 BhCJkdE7vqfPz+PVrLH+TN4sy0MeRIaGTYzJEbOtsFWH8+H7Ixk4c8e/sTpTElXB2n5d zpcS1uTqTqhtuxzYfz9LFkwg/6q/LxBfVLHPDXniwro9Ayyp+Sn5I3Tid/tZkYDIsgEW QYiw== 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:dkim-signature; bh=UeIz4uU4kZAhCILh2YT+bY1os8za4dxW/SfvNJ0sd/U=; fh=x782EVaohdSd3ovC22qUhbZE51uXdlgNHcoaYxi6YoM=; b=Hh5fx5grBqxebAU8VxhFtmJdkfHKGF8oTPn+0q+Dxqu95GSgz6Yqk2fg7NLyRWwD0+ t24JOeWSQw5faiajjV3FASJSyZlzK3pnFsEutcktpZBEFofVaUBA7vp7FXtFpk77AE/c yQoTBhWNtlBJ+1FTK+iEAEWbgLHpKxoqp4w1JnVMCYQYw7Hx2aQPl0kLBjLiLJkZ2T/h lTZG4XulmRlZqiFQcB7G3H1r1H/0mriU9pkZMLGItXfm7h5ejL7XuOfbNOpz4KqMgxvW PUOHlztSYacl7dlBhfWdsw6t3vn/vfPDMjiEiHHWSX+jX+dJFHsNjhLa9rYTyZpY333O rVIA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c6e+MIqG; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-214873-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214873-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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-a6f56e262dcsi172602366b.699.2024.06.14.05.23.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 05:23:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-214873-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; dkim=pass header.i=@linaro.org header.s=google header.b=c6e+MIqG; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-214873-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214873-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 790E71F297F1 for ; Fri, 14 Jun 2024 12:14:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3198A196D80; Fri, 14 Jun 2024 12:14:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="c6e+MIqG" Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 A5DCB195FE8 for ; Fri, 14 Jun 2024 12:14:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718367282; cv=none; b=TlIwhyP1Zm55PTaD1NBAmLqHLjWlBAPM5jQ9/Xf6uQJgrl2yx/ONS+Hh0n07WHga25r/mZIKfuZJC1VcYDUhoiMeP9k3DePA2gWZthaqFOEiwj+4vXZ7fvLZuQpiEmaNzXksupykYOf7KMjYiAai6eU2fbr8ptK2kh061ahtKcI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718367282; c=relaxed/simple; bh=UeIz4uU4kZAhCILh2YT+bY1os8za4dxW/SfvNJ0sd/U=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=jba50Urgq2dzR+SX0YstM/IQUv+NMPrA5fTGtJtvMU6qdeEdyv1TwbBpNDws6p9fkI4w7AUOSH466gZ4KoYtzbtGf/+/nYgzmSkRiTK2rb+LW0zZW+/eOPp0fRflDP5rjYiLaAlMpc17NkOFOxk+JHpWq+OvClWfHvQ4423y0Cw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=c6e+MIqG; arc=none smtp.client-ip=209.85.167.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-52bc035a7ccso2328000e87.2 for ; Fri, 14 Jun 2024 05:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718367279; x=1718972079; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=UeIz4uU4kZAhCILh2YT+bY1os8za4dxW/SfvNJ0sd/U=; b=c6e+MIqGUC0Viwf8qStWLKm+KW0JHcw+e7FjluKyvpA+Y6VWoXq5imyudd0sT0xe78 70a/8omNLpgoxKDoiQXQplH4Hwm9DC0+zn3+VQJG3E+wGl1ZNqeV6XNqMWtUtWSCsLzt VsEFkOVwLafWx5PgZ9a24kU5udruMzQLtcAydsV6RNVuQcTzi3YRDZ/oSPIGCDAKm59D pRgrtOob9DGtyocBfA8mJjK7IGTQw7/McP/PRQ+yHQIFbUX4pGPYxIY9ocMJoiD6H6re qEyyQTOB7sS9p4jrFKFFLjhu8m7IcDy/nboEt1ZIBoT1/O2+nAq7bCeM/B35SQu1nVe0 mtpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718367279; x=1718972079; 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=UeIz4uU4kZAhCILh2YT+bY1os8za4dxW/SfvNJ0sd/U=; b=cl2FBicdLBQLNTq+MuQb2+KZWnQ+lCa1dDd/VYPUgg+2eMLx4Z8AtGs3ysadp+ZxgB +SOjktAC1o2oe/v19N6pCllGvwZwdBGBKKM34esrv/oj7md3uxRyKfCHzXryUjCYCB/h WnQfKtkTlJSOQNt+wt8ocBO4wvRwHdU2wGuG7ErlbDf/Ej8Dy2en9lnR8Zaeug0gYuz+ vmVEPhq6apZzaOtjJXy1CrdBXGAoAmgc6auywN/rdn9BKtPZX/2Z68TI8DyKXH2emwBc Kerzk8tuOYkVbSj1CbbXQ/kc0wjX03ik9Mkuxah/F6howoQ/Z+zKFQi/EUYzeCvQHWht jPxQ== X-Forwarded-Encrypted: i=1; AJvYcCX2bM/6ePbEJZHNvTS3nY1AwFrO146u0biEMRU3Is93Ao0AY5kOdHSnwg8Gt89lF0nMIOtUjuKJXVP524BONq+aAG3Camll8nmtFgTN X-Gm-Message-State: AOJu0YyJq3FeAP1h6G6v/+ef3c9vuckDBBbfcCAUl+oi2JHeZYEdbrR+ HpagqZdYi+oyYQiQ70iEs51Esc66kq8kZVjccWSeWejYfyzdYu2tsn4wRWcG+No4GeEm5BqhOY6 9Vw3vKNPNmQrZEz4a+kDO659Izguq2px0GPsnTcifExtfviet X-Received: by 2002:a19:9107:0:b0:52c:9d68:7425 with SMTP id 2adb3069b0e04-52ca6e55b90mr1516079e87.14.1718367278806; Fri, 14 Jun 2024 05:14:38 -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-2-wsa+renesas@sang-engineering.com> <3bb9b39c-c15f-49e3-987b-26cd47e05f3e@app.fastmail.com> In-Reply-To: <3bb9b39c-c15f-49e3-987b-26cd47e05f3e@app.fastmail.com> From: Linus Walleij Date: Fri, 14 Jun 2024 14:14:27 +0200 Message-ID: Subject: Re: [PATCH v9 1/1] gpio: add sloppy logic analyzer using polling To: Arnd Bergmann Cc: Wolfram Sang , Bartosz Golaszewski , 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 On Fri, Jun 14, 2024 at 1:59=E2=80=AFPM Arnd Bergmann wrote= : > Of course we don't want to make it a first-class interface > because of the reasons you explain in the cover letter, > but it would totally make sense to me to call it a > debugging feature of libgpio instead of calling it a > standalone driver. I second this opinion. The logic analyzer does in my mind classify as a GPIO debugging feature. Surely someone debugging anything connected to GPIO, such as a key or MMC card detect or whatever could use this feature to see what is going on on that line. Yours, Linus Walleij