Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3523799ybi; Tue, 18 Jun 2019 02:08:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbghfV6hQ+Zu434j82D7RWq8/rQZuBAKcdRYuS6jysW8tUBLxs8TCuUERB9zvbwlRRZR/3 X-Received: by 2002:a65:620a:: with SMTP id d10mr1701380pgv.42.1560848926415; Tue, 18 Jun 2019 02:08:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560848926; cv=none; d=google.com; s=arc-20160816; b=W6VkCHd4Oa6Bsd/IZcpG+O0nS+jWiaN07Bw3z5r68P0irtUHglrwelqbcLSFa2ze3J 223MKi1aL95Pm8w4ec8hG/WunxsWrgt6mdTYHqbq/QWLwom9WCaYaGwhJ6UIZsiOJgTg kE6EN4bEIFBGoSQ+MZu/O9NtsUaWm37IWA+toCGvnMmPFYvD/ocXKyPV7QACR+Gp2Y2k NiaeXr6YlTLl9L5d5Xpb9HUJzl4tiaron7SNumCNJ9Pf1v2YDhFNfRUigZp1I2VUQq9Q fkiW52uHUWZGA0UtT5jugliMsS8ECrTAsbExaKT1s5AqpKLXbe2ea7NY6+Uif69KahHM hkGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from; bh=4j2OrNHj7+hB5HLgFvyo3rvCK8/TbsmXNmpzlWA9FG0=; b=KfuD9K4PgwQ/qZFTZ1RTLp2BU9ze2cxWm569sU1DT4saZBdMae3r8x+SV4uptVXiTw vzXKA94a95znOn79PrxqT5beUeClw0G9uGep8d3ZWqhGpIdEveKrVsWYckWi4xK1KnaT +zOUMqVfdnFeHG+hPFQphB6hqLGH9bTlSKIUZ9pkMhPq/UfLQX/200wKa/VlyiH9qrS5 szJuyJ1xZwGL76YMKCu+DXX2PxUE6MnIo9o/VirLidPRrneXMrwazgZ446Rs+qha5iRt t5x6aM3/oVU8U8ga4g1dZmsAm8p6/FDQHucOUfZx+Ums+GHwWc9QfukhMWzVp2uVPXRY fURw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si4952926pld.334.2019.06.18.02.08.30; Tue, 18 Jun 2019 02:08:46 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729386AbfFRJHg (ORCPT + 99 others); Tue, 18 Jun 2019 05:07:36 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60054 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728965AbfFRJHe (ORCPT ); Tue, 18 Jun 2019 05:07:34 -0400 Received: from laptop.home (unknown [IPv6:2a01:cb19:8ad6:900:42dd:dd1c:19ee:7c60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: aragua) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 06A64260A33; Tue, 18 Jun 2019 10:07:32 +0100 (BST) From: Fabien Lahoudere Cc: kernel@collabora.com, Fabien Lahoudere , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 8/8] docs: iio: add precision about sampling_frequency_available Date: Tue, 18 Jun 2019 11:06:39 +0200 Message-Id: <0c5b7e1f7996e8c1c5f6787cbb9fb58986be1f17.1560848479.git.fabien.lahoudere@collabora.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The documentation give some exemple on what format can be expected from sampling_frequency_available sysfs attribute Signed-off-by: Fabien Lahoudere --- Documentation/ABI/testing/sysfs-bus-iio | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index 6aef7dbbde44..680451695422 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -61,8 +61,11 @@ What: /sys/bus/iio/devices/triggerX/sampling_frequency_available KernelVersion: 2.6.35 Contact: linux-iio@vger.kernel.org Description: - When the internal sampling clock can only take a small - discrete set of values, this file lists those available. + When the internal sampling clock can only take a specific set of + frequencies, we can specify the available values with: + - a small discrete set of values like "0 2 4 6 8" + - a range with minimum, step and maximum frequencies like + "[min step max]" What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio KernelVersion: 2.6.38 -- 2.20.1