Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp449775rdh; Wed, 14 Feb 2024 01:31:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWi9yb03vJBJfeE/KwfVxPjwSUlFvfsXyat3BbDDfmj4ehJflYKchBQ24HiSmRWDLRWK9rCEyj1hnZcR24iEiyiU34irAoTsgqrORwXzg== X-Google-Smtp-Source: AGHT+IEA9WQO/NMkDUuwEx0aBza0/pZ8gYVrHB8A462GywlCdhkxCDl5gzkgYVgvOPZGipR/pM4n X-Received: by 2002:a05:6102:2920:b0:46d:3881:851 with SMTP id cz32-20020a056102292000b0046d38810851mr2086283vsb.14.1707903093352; Wed, 14 Feb 2024 01:31:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707903093; cv=pass; d=google.com; s=arc-20160816; b=W9PXg0H8Jnqns7HVIzhuQRX5CSWwGCQnRwp3g+Mgeu9Jj8LhQOEfYAYSe/13qULdEl ebebrAw8MPmv1np1bDQvtslTB2SZLlxVfFBc7NTYoUNJ+GvUMAV6eVDaCSY4ybO8H5Ej tSIdPvxU1kSQFdCLaXkNEAbRwcgaxD/A8kSnPMuK71O2JS7bMiwHO/plaG2AG6udFupV r/Mj7ZTqtg2N2UaBhOYCyzdFYgOpCMPQ69eEm2VxLMrq7tZ6pDxEjf/THo0csuPCrQIw 31tIwo0s8DclPvnIzuirz9ACkfNqxhHkJQRbJaxqvDt7zOQo3Wz40/1c3GhOlx4dmjeN f7MA== 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=4NTlOSe5fjimviBpJdsalrhomrdPQE7oNI7Qj6Alw1M=; fh=tJlMS/dBCzxk9aj6iTX8vwtKs2c3s6GKyx3N/Gt9DMs=; b=TQ+nJ8pWXIJOoQnaF2fMTiADyZhhTlbgWcppHQNfZUzZdd8KiPnrJv+tgowk0cjR+U VPOBwJf/X2gXM1ApQ0OjFe/ci9htq3mr8MQxO1ncv60+jeiNO+4JKLDSHGM8mQwzcoU0 fHrJGgwcEH2RNazooQA2si4LLF7ja6LI2p/2MEnN2sVm9Qv8descVOfE72/MCWBxEhWY PVGLz/S0cWlBi0uHOFU8eW2k17BMZ2O5ET/67Wn+bEjKqv3aHOqZLvQbm/308ZfzIEKv ILPOBxa/MQ3t41viNbZU6l/s6n7PGDyWpsIkTNHc3V9mlP2NWbOXmglR0cfFk2lSJElP fTbw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=T0EctImZ; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-64966-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64966-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCX6SqHn2hIeFOAPzw4AdEfM8m4lTFiZ/lB9GFHTVRzatxfGR+agY4oyZSYE8neqtCpW7QTO3Ni9y3DD2yRXxdQ2kYq3fgx3rQchaYhBxQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v15-20020ac8728f000000b0042c44dec59bsi4579658qto.482.2024.02.14.01.31.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 01:31:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64966-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=T0EctImZ; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-64966-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64966-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E14F61C27272 for ; Wed, 14 Feb 2024 09:30:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0773F168AF; Wed, 14 Feb 2024 09:29:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="T0EctImZ" Received: from mail-vk1-f172.google.com (mail-vk1-f172.google.com [209.85.221.172]) (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 6802912E6C for ; Wed, 14 Feb 2024 09:29:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707902979; cv=none; b=fF0ECYA5j2V/zBryESdNCsMUgclTEKmIhRy+MfAOJLTgfPSaq8UGG9dwl26SmExhrcf3fXNCeGJSxTI1gvwi2LpO5zI8hzE0WRQ/76PKnavnD1GqcUVR+5IDz/csau1ZWJ8m6LV9H+xZRfmMvkxr8EBKpuKgzqQgb9uUik1ZwTs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707902979; c=relaxed/simple; bh=QGJGbBcSxuCx9Avf+9BT92M2uOkRt65tIyJgEDued6g=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=WVcudLcHSCRAeWj4vnKGQnYOTrVLi94DZPLAmFcO7tNd87yd7xaBaaUgwKPy4h7D03Go5S7hvT8J1osUqTV51DylVD6f1CLc9g86Go4W6mB6vfNmIhAHrTrFacoIA58NGd5uREzXnjWi2aaEPpXY0GWg9LWgXRO3smann4b/d6Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=T0EctImZ; arc=none smtp.client-ip=209.85.221.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-vk1-f172.google.com with SMTP id 71dfb90a1353d-4c03beb85f4so1474816e0c.3 for ; Wed, 14 Feb 2024 01:29:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1707902975; x=1708507775; 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=4NTlOSe5fjimviBpJdsalrhomrdPQE7oNI7Qj6Alw1M=; b=T0EctImZYwp0q3bNcDuI/KHQXguCPWhQPhBEeNS/Y9BGb6Gp+aQCIMaE6Pj/JADY50 v4xxAiydJaGS20EQkjXt4c6NYdOEVMDMY+0AACTnbSgiCke7pbhmVz74oHowlMaqWVIq 2T+CWhG9nTDTQhw59tB7YBTOGSv0pGmw52NgVWVWzyA6TP4mERn5OUeo20krThvmmo1h cP0/iN4SR+6a4b99EC7SDvsPE1eE/tE/oL/EcFpF/eIDbY6U3GhIt9+5EVO5X8B2cHLp Y4WEH67iirem+BIucQ7fru3vIkEQ51Ghm1I1n/odNCJvWAfopng72fJyXMUnauxhJ4ro zTlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707902975; x=1708507775; 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=4NTlOSe5fjimviBpJdsalrhomrdPQE7oNI7Qj6Alw1M=; b=CbS7FHd8ll1kyyV6UMCn1rAbX7jK/HU1oo82C/YVxklXC8tnZeh7xmryCuss92jdCt UorkREABzs5dACzizmK3ajA4rMbjHw/BOiJe60cr4Z71k1T91SUGfpbyNC+z/hPWiPWj FTAIish77KR/GzFG/PU864XM2JU93Zrz0Q7ur0H1sG5spD29fOD1fKbgCXDBYMoAwZre kqW7Fd5i3fOP3EBujmotRKSuW7H8cYjMAKHj/dpsMLeAcKJYsp7AYHqEIjhM4FYC28rB dZcZIObPdMBYRBDdF0mlzlvSyHW1eXaIwYAMgTfeUVTbokM0QyEsoHeuNQUwLqtqCimo 0sVw== X-Gm-Message-State: AOJu0YzWIE1dsUtgJ+YGSlpKhWzlPdwCFxa/uA4PZHsuWUlIBsOLj1eb 16csnRKK3raniSY1svGpLvQq4Md3H7xoXw0nvbTnSCN/57fogt5zVSrYznETpl8QjsiQcWU8w/i p92glzlqoUbb6ieV//Ye9/Bxq6rdIvh8MzBx9vA== X-Received: by 2002:a1f:c787:0:b0:4c0:292d:193d with SMTP id x129-20020a1fc787000000b004c0292d193dmr2079166vkf.12.1707902975308; Wed, 14 Feb 2024 01:29:35 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240212093420.381575-1-warthog618@gmail.com> In-Reply-To: <20240212093420.381575-1-warthog618@gmail.com> From: Bartosz Golaszewski Date: Wed, 14 Feb 2024 10:29:24 +0100 Message-ID: Subject: Re: [PATCH] Documentation: gpio: clarify sysfs line values are logical To: Kent Gibson Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org, linus.walleij@linaro.org, andy@kernel.org, corbet@lwn.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Feb 12, 2024 at 10:34=E2=80=AFAM Kent Gibson = wrote: > > Clarify that line values are logical, not physical, by replacing high/low > terminology with active/inactive. > > Signed-off-by: Kent Gibson > --- > Documentation/userspace-api/gpio/sysfs.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/userspace-api/gpio/sysfs.rst b/Documentation/u= serspace-api/gpio/sysfs.rst > index e12037a0f2b4..116921048b18 100644 > --- a/Documentation/userspace-api/gpio/sysfs.rst > +++ b/Documentation/userspace-api/gpio/sysfs.rst > @@ -87,9 +87,9 @@ and have the following read/write attributes: > allow userspace to reconfigure this GPIO's direction. > > "value" ... > - reads as either 0 (low) or 1 (high). If the GPIO > + reads as either 0 (inactive) or 1 (active). If the GPIO > is configured as an output, this value may be written; > - any nonzero value is treated as high. > + any nonzero value is treated as active. > > If the pin can be configured as interrupt-generating inte= rrupt > and if it has been configured to generate interrupts (see= the > -- > 2.39.2 > Applied, thanks! Bart