Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4895515ybl; Wed, 22 Jan 2020 06:39:00 -0800 (PST) X-Google-Smtp-Source: APXvYqzux+NfRDy8Jrwy98PMj6MgcA3uMW+yTHZNYY3Xb0SClRbOurRSqX5+YzIZ8GmIbxjO8oe0 X-Received: by 2002:a9d:7586:: with SMTP id s6mr7501884otk.342.1579703940184; Wed, 22 Jan 2020 06:39:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579703940; cv=none; d=google.com; s=arc-20160816; b=P5PoaPCyPGmXdkhF4IGcbsW1Uphx9RWx/SW8nDQ6u3a2lbmHeFy0lT8yFyXXuKtooc 6UTtRwDnrTt7rXcySp1z+ls0JnRP99MCu4PRp3W9xK7TfC3Pv0EqOvJ5ADzhW34VJBx5 SupaLs0QN+CG0Z1bLoO7lY1emXHiM+Eo0B3sRPCceFYGTcloYUaa6hQOv9MdBup+Yk1M jOnRPsDNWQvu+pBF0uoVc5ZuEBsbG2djM8GxHLrEkZ0rl7rpy57i9tVjO2QNnMLIieIO oOXhkH86ch9C5HxFvHhv+LD6TahBQ2+jgK9YfU6NvrPjmjN8nQt7atvgNfXtEW0FNwRr PQdA== 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:date:subject:cc:to:from; bh=dBQTgbXVdPPnKgBXZvsqg5r1VGy1mLmkJOSlBi88vmM=; b=RJt4ZYH+YFo29O/I/yuNR1nRI3JjVpEmUMG+EUMd1BUQVtTAQzXaG01lzFWiALm3qn CFcNuUIS3twclfDDVy+D93sZc0kEpiKx1iAs9qeZ2MeiGh1mdYt0TqOjzz0PgnrLJtGQ jTdYJ8F+2nqxCr/MwJUI8VdecgKc1DWBJsUyEq0OehPAdUBeJoVsV5dc6MrWwvsbXs3U UjsXxo+AM4KmnkNktO0meE14iEh56uC9zXIIh/XIkewmIiv0a3/i/QQbRq3coe+yYL6C V6vRusQS4IK1YSOYiqM/5lFQDXOL0aHHOQISbUIY6X8rPh9jMr9mNivos6n6xYNifVPZ A/tQ== ARC-Authentication-Results: i=1; mx.google.com; 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 m7si20702213oih.7.2020.01.22.06.38.48; Wed, 22 Jan 2020 06:39:00 -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; 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 S1729031AbgAVOhT (ORCPT + 99 others); Wed, 22 Jan 2020 09:37:19 -0500 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:55724 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725827AbgAVOhR (ORCPT ); Wed, 22 Jan 2020 09:37:17 -0500 Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00MEWAK9014317; Wed, 22 Jan 2020 09:37:16 -0500 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com with ESMTP id 2xkytaaufq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Jan 2020 09:37:16 -0500 Received: from SCSQMBX11.ad.analog.com (scsqmbx11.ad.analog.com [10.77.17.10]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 00MEbE30004103 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Wed, 22 Jan 2020 09:37:14 -0500 Received: from SCSQMBX10.ad.analog.com (10.77.17.5) by SCSQMBX11.ad.analog.com (10.77.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Wed, 22 Jan 2020 06:37:12 -0800 Received: from zeus.spd.analog.com (10.64.82.11) by SCSQMBX10.ad.analog.com (10.77.17.5) with Microsoft SMTP Server id 15.1.1779.2 via Frontend Transport; Wed, 22 Jan 2020 06:37:12 -0800 Received: from tachici-Precision-5530.ad.analog.com ([10.48.65.175]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 00MEb86v030736; Wed, 22 Jan 2020 09:37:10 -0500 From: Alexandru Tachici To: , CC: , Alexandru Tachici Subject: [PATCH 1/2] Documentation: ABI: testing: ad7192: update sysfs docs Date: Wed, 22 Jan 2020 16:36:59 +0200 Message-ID: <20200122143700.6069-2-alexandru.tachici@analog.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200122143700.6069-1-alexandru.tachici@analog.com> References: <20200122143700.6069-1-alexandru.tachici@analog.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ADIRoutedOnPrem: True X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-17_05:2020-01-16,2020-01-17 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 suspectscore=0 impostorscore=0 spamscore=0 malwarescore=0 adultscore=0 priorityscore=1501 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001220131 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Updated mainline documentation on ad7192 userspace sysfs. Signed-off-by: Alexandru Tachici --- .../ABI/testing/sysfs-bus-iio-adc-ad7192 | 17 ++++++++++------ .../iio/Documentation/sysfs-bus-iio-ad7192 | 20 ------------------- 2 files changed, 11 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..9be6b8a69a19 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: 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. -- 2.20.1