Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4985105pxb; Mon, 15 Feb 2021 06:40:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/krD/eeNY3eL0EuL35Cr/l2Nwm2vHnBpcejGQTN6fmnEMWpBdP484B/P10z45Yci6aA5z X-Received: by 2002:a17:906:ad9:: with SMTP id z25mr16095714ejf.513.1613400038054; Mon, 15 Feb 2021 06:40:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613400038; cv=none; d=google.com; s=arc-20160816; b=EsQVol4geE3GSsAINQPnRoRUGwhe6ev1NAclPldzrmccx2pWAG81Q1mNk5yWBRvkjR qZnLuwDDyYMYvBsdjTg0Tya1gD3ZKkvkQxsaacwjhUw8f8udLX0lobAlNo1g6lrqMXKy p8/0O/xccnAj8IoxshK35DfFX+Z68+uLt19XvttgCh0xpWTKy5eqpN460LpeZxpK8uxU BnKUhDHHFQTlXodZiDzL0S7U/uLN3A3r3NKWJ8hrcmD6H7wcb/SZtwCBPs7qjKljb4W6 wqasdKomxAOeCOc446d5d2vUQ2HpXvLdQjKk1h9/DetjtN18tUnSs29quz8RZGCcjWes U2Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=MX2Hfs6rrYdo2sxh4OwXXOQ7BnjBg6ag7TN9xQyzAyU=; b=IYtT40m9Vtls+x3opULAxq9qghXdMXfJG1fVVVOIs0MPFoRe4ZkZ3CgJW0/vt5416B MBYFLu6ZSKsNAM7sAyWB1WT4VzU1jMuKf3kPirCj4qKKnXhbk3pPO1hM7S4oeWIgFghP ZuGlH82IE5C2BGcwPlno84AcYAWCTsIuf10boVcfbp0TCv54e15cBgkxcomC0VofYKX/ 5+Z8O9f25JwSjXRzYSF3EavnUmoDDt+mneLhLCswbD5u5vdwF04Mr7VeDtReyuGou3FW 8hh9qPHJCsgrQsgjqM2Spfyp0fmMlsLDJD4HZcuvtAopSyNJ+69JFYj/H/3LYdwKK4mH VSRA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z15si2959205ejr.734.2021.02.15.06.40.15; Mon, 15 Feb 2021 06:40:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229888AbhBOOgy (ORCPT + 99 others); Mon, 15 Feb 2021 09:36:54 -0500 Received: from hostingweb31-40.netsons.net ([89.40.174.40]:35404 "EHLO hostingweb31-40.netsons.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230162AbhBOOgO (ORCPT ); Mon, 15 Feb 2021 09:36:14 -0500 Received: from tech.aim-sportline.com ([185.56.157.72]:34080 helo=pc-ceresoli.dev.aim) by hostingweb31.netsons.net with esmtpa (Exim 4.93) (envelope-from ) id 1lBeyF-00GYMx-Ep; Mon, 15 Feb 2021 15:35:27 +0100 From: Luca Ceresoli To: linux-doc@vger.kernel.org Cc: Luca Ceresoli , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Corbet , Jonathan Cameron Subject: [PATCH 3/5] docs: iio: document the 'index' attribute too Date: Mon, 15 Feb 2021 15:35:09 +0100 Message-Id: <20210215143511.25471-4-luca@lucaceresoli.net> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210215143511.25471-1-luca@lucaceresoli.net> References: <20210215143511.25471-1-luca@lucaceresoli.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hostingweb31.netsons.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lucaceresoli.net X-Get-Message-Sender-Via: hostingweb31.netsons.net: authenticated_id: luca+lucaceresoli.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: hostingweb31.netsons.net: luca@lucaceresoli.net X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Two out of three attributes are documented, document the third one too. Signed-off-by: Luca Ceresoli --- Documentation/driver-api/iio/buffers.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/driver-api/iio/buffers.rst b/Documentation/driver-api/iio/buffers.rst index 9f7dc245d37a..9dad7c94034b 100644 --- a/Documentation/driver-api/iio/buffers.rst +++ b/Documentation/driver-api/iio/buffers.rst @@ -34,6 +34,7 @@ attributes of the following form: * :file:`enable`, used for enabling a channel. If and only if its attribute is non *zero*, then a triggered capture will contain data samples for this channel. +* :file:`index`, the scan_index of the channel. * :file:`type`, description of the scan element data storage within the buffer and hence the form in which it is read from user space. Format is [be|le]:[s|u]bits/storagebitsXrepeat[>>shift] . -- 2.30.0