Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2046150ybv; Fri, 14 Feb 2020 10:23:46 -0800 (PST) X-Google-Smtp-Source: APXvYqyTO3H4gq0GtMMTnJ2rVpKuLqrMePy6rsmKW3b3tbyWXE0olNHwoa59YglAHMhPSejxMpR4 X-Received: by 2002:a05:6830:1e72:: with SMTP id m18mr3147681otr.226.1581704626473; Fri, 14 Feb 2020 10:23:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581704626; cv=none; d=google.com; s=arc-20160816; b=dX75Tx+twXykl2Z+Oz6ZpYgvaVp7vNV/wbp2bWBAUAajNsvvdp6QH0OA6P6RmfPkgg AL7o1fOSNi+hzFm2IYvahz0riz8Z/i4kw8MFWQS8i6ddjcso9AeAUMssXktRTDXqB526 pNgO77e2q/lN2X5xugy1RQQhC9aQUeoO1ecHUdW/ef6EBM8viI9IEFT/3M/+q5Q/OE7U qXWkOLXdWiWwEHmZPoFuS6YfaUTiLCt4808n9IWbPSI2lEAfUrVbh7zoMCOcNDxsrrLO 6dfNv/AKI2rnLsONGNb2CiXFGCqlzb3fAqXdG2bLXWv4an91s4DQZxhPYfOKvOJo9Gmm ix/g== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ND+ltcvWEndgFXc/+eibMC4clz+6L1aqQj8N0uUPdwE=; b=SVBvjFxQ5OES6Ry5fS7gk7RcLteIvfejZ2C5qv58GvEjysjTe454Cs+VZDvdn1h4FH ezXm/mI4HodOk3KxPyMcXgJS8Xnj9noyygOxlwpp/3CuE8WzsCHx+xCB5Gk3V5bEQP/X Mi420I5c6ceo7AlMrFsOB8UTtjpi/3Mr+tnGxdSNojT9eVB5QKo1H+ph9jeeTnb23Br2 dS305AKd2ZT5cqu9FFhBqXIQ3Q6p2dBDitlS+0a2UKm7DpnZB1Nez2xlYtCDa7Oy12NG /fnJ52xO6vzaU4ngyJFQQm7z7oXs75Ape/eVN0ePRqncOeJe4oS6kRXNTk2QO8EPiHnz jHRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SmV6euDc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f16si3257558oib.269.2020.02.14.10.23.34; Fri, 14 Feb 2020 10:23:46 -0800 (PST) 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=pass header.i=@kernel.org header.s=default header.b=SmV6euDc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729942AbgBNPt2 (ORCPT + 99 others); Fri, 14 Feb 2020 10:49:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:52164 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729864AbgBNPtX (ORCPT ); Fri, 14 Feb 2020 10:49:23 -0500 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2A12C2086A; Fri, 14 Feb 2020 15:49:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581695361; bh=KoWmmUibt6fhxYu7J7XJVpUObstKsWKhmjP7M/3xpfI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SmV6euDchCmdy/eh0h01ax/rK5zFNIiM4sOlsCV52Ux0UFWFLdIPWGmCvMbgl15ea +7cEuxk0P2vu56H8umK/A+C6D6QwytC60IXETPLqhpuGhPnmsMqK4F4uHm9dq+paye giI4edbR3DuJjYNFRV/cRU+N1sSiJ/YYBf9vS2w4= Date: Fri, 14 Feb 2020 15:49:18 +0000 From: Jonathan Cameron To: Alexandru Tachici Cc: , Subject: Re: [PATCH v3 4/5] Documentation: ABI: testing: ad7192: update sysfs docs Message-ID: <20200214154918.3be19aeb@archlinux> In-Reply-To: <20200212161721.16200-5-alexandru.tachici@analog.com> References: <20200212161721.16200-1-alexandru.tachici@analog.com> <20200212161721.16200-5-alexandru.tachici@analog.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Feb 2020 18:17:20 +0200 Alexandru Tachici wrote: > Updated mainline documentation on ad7192 userspace sysfs. > > Signed-off-by: Alexandru Tachici Applied. Thanks, Jonathan > --- > .../ABI/testing/sysfs-bus-iio-adc-ad7192 | 24 ++++++++++++++----- > .../iio/Documentation/sysfs-bus-iio-ad7192 | 20 ---------------- > 2 files changed, 18 insertions(+), 26 deletions(-) > delete mode 100644 drivers/staging/iio/Documentation/sysfs-bus-iio-ad7192 > > diff --git a/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 b/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 > index 7627d3be08f5..f8315202c8f0 100644 > --- a/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 > +++ b/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 > @@ -2,17 +2,22 @@ What: /sys/bus/iio/devices/iio:deviceX/ac_excitation_en > KernelVersion: > Contact: linux-iio@vger.kernel.org > Description: > - Reading gives the state of AC excitation. > - Writing '1' enables AC excitation. > + This attribute, if available, is used to enable the AC > + excitation mode found on some converters. In ac excitation mode, > + the polarity of the excitation voltage is reversed on > + alternate cycles, to eliminate DC errors. > > What: /sys/bus/iio/devices/iio:deviceX/bridge_switch_en > KernelVersion: > Contact: linux-iio@vger.kernel.org > Description: > - This bridge switch is used to disconnect it when there is a > - need to minimize the system current consumption. > - Reading gives the state of the bridge switch. > - Writing '1' enables the bridge switch. > + This attribute, if available, is used to close or open the > + bridge power down switch found on some converters. > + In bridge applications, such as strain gauges and load cells, > + the bridge itself consumes the majority of the current in the > + system. To minimize the current consumption of the system, > + the bridge can be disconnected (when it is not being used > + using the bridge_switch_en attribute. > > What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration > KernelVersion: > @@ -21,6 +26,13 @@ Description: > Initiates the system calibration procedure. This is done on a > single channel at a time. Write '1' to start the calibration. > > +What: /sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw > +KernelVersion: > +Contact: linux-iio@vger.kernel.org > +Description: > + Measure voltage from AIN2 pin connected to AIN(+) > + and AIN(-) shorted. > + > What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode_available > KernelVersion: > Contact: linux-iio@vger.kernel.org > diff --git a/drivers/staging/iio/Documentation/sysfs-bus-iio-ad7192 b/drivers/staging/iio/Documentation/sysfs-bus-iio-ad7192 > deleted file mode 100644 > index 1c35c507cc05..000000000000 > --- a/drivers/staging/iio/Documentation/sysfs-bus-iio-ad7192 > +++ /dev/null > @@ -1,20 +0,0 @@ > -What: /sys/.../iio:deviceX/ac_excitation_en > -KernelVersion: 3.1.0 > -Contact: linux-iio@vger.kernel.org > -Description: > - This attribute, if available, is used to enable the AC > - excitation mode found on some converters. In ac excitation mode, > - the polarity of the excitation voltage is reversed on > - alternate cycles, to eliminate DC errors. > - > -What: /sys/.../iio:deviceX/bridge_switch_en > -KernelVersion: 3.1.0 > -Contact: linux-iio@vger.kernel.org > -Description: > - This attribute, if available, is used to close or open the > - bridge power down switch found on some converters. > - In bridge applications, such as strain gauges and load cells, > - the bridge itself consumes the majority of the current in the > - system. To minimize the current consumption of the system, > - the bridge can be disconnected (when it is not being used > - using the bridge_switch_en attribute.