Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2347852rdb; Mon, 12 Feb 2024 01:29:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFWrdThKJb/aKbOt8VGP/n14fuwTLilw/ddx0A/I+G6TBtndqCRfPp0X8GxoTBXY7vp8T4k X-Received: by 2002:aa7:85d4:0:b0:6e0:e3f7:7019 with SMTP id z20-20020aa785d4000000b006e0e3f77019mr983711pfn.27.1707730194226; Mon, 12 Feb 2024 01:29:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707730194; cv=pass; d=google.com; s=arc-20160816; b=cvIP/q4WRkuEhoV6qN4Gg8ksgd+e8vXaoQBPbv1fDOYazw+Cajlazjl0kRgXTCTDlp k2T+tHct/QNQoaW0mHV+B8SuAmnENQ100D8C87XXnCWjQOv60qEjBr6w67axYrhv2ERk PtaTByV+z+Z+uX/YAzPv581cVpMO1vBkWdmznqnGK1S7oI7UhCDFUOGZVdz/+JXHViZC Vc/XzPyUcPzbwrmfUODaRBF0haVpuSTm/Rvg2SziresKpqEsXr8G1+MucbGxdEW9Nqhx MMnIO9QKbHY1dYYyL9ttQy9p8xs7z/CUjwYnZ44UVzOF414dP6RkXqmnc1+o6kzaeq/P AFBg== 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=EJ5BTPRVj13kfwymPH+wIPG9mOFx9DxZcpXeSgKSC7w=; fh=Dpcc0SAa/Vdb8Qk5iMfv6HcMuIZByM2MQdd/hMKo3eU=; b=VRz1J3AXV39XBvSvT4Zn7wlvsk6Ozb2eYlCNHdSSE1sNb9SkZ5pfTQUPMvmVlW4n4p prg68xhvLfHaAyPJdqe495i4ZP3IgIxokkmmD2esFo8wNn7W7GGtVOTDzwQQ6aJ/kxjv tGX/JJXq48va9p5SGqcAJWsWITfTi6dRw9IBqPbE/VYTEaWuJeDT88rp3zhcispTHi8C QZlcVssegyYjycBbr128U69Gx2xlkoXfqmuvgZPcm2jGc6SsPHUKnT6iq/JeU+omKEvM sUZSn3Vkzo6FM0rVJAARpPWgIu+5R5L8qC3OJM1ArRyjeFnUD5QS29QXsgURn/2dQwFm WQBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mwcceRaS; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-61245-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61245-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCUo6hD39ZuM9eFlF8rsuv/aXMAOsp8v4SV77Mm+DFiMV46bLP2V4aheCCLyXlzii0LH/z3vZJFydLRRmOvTpi9hSma0KRVE4snSCra2Lw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i63-20020a638742000000b005d584838d7bsi5935650pge.833.2024.02.12.01.29.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 01:29:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61245-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=@gmail.com header.s=20230601 header.b=mwcceRaS; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-61245-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61245-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 31313284331 for ; Mon, 12 Feb 2024 09:29:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AAC3134C9; Mon, 12 Feb 2024 09:29:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mwcceRaS" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.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 49F6512B7D; Mon, 12 Feb 2024 09:29:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707730174; cv=none; b=Gcn3JmvYaj1bpS4QtPGdUXmXIMI0gmnDcLQctpK5Opbqpia04ojkc1BQN6zsnn5gGS/xN6sWeJnWu7SVzEio9XNr/rwIWvfHTKLYCFDBKObsgWUPmn22EHtRQ9Ck5Ubj9+lERmr2172vFRCTyjIuaIr4cOCD0SaRfFqATuPLjGI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707730174; c=relaxed/simple; bh=EJ5BTPRVj13kfwymPH+wIPG9mOFx9DxZcpXeSgKSC7w=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=dqKlOLJ0DYu9VsIAtcW8IE+APOGLjSlDKqRwLjXsT2cRtL/BScJIOzTHdn3XCRljydKRkuETBcp1m/eulFucg1NlxbkLT7047Lk3cG/SBL+lmwZIfREJCC12enOMHJ0jAP+HWb/L0wH5zlHm9m7C6t1aa56EAoAS+GGwdG9NAx0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mwcceRaS; arc=none smtp.client-ip=209.85.208.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-5610cc8cc1aso2998749a12.1; Mon, 12 Feb 2024 01:29:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707730171; x=1708334971; 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=EJ5BTPRVj13kfwymPH+wIPG9mOFx9DxZcpXeSgKSC7w=; b=mwcceRaSMK2KRT1cMp7c7nJRk6QikkzrXQBWDaOGi9Y98SMeYUzGVqzvl3U+/+DsB/ /9IJyAqXpiAAdfPgYEvUtPoRFDEv+1YjFPKKrHCbHWALsOz1WPNclL429YAIvxyCugbO OIFPK1NZu9disaZzhqoWmJf5apQtmGG9gts3E2XD7oAUMsVZQf3EfCDeMu31t317rLWD oG5jOyWxLxoy4wr2QOTu36KiiWES1DxQ08lM2pCL9HfQ4atBA/thl+82OEbThRPy6RRn cNePS0X1CYPw6Jq20LnX6XsLHuP2Z3KOiux1C0KQseAimU+mkFk6qFX8kgcIoauoCuR7 tA3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707730171; x=1708334971; 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=EJ5BTPRVj13kfwymPH+wIPG9mOFx9DxZcpXeSgKSC7w=; b=jGFhu3q/0If3y6lKtDRPGbSUFOTphF5UlPfauW9mlEpYX2FjeuaTVEXGGxcf8trEdx ytO/YdK5ddgQ3IcSC9PVav1jbg/2c6zl1XdD6svFlUisXKEp47Rkdjr9gnc4Mld50Cs4 MT2khIVRUi3lTT4dpdfs3A9QbIUqCj9sYUxpmZa32OgjWxvkQIph6gvcPBBzQmuyPXhu 63G/PLX0uxSGjvxil+sz8vcwARVMDNf5yVEjx0khpErviAgbrYvDb9KADU7wIPNeoTi/ nYqjO39DChXmvRcxl8KFttDDxr4FHRnPX5Ccjot2hafaXfhxFnC5RuKvDmB6gEaIc6T4 rqrA== X-Gm-Message-State: AOJu0YxiBbAS3cxPhbvBHpTNL5MfE+4gudNIKBIYOzwL55sd8vx6e6El 9uOfI7xHOYh8hE0dxrbDQCH+Tm1s3BPV697QQUS1n/gKyzVvWBoMMitwZOsYSpwrX1EAcQamWWe UCkhOFrW0nNqWkIwGLOik3sCqxHs= X-Received: by 2002:a17:906:dd0:b0:a3c:2c1:5fea with SMTP id p16-20020a1709060dd000b00a3c02c15feamr4088132eji.75.1707730171202; Mon, 12 Feb 2024 01:29:31 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240211101421.166779-1-warthog618@gmail.com> <20240211231321.GA4748@rigel> In-Reply-To: <20240211231321.GA4748@rigel> From: Andy Shevchenko Date: Mon, 12 Feb 2024 11:28:54 +0200 Message-ID: Subject: Re: [PATCH] gpio: uapi: clarify default_values being logical To: Kent Gibson Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, brgl@bgdev.pl, linus.walleij@linaro.org, andy@kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Feb 12, 2024 at 1:13=E2=80=AFAM Kent Gibson = wrote: > On Sun, Feb 11, 2024 at 06:58:14PM +0200, Andy Shevchenko wrote: > > On Sun, Feb 11, 2024 at 12:14=E2=80=AFPM Kent Gibson wrote: > > > > > > The documentation for default_values mentions high/low which can be > > > confusing, particularly when the ACTIVE_LOW flag is set. > > > > > > Replace high/low with active/inactive to clarify that the values are > > > logical not physical. > > > > > > Similarly, clarify the interpretation of values in struct gpiohandle_= data. > > > > I'm not against this particular change, but I want the entire GPIO > > documentation to be aligned in the terminology aspect. Is this the > > case after this patch? I.o.w. have we replaced all leftovers? > > Agreed. Those are the last remnants of the low/high terminolgy that I am > aware of, certainly the last in gpio.h. > > Having a closer look to double check... > > Ah - it is still used in Documentation/userspace-api/gpio/sysfs.rst - > not somewhere I go very often. > Would you like that updated in a separate patch? Yes, please. For this one Reviewed-by: Andy Shevchenko --=20 With Best Regards, Andy Shevchenko