Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1046787rwb; Fri, 23 Sep 2022 07:34:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6FP1dhru5TG91mVPDpPXblR3nx9iIAQwSA3MHC3gHhYXpK+dVDps3uGFqP7UdcN8rKiXdj X-Received: by 2002:a17:907:2722:b0:77f:c136:62eb with SMTP id d2-20020a170907272200b0077fc13662ebmr7127169ejl.522.1663943656174; Fri, 23 Sep 2022 07:34:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663943656; cv=none; d=google.com; s=arc-20160816; b=eNPx0nuTQUgGUufXD/7r2Dk3CRkXV5Wr45VtB+45uM+UcAeINOf4bxmf5mmV80keOw 6dRLZfLuiX7mF7NDOpE/cRimKbYmiMeq3ykIBcsr4aqDGbpOpRcbGMZD9MceDKlW9tdf pQOutA3QgSnU5szJSRxgAkxNyUjAtsLN/PbI+RNxfqOZCNzJcKf66glNTKdqQW5hR0+o IR8JTtotzy5tj6e9J24hTNMypQPZzeDy3RkCuPZ0BeaDU5CYVru0z7DejBy6UxshoZ9g oJrjvY8yjqsVbxeoC5o6ns0xG7oIQLpjrn24/3TmPizIdrbjYrmvzOoZVlYRF5egOwT/ nAOA== 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=DZ3wAOqHD6GSXG4vnTdYKMtDiyw/ZpVS37f49iSu2jNCyjsxpAx+hJYjyORCQ3aHwP PQQ91r04x1eeDnlEx4AMlIfTjexOiX0vOw11OhaGvxy+OFFDSS4M1/sE9WakIjL3bQA+ gZRba8lguOB0W3AYGrXlAxc8RlppJ3BCwPdHuqfsM2YtE9FGDnKYXcIrQGtacxZAVbvT 0nZqMUBtY29hKxVXUb4kpzvC7Fof8c1hGj3Q+q9Y7FiMzlRu7bJU5e1p/LvIpfgV2xuP q88I9XMImgejS/r6GAcoaEouNi378KH/sXAw+OhBk7ZcRGEmwDddWcHTLRnQJWh+U/VN lwPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=YOGaryDS; 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 b10-20020a056402084a00b0044785c547dbsi8898230edz.212.2022.09.23.07.33.49; Fri, 23 Sep 2022 07:34:16 -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=YOGaryDS; 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 S231816AbiIWOZA (ORCPT + 99 others); Fri, 23 Sep 2022 10:25:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232524AbiIWOYp (ORCPT ); Fri, 23 Sep 2022 10:24:45 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC5292737 for ; Fri, 23 Sep 2022 07:24:42 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id n12so227160wrx.9 for ; Fri, 23 Sep 2022 07:24:42 -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=YOGaryDSh5eMCTjfMznfvWNctOo5bnmgrfLp0T2b1FoSvPwCOLhO2KXAHALUJS7chj aoVIBT9sRSrjuc1YwAFtMTW0KVXmGhBwTA9el7BG/DRkEjRyOYyQ6bXGtrVnPqUEsM3Y N1vkorsv0dXIlGOgM5xWHRP3MZprdLjutkwD+aOeoyEeoWQ6W1eXZx3oA7wSehh4FXjT 3IuUEklaMR0ETL8tQfMsc7zCVgJU0RT26bzjYz7aNE+ftTnJYcw2u6Ritend42vFXJd8 j0mOH0ASvCv22tkAuNwANjgmC3gFjhkT86Atps/yR8/6bPJXDTqnOYA9QE8cz1ydGgxw JaVw== 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=3un0ODRB3smmV5zErjblOYao8v6u2dasVcYIm8U725SV6vw/W1HtxEtKco4IzJet8T WrAUfQsIlGBKRpEcc11AaQpGZRQ8Z4VKFxFmfbhbsn3cRgh04XXc0nsKqjKY7f/fQiz+ YBFcA096Ojx31g9MF0i+pttMIPJS/z0klpud+jaTEf+AXfEz5yhfvMOwSyCKTk1dYj53 c6la99923HwDWt+rcNVglwj1S9w1WdgkzUea1HXqo3T9nBd4I3Wh2TqHCR231i/X5IB1 Yw5w1F6fKyrL50CR9BvV3ep6PNz25yoR1va3xs0wBlLoY7iMWaTgvNfa4sV/fSV34NA/ 4zBw== X-Gm-Message-State: ACrzQf3X5J4aZkafGo4Kt6zP7pzgmxEiW5rXZVHMmjJUDz+RMpn8X7QY rGuVgb0J8wAqPoJ+r2lo16MRTQ== X-Received: by 2002:a5d:55c1:0:b0:228:6b57:c60b with SMTP id i1-20020a5d55c1000000b002286b57c60bmr5254820wrw.68.1663943080797; Fri, 23 Sep 2022 07:24:40 -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 m18-20020a5d56d2000000b0022878c0cc5esm7444627wrw.69.2022.09.23.07.24.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Sep 2022 07:24:40 -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 v9 2/4] Documentation: ABI: sysfs-bus-counter: add frequency & num_overflows items Date: Fri, 23 Sep 2022 16:24:35 +0200 Message-Id: <20220923142437.271328-3-jpanis@baylibre.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220923142437.271328-1-jpanis@baylibre.com> References: <20220923142437.271328-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