Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3430400ybp; Sun, 6 Oct 2019 11:45:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/totbbK1ADXXwhEub6ATzyjwjuBEH5IMwY6td4uFjQnwVp2qfyF1Ta7sKqJE2eeCBrpI5 X-Received: by 2002:a17:906:8054:: with SMTP id x20mr13742944ejw.65.1570387531522; Sun, 06 Oct 2019 11:45:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570387531; cv=none; d=google.com; s=arc-20160816; b=oO2R7v7XjyRyXHAF6eQ8MVYnav69iGGb6YFUp5yX0eV3rb6G2nQOQ1+2KBicotizbc OffwoelWOOYMDOetO5RyyCW3XgOa1Ky7c+jQKpBQQZOhlWyYSeF2YW55uz3kETj6lRI5 hUcUzcZzgWl0qNNXRQmKQwffhcYTWm3lw0cwuOUYyqTECeYHa7+bFyznXfAprXgLWvzU 8kfHV3ypPbgSYLLT4bIaxP9oeNgIWLq5tYkJMINZhnuobHTbw2Rr5rFunwhtW4XHG+3n wxTUHjAmViJNqQJLwM9jD5jzThnOT7zGImtNuQrlgTRIt/2jZIfm6tIgktV/vGkYQDrp yK3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=8lAJFEkwl2Q1Fvmq3UOLVFJ2OXdPmm/TVkvNTIF5e4w=; b=wMs+oB+C8Ot3pjXj+0CoRGNd6LkhBz7t0vZMfKtYVEd6nNWYui0qeKgPanGOtvFbF8 SZfj3EM4YxRH8eo8SGSWthNqHp5r75c//VnIKYulkWZJvlarWiAv6nQQY4CCN23BPHMz M66yYWqawF8EX+nBrQf9E+LtTSt5NkZ0wQAY0Gxjzq2sQXK0vRTonc72yBt7m7sfXRMz S+aflVbt46ebb3wGr7PJg52HJY56dc9Q6UJS4esexW0rfZV2K5AQPr4+KU3VnMtXnFyx MLRC1OyiNgCqM9UrouGM4QeEuE/sC9RqxH/dEWd2g+1rOYA8x/2Fk/UgHDedBx2DVNwI srCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=WVWZ2K6m; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a2si7189336edc.321.2019.10.06.11.44.55; Sun, 06 Oct 2019 11:45:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=WVWZ2K6m; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726037AbfJFSlq (ORCPT + 99 others); Sun, 6 Oct 2019 14:41:46 -0400 Received: from vern.gendns.com ([98.142.107.122]:43106 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725942AbfJFSlq (ORCPT ); Sun, 6 Oct 2019 14:41:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8lAJFEkwl2Q1Fvmq3UOLVFJ2OXdPmm/TVkvNTIF5e4w=; b=WVWZ2K6mbb454aWFA0kF4Y10pG aLeY5X8WJQxJCsJC/9FFiDqtcHJ4LkNq5KpTo/PdReBUis0fO1xAnkayWrmyW6vOqLTvcryjo9acg r+6yIB7v/uo3ynAJ+4gax3yoSysPuZET2PBL//gYy7oppDZiiuTrLxIAqrvcBZtXqPSiRRbFrK5Ue BNGlzk1TFhqPmgwEFRKPvCpCTekpG7DwK9NrvWN2eOxDq4BiEuWfqfRsYnWfVRqv5sZ9w+JR2GEyU lLd/PcUC+cHc1Z3k3v8ep12hFXdcPuyO5nBA+ez923v4+9EtPutpL/wWcWiv+NGZOktRCzOkA3Reg ryRP6+AQ==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:54564 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1iHBTT-00024a-L0; Sun, 06 Oct 2019 14:41:43 -0400 Subject: Re: [PATCH v4 2/2] docs: driver-api: generic-counter: Update Count and Signal data types To: William Breathitt Gray , jic23@kernel.org Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, patrick.havelange@essensium.com, fabrice.gasnier@st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, benjamin.gaignard@linaro.org References: <75a9ca9837f4d66cb4912cfa535176e27f7c219a.1570377521.git.vilhelm.gray@gmail.com> From: David Lechner Message-ID: <9850a671-2822-24b7-3c22-b4abbd6a6b37@lechnology.com> Date: Sun, 6 Oct 2019 13:41:42 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <75a9ca9837f4d66cb4912cfa535176e27f7c219a.1570377521.git.vilhelm.gray@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/6/19 11:03 AM, William Breathitt Gray wrote: > Count data is now always represented as an unsigned integer, while > Signal data is either SIGNAL_LOW or SIGNAL_HIGH. > > Signed-off-by: William Breathitt Gray > --- > Documentation/driver-api/generic-counter.rst | 22 +++++++------------- > 1 file changed, 8 insertions(+), 14 deletions(-) > > diff --git a/Documentation/driver-api/generic-counter.rst b/Documentation/driver-api/generic-counter.rst > index 8382f01a53e3..161652fc1025 100644 > --- a/Documentation/driver-api/generic-counter.rst > +++ b/Documentation/driver-api/generic-counter.rst > @@ -39,10 +39,7 @@ There are three core components to a counter: > COUNT > ----- > A Count represents the count data for a set of Signals. The Generic > -Counter interface provides the following available count data types: > - > -* COUNT_POSITION: > - Unsigned integer value representing position. > +Counter interface represents the count data as an unsigned integer. The previous patch looks like it is using unsigned long instead of unsigned integer.