From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E78BBC3B19D for ; Fri, 14 Feb 2020 15:49:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BB21C24654 for ; Fri, 14 Feb 2020 15:49:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581695366; bh=KoWmmUibt6fhxYu7J7XJVpUObstKsWKhmjP7M/3xpfI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=ZyV8dP+2CF9JHFKyRyKrrB/8drvy5oL4/QHU7fCLzyDQpFS6FxXQ8ruDOIvQMmTZj WQ2EbF4JSJnyQqpnppExrFRZhbKGeK3wkANeij601jeVTHrhNBGct2jnYfPRKFNQne xvwPgjCxme3PVJRMww8VDPbso7z4IkJ/4eMT3L/c= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729912AbgBNPtZ (ORCPT ); Fri, 14 Feb 2020 10:49:25 -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-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@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.