From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE639C43613 for ; Sat, 22 Jun 2019 10:21:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AF3F7206B7 for ; Sat, 22 Jun 2019 10:21:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561198880; bh=/paa7kvaPmOyIrjhNNZO/7HFK/SfqGzkYzeDRlWqYOE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=FCgk1Hdl6s33UBJrhmNGLuwhEIhccIHwG+/EeAfKhDHvmBZZaG5p3Nuviqetlwaq4 U576JVOzayMENv1NMLpmtdwCbrlhgClZEhWMd7kNGFiQBTU0HJIZrdymOqZlouL1/B 4bwu0isTLk4ZmZmuF77ZgojNG5X0YsJsKiaPkxrQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726121AbfFVKVU (ORCPT ); Sat, 22 Jun 2019 06:21:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:42716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726112AbfFVKVU (ORCPT ); Sat, 22 Jun 2019 06:21:20 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AAF6920665; Sat, 22 Jun 2019 10:21:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561198879; bh=/paa7kvaPmOyIrjhNNZO/7HFK/SfqGzkYzeDRlWqYOE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Hd/tm98DmDXjjyGHJoHemXX/phFy5c5kjBDmdoQsZjNtdhXJFgv0a/Y39BdJAVrPy aAcX1/6CrlVE0sKDgg7ZDyN82IcrKklKvCQjvDUXCX6G/1igjyE2Fc35qEsm0U5gbf Pe7S/rsL8WMLE4nY9j6uew6h98D2VCWV0r/NBLRg= Date: Sat, 22 Jun 2019 11:21:14 +0100 From: Jonathan Cameron To: Fabien Lahoudere Cc: kernel@collabora.com, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 8/8] docs: iio: add precision about sampling_frequency_available Message-ID: <20190622112114.78a58440@archlinux> In-Reply-To: <0c5b7e1f7996e8c1c5f6787cbb9fb58986be1f17.1560848479.git.fabien.lahoudere@collabora.com> References: <0c5b7e1f7996e8c1c5f6787cbb9fb58986be1f17.1560848479.git.fabien.lahoudere@collabora.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Tue, 18 Jun 2019 11:06:39 +0200 Fabien Lahoudere wrote: > The documentation give some exemple on what format can be expected > from sampling_frequency_available sysfs attribute > > Signed-off-by: Fabien Lahoudere It seems I already applied this one, though probably haven't sent a pull request for it to Greg yet. Please drop it from your v4 posting as otherwise I'll get confused (again). Thanks, Jonathan > --- > 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