From patchwork Sun Jun 19 18:58:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12886813 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57570C433EF for ; Sun, 19 Jun 2022 18:59:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230129AbiFSS7h (ORCPT ); Sun, 19 Jun 2022 14:59:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232378AbiFSS7g (ORCPT ); Sun, 19 Jun 2022 14:59:36 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF118BC8E for ; Sun, 19 Jun 2022 11:59:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 944EBB80D8B for ; Sun, 19 Jun 2022 18:59:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4275EC3411D; Sun, 19 Jun 2022 18:59:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655665172; bh=RAHg7E+KBH2okpS3ttzmwcOwPAvuXdlx2KK36QO/YGA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EIBVv7yP73hVgmMlXI7qEFitlVZmAmodu8g9P9hiA3oq2opwDZLl6BQsAgoWdVetD kWJOG8A24VMfpid5N2slp6ip/PKDxezz6LcEkPnWwz25ma1aoL+bMoSmuArgtEclFn ynWNflTQSUvLwUSVPjrtYeqR4yy0G6EQZiUFp9AhzHIJ7Zuia2LNWOFOVSmOtVYi0e Y+qUXlEtCujD511oRhSRajagEu7ex9Ul3BR27q06tLJt1Ikt0nFHv0T3xs5f28v3Sk EZHYii9rEU6IEDfpkO3GwUawa4vSABvqMM+yTEbogeEzxNfnuPEj2EA78JmIkjm7XR wLDJuQtEwyH8g== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Andy Shevchenko , Peter Rosin Cc: Michael Hennerich , Lars-Peter Clausen , Vincent Whitchurch , Jonathan Cameron Subject: [PATCH v2 15/17] iio: cdc: ad7746: Add device specific ABI documentation. Date: Sun, 19 Jun 2022 19:58:37 +0100 Message-Id: <20220619185839.1363503-16-jic23@kernel.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220619185839.1363503-1-jic23@kernel.org> References: <20220619185839.1363503-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron The datasheet description of offset calibration is complex, so for that on just refer the reader to the device datasheet. Signed-off-by: Jonathan Cameron --- Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746 b/Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746 new file mode 100644 index 000000000000..6db81725b5d2 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746 @@ -0,0 +1,11 @@ +What: /sys/.../iio:deviceX/in_capacitableY_calibbias_calibration +What: /sys/.../iio:deviceX/in_capacitableY_calibscale_calibration +KernelVersion: 5.19 +Contact: linux-iio@vger.kernel.org +Description: + Write 1 to trigger a calibration of the calibbias or + calibscale. For calibscale, a fullscale capacitance should + be connected to the capacitance input and a + calibscale_calibration then started. For calibbias see + the device datasheet section on "capacitive system offset + calibration".