Received: by 10.192.165.156 with SMTP id m28csp897990imm; Fri, 13 Apr 2018 09:40:36 -0700 (PDT) X-Google-Smtp-Source: AIpwx492+OUWK4g09rdfCZyVh5fWezma/5SvJRdpU9ppGSKjY4vy1iWrNJc5xyYQpxxbO0hDRVp1 X-Received: by 2002:a17:902:22e:: with SMTP id 43-v6mr5818109plc.296.1523637636153; Fri, 13 Apr 2018 09:40:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523637636; cv=none; d=google.com; s=arc-20160816; b=Kt2tIMKYUMnrxUQRcgq9zbj3PhBe278Nd0YJIotA6U8+5oUHKLLjy/faq2s+spSfFi HHNyzPChbcTRgfsg8LymGqFWmA88owX9Gt+luvOTjUqJZgRKYeJk/GLALmKZHST8PyLd UQX79vnDgwtGmAr2DL9kf9lgQCjLKsdA2BXnEbuxgQw1s4niowOxSRbyguFXfx2oUpdl oEu+weAEdTUsp1uilPzVjAcztRA8aiD35v9MPHJAHjR+3Qi+rjNiNKqd5aznSUK7ezF/ /+9lcflgpY73ctz2kKrcVyjZzd4nmpOleqRxab2N31Nnf6X9E2t7N1QiwmDzXMZtI8Ky 6tGg== 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 :dkim-signature:arc-authentication-results; bh=UDdekwCEVHwVHb39AdxM698lqP7kSlOsWZhdP4/SteA=; b=je+5YMG3tiQDiur7CmJheltJTOnpWqtwqBRap+QWoA4K2zzmLFiwXbTq4F3oNmy7LR ti0QzJ5g8JPUtuQK5EIC3YRiJnBRub5YeElcG1fihNgt3rs49I+tU1UZchoFkDNTNBtz EEXz1Gtr+sKWsSLqyNoYIsjRU2myRGZ0PlImuGT1dc7yuBXL7hZjtTzxQYpbdudF0Boz rMCc/qoWWV78DOD7TSGk3TAXxKp3sVaEcdd79g8kJ6kWXtvQtWBAIQ+0I+FGO594h2WH GOfuAw6HJu0SBqZd652D05Sao2e6VDDZt8Kitcf3Y54oAIwnDGCTg3+rEv0dTHEX5EVP FcqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=j/E9ui2s; 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 j13si4374808pgt.402.2018.04.13.09.40.22; Fri, 13 Apr 2018 09:40:36 -0700 (PDT) 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=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=j/E9ui2s; 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 S1753211AbeDMQjF (ORCPT + 99 others); Fri, 13 Apr 2018 12:39:05 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:42326 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753197AbeDMQjA (ORCPT ); Fri, 13 Apr 2018 12:39:00 -0400 Received: by mail-qk0-f196.google.com with SMTP id b198so9715132qkg.9 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=Qg4DnGJrzpu6zTMD4RWJ1P2Ba9YVcB9emlh+Nq6TSvL2DnHSM3/2lXMW9GciIe7udp M10y+hJow8MhvBJfFUILoS/Zi1I/mgaxhjg64ARn0FfX7oe5SiNmiD9bIv/rxkDVjyWb Y+StcvyFKT2AJ20j4zhwDFD2N0CJlRZcB31sQVjBaYe0q2wtV4mese5QFg9J5QwEjf04 7GZeuPdm1opDeSKzwtlkRJhiqUX+FPpdwbxolNiJodkXvBS3vcakzGvVw3tCXJHvF+y0 ZwiQ3VhgbU0KImxlf5ieNwhQWSZooaoO0jKSs3fMJK394sUNHH6lT/F7bjgHPymU7tpX H/PA== X-Gm-Message-State: ALQs6tBEAkwIr2xKAsbMIzN5T+SzjiEKWG/gjhkbGBUiMdvMgGzwsy+W RrC1kAs5zQdhb3voK/RtkvEhTg== 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- 2.7.4