Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1102776rwb; Thu, 22 Sep 2022 10:07:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM42TQSwqBkzz+KxUGFYJ9nxOrPu2SQpxTjEoY3YlU56ItMxJDW5Bh00HwhXuctrbnLs9Pd8 X-Received: by 2002:a17:902:db12:b0:176:d6a4:53ab with SMTP id m18-20020a170902db1200b00176d6a453abmr4288420plx.113.1663866448232; Thu, 22 Sep 2022 10:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663866448; cv=none; d=google.com; s=arc-20160816; b=u6H0bdxKRVUcgvCw9e3egu0LYkaeEvKoDnL+0UpulREmpyGX2wqLEuvOC5GLNpDzqk 9ykCSPyEj8F8ZFEWEWPN3Z9QoUiGQ7sQnK2rYoCygypxae5L8U+s5Ktq8rpJCkEKpTWa sspOcvuSVh4mQpaTze7dqb8yWfPjlFWbR6YWKOuPG/qYUuV2kOFaQ8qWFdTA4tJ1Kz/p +0NFILj5TLAB9xAoPg1o/KvxDK7+GcIhvLG6kKQgEgAicArnwlzcfLXCC2vGFzKNtLPL bpqFcgCd5Ys2u88uBrvfcZgDVmTxlWx7Hv4p3MGuhqFIpLuF3XgzEmBYyUrrDmwOnDbt VIew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aZ9inPx/SpVp/+EGUIHCzXQtKEo6kGOnnJXHLc8UgwM=; b=N2pYkrsaTL15IsNn/AT8C/6CE7NiNbnNhzCCSqDX1zWTFC9GTw+xtVUMKuH8RVSnM8 piFSr+dLpxBgi82HKhDS6cAPjcWV6VVDQkU81NK5mJyRfVmqO/pRea+eJ3G8MaKoOja+ 1PdaRWTEkd/YG+363ObBz1X4+f8Nz6tM3PGxxppZIAF5sLFRdOJjGAI5SsZTSTlkfacc pEVrbl5SnVy/zeMrmy/f4vjvebx51oVVoURBdtAEHrcdU9IV0rVUb6SzpPIcCYcmwuWl bcpN8RjNw8iWHzL5zQny1xtHhYTqlj85FfmDyQHXxPz9041eEkQonQMwc5dzoTidAFIp 092w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=qoNSKQMe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bf6-20020a170902b90600b0017870f47217si286767plb.360.2022.09.22.10.07.15; Thu, 22 Sep 2022 10:07:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=qoNSKQMe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231861AbiIVREX (ORCPT + 99 others); Thu, 22 Sep 2022 13:04:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231714AbiIVREL (ORCPT ); Thu, 22 Sep 2022 13:04:11 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A87E1FE067 for ; Thu, 22 Sep 2022 10:04:08 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id iv17so2588871wmb.4 for ; Thu, 22 Sep 2022 10:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=aZ9inPx/SpVp/+EGUIHCzXQtKEo6kGOnnJXHLc8UgwM=; b=qoNSKQMejX00EtTaTz0JNlc0S+M1KbIjAJ0TSBb5XkNtZ+0wU2Nu3/Y7+2cBJMRmrA 8v4nhvIjM4eQV4QPuE3cuArfYi/OUff+q7GHHLd37yhF8J9wJaHQyZPuQkzI24dCi5Bf PdxQj+ki8kGvMPwaobfraCZrSCDHGjgmSCskmrn/nnC+2maPkdsJwE9yLhW8hHI5burL xP4grPNFx7zAW/McwSAeQGAbRTcNwrP4DY4/pPEVX/cDXTvaJrKV1DOo4WmxkRzg98qO 4r/9t5ipFD4Bm4yBaclIR2rRmYON44bJhC8A1+rBNVbXBCNGAJlplfEpRB1bC+iHg8QF rPyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=aZ9inPx/SpVp/+EGUIHCzXQtKEo6kGOnnJXHLc8UgwM=; b=tcJknkx2wEhM8EYYUXb9Ta7I88bWOIolYxjMN4/9s9iZLCwRSjqjSknXixYzEsdD8t 2I2hF3MdxnVoSUq64q+wmhPuVVeM14keo3nGQteBH8vqndlJhxq5pQN2VzyqeK1bB3+Y 1VTpMAFgsYE7vUZDLd0Sm9pjN4cYwP9If5ImlMoeUIcxSu6ckhKqd16RdcnkfHHPCeNC 9LsJdSwQ95XVGnyLjXOkZGgLjJ4u09J/gkP5G8Nlm2lNjJGvm3giwmYSXYwPTNp5Fwiw f+S848/mvgb4uczbDJWj/Oo5id6pSXj/fg2AHrDpq3cHc6QaHMeZa+O7lPeDRhZgRhRq 6xuA== X-Gm-Message-State: ACrzQf3GpfbUZaE+S3zYihAv7pN5OqLB7VKIEZSL726pJCQtod/P7bqy 43r3Lbo7rpPp9g0+ax0LddyRVGSSnw3soA== X-Received: by 2002:a05:600c:2949:b0:3b4:85b2:c1d7 with SMTP id n9-20020a05600c294900b003b485b2c1d7mr10111807wmd.183.1663866246979; Thu, 22 Sep 2022 10:04:06 -0700 (PDT) Received: from baylibre-ThinkPad-T14s-Gen-2i.. (32.31.102.84.rev.sfr.net. [84.102.31.32]) by smtp.gmail.com with ESMTPSA id w21-20020a1cf615000000b003a604a29a34sm20334wmc.35.2022.09.22.10.04.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 10:04:06 -0700 (PDT) From: Julien Panis To: william.gray@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, mranostay@ti.com Subject: [PATCH v8 2/4] Documentation: ABI: sysfs-bus-counter: add frequency & num_overflows items Date: Thu, 22 Sep 2022 19:04:00 +0200 Message-Id: <20220922170402.403683-3-jpanis@baylibre.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220922170402.403683-1-jpanis@baylibre.com> References: <20220922170402.403683-1-jpanis@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit adds frequency and num_overflows items to counter ABI file (e.g. for TI ECAP hardware used in capture operating mode). Signed-off-by: Julien Panis --- Documentation/ABI/testing/sysfs-bus-counter | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-counter b/Documentation/ABI/testing/sysfs-bus-counter index 30b6e1faa6f6..e177c6128236 100644 --- a/Documentation/ABI/testing/sysfs-bus-counter +++ b/Documentation/ABI/testing/sysfs-bus-counter @@ -209,6 +209,12 @@ Description: both edges: Any state transition. +What: /sys/bus/counter/devices/counterX/countY/num_overflows +KernelVersion: 6.1 +Contact: linux-iio@vger.kernel.org +Description: + This attribute indicates the number of overflows of count Y. + What: /sys/bus/counter/devices/counterX/countY/ceiling_component_id What: /sys/bus/counter/devices/counterX/countY/floor_component_id What: /sys/bus/counter/devices/counterX/countY/count_mode_component_id @@ -219,11 +225,13 @@ What: /sys/bus/counter/devices/counterX/countY/prescaler_component_id What: /sys/bus/counter/devices/counterX/countY/preset_component_id What: /sys/bus/counter/devices/counterX/countY/preset_enable_component_id What: /sys/bus/counter/devices/counterX/countY/signalZ_action_component_id +What: /sys/bus/counter/devices/counterX/countY/num_overflows_component_id What: /sys/bus/counter/devices/counterX/signalY/cable_fault_component_id What: /sys/bus/counter/devices/counterX/signalY/cable_fault_enable_component_id What: /sys/bus/counter/devices/counterX/signalY/filter_clock_prescaler_component_id What: /sys/bus/counter/devices/counterX/signalY/index_polarity_component_id What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode_component_id +What: /sys/bus/counter/devices/counterX/signalY/frequency_component_id KernelVersion: 5.16 Contact: linux-iio@vger.kernel.org Description: @@ -364,3 +372,9 @@ Description: via index_polarity. The index function (as enabled via preset_enable) is performed synchronously with the quadrature clock on the active level of the index input. + +What: /sys/bus/counter/devices/counterX/signalY/frequency +KernelVersion: 6.1 +Contact: linux-iio@vger.kernel.org +Description: + Read-only attribute that indicates the signal Y frequency, in Hz. -- 2.37.3