From patchwork Fri Apr 13 16:36:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Hern=C3=A1n_Gonzalez?= X-Patchwork-Id: 10340471 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B0444604D4 for ; Fri, 13 Apr 2018 16:39:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A26D22842A for ; Fri, 13 Apr 2018 16:39:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 94CED28646; Fri, 13 Apr 2018 16:39:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CDD42842A for ; Fri, 13 Apr 2018 16:39:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750960AbeDMQjE (ORCPT ); Fri, 13 Apr 2018 12:39:04 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:37149 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753080AbeDMQjB (ORCPT ); Fri, 13 Apr 2018 12:39:01 -0400 Received: by mail-qk0-f193.google.com with SMTP id w6so9720843qkb.4 for ; Fri, 13 Apr 2018 09:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UDdekwCEVHwVHb39AdxM698lqP7kSlOsWZhdP4/SteA=; b=j/E9ui2sCf5IE13pTmlnm8O0ksu7cDhBDCYzZsF+kRSYBLjncY9+YEvnQqr5xIHmBb 4cJJhBSJc7LcguDALhdfYp5l3xwL7WVm1Bsh6z8l0pt4JYHQ3/4C7akXvLDF/iuLNIR8 kVQ9zF25iRomzbaP8zCFXPJeExWWD7FpS1MjfVLdB4GUxMI66kckwPe5Ax/Vk5uLcRka vbZE7u3R+4NoiYRGApuutnkU79JWvs78zdEatAigY7lUh1fs3jA9yMuC5y+l49638DRb kktEV3KpaqHCJbnXWTs9ankF4lPHnefREtWD/HP2IG6ue3dtSk5t7aYoLtKV+b+448Pr BFEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UDdekwCEVHwVHb39AdxM698lqP7kSlOsWZhdP4/SteA=; b=ikEBhH6twlYVFtPfhCvi4NMD/sTxmaRHCD+9zDhcncgFCf7nMC8lXJHE0twoeyCxli iObKjojAy5cSpuWssKi8WGOFhbo27x0b05tWhH2+UhqIv3YShwNxGeX8MjtupP8LFROC es5NJ8oBfqi1IRdk0YTzOeABVjvM3WgvgJ+NqJ/badR9MQcStrR76WtF1Trffa0QCazq UnowiagBweonxK2EhYkhzV9Q3FXghHSRMWOPNiNcXuHszeZbVdIrv+pVhvxshDPAyC0B 1+Xb9etWn64XQ66kEa1LvKRozXTgMPcf1EbPx/Jpkr0F2PJT4GMbJd1JK+fm3+hH9QUN 63aQ== X-Gm-Message-State: ALQs6tCGLuedCZhiXjrkZrKb/2xTOMaPaRQUZ9L5jdBeeQt7+5fndqcY 2n9vh5NRWjnvP7kqN16xTPSbhg== X-Google-Smtp-Source: AIpwx489bocmG662lDZYeuDUriOaL83M+35DI2X6bPjNjwGNeLGCHT+/Aac/GyBGShECFmQr+FIwUw== X-Received: by 10.55.75.73 with SMTP id y70mr5222358qka.276.1523637540110; Fri, 13 Apr 2018 09:39:00 -0700 (PDT) Received: from localhost.localdomain ([190.210.56.45]) by smtp.gmail.com with ESMTPSA id t82sm5024687qke.52.2018.04.13.09.38.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Apr 2018 09:38:59 -0700 (PDT) From: =?UTF-8?q?Hern=C3=A1n=20Gonzalez?= To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, Michael.Hennerich@analog.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Hern=C3=A1n=20Gonzalez?= Subject: [PATCH v2 12/14] staging: iio: ad7746: Add ABI documentation Date: Fri, 13 Apr 2018 13:36:49 -0300 Message-Id: <1523637411-8531-13-git-send-email-hernan@vanguardiasur.com.ar> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523637411-8531-1-git-send-email-hernan@vanguardiasur.com.ar> References: <1523637411-8531-1-git-send-email-hernan@vanguardiasur.com.ar> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The use cases for this driver don't comply with the current ABI. The ad7746 and ad7152 need an external capacitance or voltage reference to automatically calibrate themselves which is not the normal use case of the calibscale and calibbias ABIs, a new ABI was needed. Signed-off-by: HernĂ¡n Gonzalez --- Documentation/ABI/testing/sysfs-bus-iio-ad7746 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-ad7746 diff --git a/Documentation/ABI/testing/sysfs-bus-iio-ad7746 b/Documentation/ABI/testing/sysfs-bus-iio-ad7746 new file mode 100644 index 0000000..96a41b7 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-iio-ad7746 @@ -0,0 +1,17 @@ +What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceX_calibscale_calibration +What: /sys/bus/iio/devices/iio:deviceX/in_voltage0_calibscale_calibration +KernelVersion: 4.17.0 +Contact: linux-iio@vger.kernel.org +Description: + Enter gain calibration mode, in which a full-scale + {capacitance, voltage reference} must be connected to the + {capacitance, voltage} input beforehand to automatically + calibrate the device. + +What: /sys/bus/iio/devices/iio:deviceX/in_capacitanceX_calibbias_calibration +KernelVersion: 4.17.0 +Contact: linux-iio@vger.kernel.org +Description: + Enter offset calibration mode, in which a zero-scale + capacitance must be connected to the capacitance input + beforehand to automatically calibrate the device.