Received: by 10.223.185.111 with SMTP id b44csp637381wrg; Fri, 9 Mar 2018 10:46:34 -0800 (PST) X-Google-Smtp-Source: AG47ELvgEy/u2MCxmURsZFhDFV1I53CjnyMetVwgydI3XhBmnMHbQ0g0O5S30Nq3Haye1hu+NA4e X-Received: by 10.99.117.89 with SMTP id f25mr24691045pgn.18.1520621194616; Fri, 09 Mar 2018 10:46:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520621194; cv=none; d=google.com; s=arc-20160816; b=WGMT0aKhSgjfhrqY63jKYEN4UwGUlDdJyV2FHgCcr6C/N7HATB1/Sv2FnEjOvvs30/ gl8LgsW2UDikyK7VP0y7fm0ve4JEqi+/vExGzVzrSns5nL3jBYDg17AlktNZSHrdvAh0 VK/aQiWz/ntzJjwENelJPdGvt9Ntr4yEJZvtPfw3EjKT7FsRUJS9QmjhxB/KLIkK3MoK 0gpDUC5LnGsp1KSiVLL5UbwMiSxcg9eTd6fE8pjPaPjWmx4OkSrrFJsfmUb/4kpE6o5E TxBrwkqJsDtoVp3R151bHLsMFlqN7XjMR4vSZ6aXO8CPxG0NoB69Z+yrUVNuKU+423gq diDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=RGPTknpJF8CNz2BI2AGB4z/Fw1Y4rMemLlpDjOacG8E=; b=ypiXGNnx5fWpWRKAMJgHbm0pd0xkduFuaf2zdcmqH2wpQW57OUVqMbJrovNCzypmD0 Fb98jYaUOhiFfvK5dqRnDBJxOCrSAJ3XjIrq+JUI6n85PE2KIuX/Bua8jYdQ7jBWvoaI MZvDZwMzvbWERPrH4aveYx41hBO2HQSCZ7v++qjhcLMJO6zHfUhIwx4ABSgwEddGcISU kPqXMZZUwdtJFb6cvAfwvvsqsyRnATuhIgcvoJfyoszkD2416/Y0CWATdlhVZv41y1Pi lVNVwn9ZsUceJ4b/y+faoJdeh2QlMs91AuvwV1Wjl3VXRMoHhSb9U69BOmaXk3Zh2aEN yGxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OKxVZN+E; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t8si1082355pgo.118.2018.03.09.10.46.19; Fri, 09 Mar 2018 10:46:34 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=OKxVZN+E; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932660AbeCISnw (ORCPT + 99 others); Fri, 9 Mar 2018 13:43:52 -0500 Received: from mail-yw0-f194.google.com ([209.85.161.194]:38008 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932195AbeCISnu (ORCPT ); Fri, 9 Mar 2018 13:43:50 -0500 Received: by mail-yw0-f194.google.com with SMTP id b70so1505401ywh.5; Fri, 09 Mar 2018 10:43:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RGPTknpJF8CNz2BI2AGB4z/Fw1Y4rMemLlpDjOacG8E=; b=OKxVZN+Ezi+Y5KYS4P6sJWuCKDxwftSzNAvRL0vSVd2yGwm34nM8ObCeQ/U9NclGxO cHkRSWUAlMzQ4IjYnKbxSpJq3T/19Daab4stLP2cMdt8TfqtHe8hBpy02njl7353/BQV IPqyDEDocpJQIt1NfAldV75FSMen/aRxnyG5i8BCtMGQGYfVGHIwHCwl4CWHlc/i3mzQ VFR2g1+G59FBajZJ/9/NDVLQ9Km/rUOh03lSZQOeR1hX71GKO5sv/URUeeTBzInIiNYM v95NhokjgHQnkjFOhvKj5qARlXOUS5YcksEFW6UJ39HxYHW7Ug4QD27Vn7vv6srcaiSP UbWg== 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; bh=RGPTknpJF8CNz2BI2AGB4z/Fw1Y4rMemLlpDjOacG8E=; b=jK0st1haD1jlk0gasGXppof4RLZ7GFlzeehwfB3dQ6sn2l8rODVYmj+HjhKnfbjZI1 RY1gOL1zZs5xCKzjKlMHolEhZX069DtfoWrhOcaD3NK3VYKbM/+ZgiB/Snudk8r8LoNA VpXFJ8nYaA4ennYe4TARe2OTNokXxMMovBIiGRcbHKLyqfrPfCiGADhfMNHO0ScI9Uox rI+1nffFVm0Zk8rXhn5xBK9nrmJGZZ5UmddqQ72WBUouYO52u2Rbf+6XxTGRadee9+K+ 0ETjAWJVNELwqt/z1h2y5AwIAJQr4++Xr6vbZXLLCU4pKFITy1pEQgWfMOCrrstBocct 47Iw== X-Gm-Message-State: AElRT7FfANhPc0XKGu1fuLwGB57Xq/i0J2Hfrbqxd7Lyv94Y6pE0NhOK /kU0mFNaNTtuNr7nG9kCsW8= X-Received: by 2002:a25:aca2:: with SMTP id x34-v6mr19637889ybi.355.1520621030220; Fri, 09 Mar 2018 10:43:50 -0800 (PST) Received: from localhost ([72.188.97.40]) by smtp.gmail.com with ESMTPSA id d202sm556442ywb.42.2018.03.09.10.43.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 10:43:49 -0800 (PST) From: William Breathitt Gray To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Cc: benjamin.gaignard@st.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, William Breathitt Gray Subject: [PATCH v5 7/8] counter: stm32-timer-cnt: Add sysfs documentation Date: Fri, 9 Mar 2018 13:43:44 -0500 Message-Id: X-Mailer: git-send-email 2.16.2 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Benjamin Gaignard In addition of the generic sysfs-bus-counter ABI stm32-timer-cnt offerts three functionality: - enable the counter - set preset value - allow to read counter direction Signed-off-by: Benjamin Gaignard Signed-off-by: William Breathitt Gray --- .../ABI/testing/sysfs-bus-counter-stm32-timer-cnt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-counter-stm32-timer-cnt diff --git a/Documentation/ABI/testing/sysfs-bus-counter-stm32-timer-cnt b/Documentation/ABI/testing/sysfs-bus-counter-stm32-timer-cnt new file mode 100644 index 000000000000..73328e8e6d7e --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-counter-stm32-timer-cnt @@ -0,0 +1,21 @@ +What: /sys/bus/counter/devices/counterX/countY_direction +KernelVersion: 4.17 +Contact: linux-iio@vger.kernel.org +Description: + Read-only attribute that indicates the count direction of + Count Y. Two count directions are available: Forward and + Backward. + +What: /sys/bus/counter/devices/counterX/countY_enable +KernelVersion: 4.17 +Contact: linux-iio@vger.kernel.org +Description: + Whether channel Y inputs A and B are enabled. Valid attribute + values are boolean. + +What: /sys/bus/counter/devices/counterX/countY_preset +KernelVersion: 4.17 +Contact: linux-iio@vger.kernel.org +Description: + If the counter device supports preset registers, the preset + count for channel Y is provided by this attribute. -- 2.16.2