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=-8.2 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_MUTT 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 3BAE9C43381 for ; Thu, 7 Mar 2019 11:41:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D62632081B for ; Thu, 7 Mar 2019 11:41:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oICJG8KW"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iOs8WaPp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D62632081B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=86O0hLUzJse0IZoJv3J5FP6i75ZDgOSZGHAXGziXFwQ=; b=oICJG8KWnH3kQJ L9aOZNBwDxxfurZ8l3bY4H3aSy65pQBeTpqRxYf8578kBE/WROFjyA30vP1ssIm6gCNhGQwBBIX9y 60155V6z8jQM0/NCsY0q0vGKPjGBDVmjr9mN0btBma5rbDW/mVLLaDhdyzuxbL3RuvIZfQxIdXhHf 2CkxahiWglWxIt7AJ7+7dN1K17PAez1zo8FpeY+J+LbkFYjDQN+YYYeEEteeN++i9eadf2CQ/4dsf gnQm7Ji7UDFv9gDHPbVGJe94/ZOLXUQHETsymaBRrbnFCOGJNh/wjpRTbNgir101iiDZRRF+w8cnn acuchiIUA8+ZOZHq85aw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1rOx-0006A2-Sz; Thu, 07 Mar 2019 11:41:27 +0000 Received: from mail-it1-x142.google.com ([2607:f8b0:4864:20::142]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1rOv-00069h-4X for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2019 11:41:26 +0000 Received: by mail-it1-x142.google.com with SMTP id w18so14731074itj.4 for ; Thu, 07 Mar 2019 03:41:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=yt4ImMd4UiUr9L+1JpyytFPDRP99tjCCtRs13V82BNc=; b=iOs8WaPpeTxhn8OW4awB1rHzd2LfUVEuX991FKpaviDo+1uslE1DK6qMXjIkbC6n5c 1nU5ugBWIAnyXQGUnzYLkOMTZepz0hfHQQMJ4AoT5RT6vVMt1vfquB7tniwsCdLSBKXO FEoyqx7936ZjUHBH5c0mHi/o+BqimlrU8hbpwZfWAuakXbl+Fz9avxdKslm51AfWLYLJ M5auj9nLpzZvQdtNsuSPbQobHEhlb37rc4V98RoAHNPNt7ZoM5RDQ+yXJwUPop+BLTGe K29IU0e19u7JDYJ9rLc+R+yUioECknV/V/JRXcn7B0f/JFcn7L49J6isLDd6WY+muTYG IDMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yt4ImMd4UiUr9L+1JpyytFPDRP99tjCCtRs13V82BNc=; b=hE0K74ANiIUxgMD/bZGpm1PiQrGXcnKTL7g7KPHI/dtHPBqgNn9RX1jg18tw5u5sYk yXtOzLipMRRYxsE/YzbJJLeqvJJGEfg3vnJ8S0L8ppN/F6CkKZ8iSmDfBo901L4UxyZE tyyKUjuq/INA0bBG8j6Wi+Ee6A4cMtUZZ9bKdd+MUHoaYE7nhJppCSILnhBZNv94g5NU DH2snUzNzN7LkZtfLAHVeWQLqlI4clHxootTMWAk47xZJAnYlWt3tVr8nrUuDQgPKfhU SQGqO+HFcHufxis3fBc52qEL7EmwlDZzrJL6UJ7AwurJ8LGjYFs5GqFvVtquinkfphTS 4zQA== X-Gm-Message-State: APjAAAUbTGKmS3xwoq5vPSx7YaaMzaDZOmn9XQLTuJ+G+v/j12Owuqwz Dngagig82FAZqN9CQkopEr4= X-Google-Smtp-Source: APXvYqw+Yg5zPLnreoTZdp/pQrUgsZapB0fDJBYFqQ5oqvasP/UiCmmfN/lxAKmQXwyfsajuUFui5w== X-Received: by 2002:a02:308:: with SMTP id y8mr7405988jad.142.1551958884079; Thu, 07 Mar 2019 03:41:24 -0800 (PST) Received: from icarus ([2001:268:c0a4:120d:c70:4af9:86e2:2]) by smtp.gmail.com with ESMTPSA id x84sm2241979ita.32.2019.03.07.03.41.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 03:41:23 -0800 (PST) Date: Thu, 7 Mar 2019 20:42:16 +0900 From: William Breathitt Gray To: Patrick Havelange Subject: Re: [PATCH v2 6/7] counter: ftm-quaddec: Documentation: Add specific counter sysfs documentation Message-ID: <20190307114216.GB7851@icarus> References: <20190306111208.7454-1-patrick.havelange@essensium.com> <20190306111208.7454-7-patrick.havelange@essensium.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190306111208.7454-7-patrick.havelange@essensium.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190307_034125_204443_200B0001 X-CRM114-Status: GOOD ( 18.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Jonathan Cameron , linux-pwm@vger.kernel.org, linux-iio@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Daniel Lezcano , linux-kernel@vger.kernel.org, Li Yang , Rob Herring , Thierry Reding , linux-arm-kernel@lists.infradead.org, Thomas Gleixner , Shawn Guo , Esben Haabendal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Mar 06, 2019 at 12:12:07PM +0100, Patrick Havelange wrote: > This adds documentation for the specific prescaler entry. > > Signed-off-by: Patrick Havelange > --- > Changes v2 > - Add doc for prescaler entry > --- > .../ABI/testing/sysfs-bus-counter-ftm-quaddec | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-bus-counter-ftm-quaddec > > diff --git a/Documentation/ABI/testing/sysfs-bus-counter-ftm-quaddec b/Documentation/ABI/testing/sysfs-bus-counter-ftm-quaddec > new file mode 100644 > index 000000000000..2da629d6d485 > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-bus-counter-ftm-quaddec > @@ -0,0 +1,16 @@ > +What: /sys/bus/counter/devices/counterX/countY/prescaler_available > +KernelVersion: 5.1 > +Contact: linux-iio@vger.kernel.org > +Description: > + Discrete set of available values for the respective Count Y > + configuration are listed in this file. Values are delimited by > + newline characters. > + > +What: /sys/bus/counter/devices/counterX/countY/prescaler > +KernelVersion: 5.1 > +Contact: linux-iio@vger.kernel.org > +Description: > + Configure the prescaler value associated with Count Y. > + On the FlexTimer, the counter clock source passes through a > + prescaler that is a 7-bit counter. This acts like a clock > + divider. > -- > 2.19.1 Hmm, prescalers seem common enough among counter devices to permit these attributes to be listed in the sysfs-bus-counter documentation file. However, I'd like to wait until we get another counter driver for a device with a prescaler before we make that move. From there, we'll have a better vantage point to determine a fitting standard prescaler attribute behavior. So for now, we'll keep these attributes documented here in the sysfs-bus-counter-ftm-quaddec file, until the time comes to broach the discussion again. William Breathitt Gray _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel