Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1210507imm; Tue, 3 Jul 2018 07:23:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe+tiMl5Pel31dzSDgB0WA7zFfhLHDC4VkSG8e8xcgIli5iuEyadieEQDcimXB+XfdO4IAG X-Received: by 2002:a62:5290:: with SMTP id g138-v6mr4357370pfb.46.1530627784093; Tue, 03 Jul 2018 07:23:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530627784; cv=none; d=google.com; s=arc-20160816; b=fqjuzkfI7UGwG/lq2PGu+/riRmkzmI7O2Tne23R7i9vjrdPHXgKMTS7wx5bqDpYq3f PxjPhz8vl5ECu7b7ymxNBrLFuR1owH5/L8rM7ZKJp0QjsFfYlGI0Rln9t8vvKSFQBNpD Ib5wMStqKzQeq3jnDGkqQWMS6H/leGiHH+gPXyu+LmHiI7gCPzlUT1qRJbo1x2+91f3b WJ94cLk01ZgsThqII1hw4pHoCpsoc9L8U/ecobrFyotHJ6rvH+lPAYVGkAaqxay42+un YFNIdzXjci0I99fYZZbvU1yKtQTlKWkMIBUE9AMOpqr3Ovoqg4QBi7HPYTEzBGOFjSqY W7LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=ZZbFLtSFkfocKWFek6Rh8AEgrnU3XsGPOnkv9VkbtZw=; b=E5p5ODIwxLIzZH+magUzhbJvviCSW9754Juhh6D3EmEavesBEKiu0yGa3PYAjMzSnW NzWc8U4OMqzKHrIG98uzEKNWsejh58SvuBpi5yYmvZTrVKlGMc8AKwuBPyx9FdAAyKo6 MqDnz8MaBUWehx1t1MWSbsnUyhFkeN7+CydQts0hJ/DrOAZaq8wPo1im5nF57CxDdZzI 7pxV5D2wfo7aFF5XhVP/YLAbPmgDO7j21L34VeqfApXyBMGpz9fvpFthzoYjCAAlGXwT ZIjQv0nztcq+9MgpKLoXqKJCueAViDkCrQ6nPdK2mZdiu+niZ6RJE9SxST+NJ2EdCHkS UKEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eTmPVz6E; 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 o10-v6si1242923pfo.236.2018.07.03.07.22.48; Tue, 03 Jul 2018 07:23:04 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eTmPVz6E; 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 S932273AbeGCOV7 (ORCPT + 99 others); Tue, 3 Jul 2018 10:21:59 -0400 Received: from mail-yb0-f196.google.com ([209.85.213.196]:35608 "EHLO mail-yb0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753467AbeGCOV5 (ORCPT ); Tue, 3 Jul 2018 10:21:57 -0400 Received: by mail-yb0-f196.google.com with SMTP id x15-v6so790313ybm.2; Tue, 03 Jul 2018 07:21:56 -0700 (PDT) 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=ZZbFLtSFkfocKWFek6Rh8AEgrnU3XsGPOnkv9VkbtZw=; b=eTmPVz6EQWDYoKYif3NLqxPJ6U8DAFGrUg0u0Ag86cpCr5U/wQj6BrbeTUtMp9Te7H EYInGzveGDwetoKR0XXQu8vCAJNXrRVKOIfCdJeayYAuxGyBZUi4hlIT/OQrPZl7tXg4 B4EaOepi/UqCamfDjQaVuRb8Tijcn9q4nHEzj5grZvzvU4/igyYlz5OlVby0PIuk7KKa oRZuX9N1P7WedruHp38+OMv2LH2P1oHA9pyd1BVQP55dUEbIO7XZ8fKcVJs7y6EsaPDT lx1UrYQV1ueSB1Y/8AUzXL9B4nkGoMcYumxL+Vzap7rr93B9X+iDiBJphURMOfoBJQyR AqQw== 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=ZZbFLtSFkfocKWFek6Rh8AEgrnU3XsGPOnkv9VkbtZw=; b=To+DHwM7ZBK2+NiTdSdwchjuK1nMANOTC/I8SkFvIU6nVBRIg49IY0oX99t9GL4d/x D71tgVm/yQrzfBqWAaCm6P2TjDsAswYJvVlH3h8td88hefMsdbXc0xuNJdYFxB2W86dc qdz0spcFcAGuU73zDv01wp/krUt5clxvQ1aC489vR8rqv7dHoOnEO1oxKDqjRUjENUGd 2GYqbAU+/agpoEfsSMjuawpedBD1VQLy8VDd0kZlHrt5bxsGPC7wR/PZg+/yYcUxQEqQ AiuTHviYd3ui3i5Ea8qEz2cKYDAPfwoEI+kEIHgHYHEN8hugtYznXE/buAnqmW2yRVoC H9ZQ== X-Gm-Message-State: APt69E3lvsHtcxEyEo7XzesS1S+1zivhJGs8ppW2obFteB21GyppfEEx E9p/0tNmaLaYaZEXYMDoixs= X-Received: by 2002:a25:a4c3:: with SMTP id g61-v6mr15640133ybi.302.1530627716272; Tue, 03 Jul 2018 07:21:56 -0700 (PDT) Received: from sophia ([72.188.97.40]) by smtp.gmail.com with ESMTPSA id q184-v6sm401183ywf.81.2018.07.03.07.21.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jul 2018 07:21:55 -0700 (PDT) Date: Tue, 3 Jul 2018 10:21:53 -0400 From: William Breathitt Gray To: David Lechner Cc: gregkh@linuxfoundation.org, jic23@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, fabrice.gasnier@st.com, benjamin.gaignard@st.com, robh+dt@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, mark.rutland@arm.com Subject: Re: [v7,03/10] docs: Add Generic Counter interface documentation Message-ID: <20180703142153.GC14958@sophia> References: <7606bdc53c26c332b2bbff0f865380fb0e874b56.1529607879.git.vilhelm.gray@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 02, 2018 at 02:42:06PM -0500, David Lechner wrote: >On 06/21/2018 04:07 PM, William Breathitt Gray wrote: >> +Userspace Interface >> +=================== >> + >> +Several sysfs attributes are generated by the Generic Counter interface, >> +and reside under the /sys/bus/counter/devices/counterX directory, where >> +counterX refers to the respective counter device. Please see >> +Documentation/ABI/testing/sys-bus-counter-generic-sysfs for detailed >> +information on each Generic Counter interface sysfs attribute. >> + >> +Through these sysfs attributes, programs and scripts may interact with >> +the Generic Counter paradigm Counts, Signals, and Synapses of respective >> +counter devices. > >I don't actually see any mention of the Synapses in the sysfs documentation. >But configfs my be better suited to configuring Synapses anyway, e.g. one >would symlink a Signal to a Counter to make the connection. I expect in a future patch to add a synapses directory to the count directories which will have symlinks to the respective associated signals. I've postponed this development for now to keep the introduction patchset simple, and also because the current users have little use for this feature at the moment, but it is indeed planned for the future. William Breathitt Gray