Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1509978ybm; Thu, 23 May 2019 02:12:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6FZBl8510IGAsh8ufTGc0ov3lH/HAYSkkQikJOjE6wvrdPVpcnmURi7b6ACYGEL8a1c7x X-Received: by 2002:a17:90a:2561:: with SMTP id j88mr275257pje.121.1558602728295; Thu, 23 May 2019 02:12:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558602728; cv=none; d=google.com; s=arc-20160816; b=sI5Wue6F8Sn9viIbXT427yzZfS2Kd8DoysC34iRgk4ytZCM0/i54Zr6q19KLBUZjH0 v6PXRipcEDrxf7OhheOXkB3Mxdu/YDAAGAhXm4r8CvQeF8/gvyV4QT8OABGfVSEhGtvp ROUkS6ma7iis+V3wjJQgN6+YYiiKm6M+Tu+rHXDROzUvGEfujA3TUV+j4NoIIqPVkObU bSLvmzifemA7HHxGDytprq0TtfdiQ2zmB77IUJWRtFjM7APzONUm/YNsu2YGclyeIG57 UqASq71rJ6oH/X8oaS+YFhsjH+htLwWIltKSAA5w8bvHupHktj+7L/zUmetFMppt8D6j Tblw== 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=e48LSDq6/FxilR8lBLkjIwail5LWOQHGendcTxH2p0aXcYVrHfCMntEMSuKzXNDjIy m9zU+5+ZQ8emW47xdrBK9b7QOff9GFV6FVdxye4bHHE/IAcwYzfHbPIHDDMmT0GYK9gQ /z9YzP1/nykXerLT/r82jn1aCvtItJxLnqk31Rlb5w7OdH3NEhxPGaVcN4eb3TYzWhlv kKL8RfnCjcHaTmtg6CsBV3H3YWkwxZPr8O3Mc57JJtkd+3iyokXMPgMG/YtCcsGStSo1 uzTnfw6H+W7+OzS4YyeGa6JBUnvKbXK+XG/ks6sR1zHx/T6l9XyTKfqY9KjqKRQmoczQ F9lw== 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 h186si27022853pge.184.2019.05.23.02.11.53; Thu, 23 May 2019 02:12:08 -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 S1730373AbfEWJI0 (ORCPT + 99 others); Thu, 23 May 2019 05:08:26 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:34608 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726429AbfEWJI0 (ORCPT ); Thu, 23 May 2019 05:08:26 -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 B74EC280175; Thu, 23 May 2019 10:08:24 +0100 (BST) From: Fabien Lahoudere Cc: kernel@collabora.com, Fabien Lahoudere , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Benson Leung , Enric Balletbo i Serra , Guenter Roeck , Lee Jones , Gwendal Grignou , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] docs: iio: add precision about sampling_frequency_available Date: Thu, 23 May 2019 11:07:37 +0200 Message-Id: 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