Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp351576imm; Mon, 2 Jul 2018 12:43:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJv3HGOL/5+D0Nw/0Oy5cVs+pf5lBbkpB5WaBR3VbwR+aUHDa/QtDWLKOWuXL4dYgCatRAF X-Received: by 2002:a17:902:6b4c:: with SMTP id g12-v6mr26947694plt.159.1530560590832; Mon, 02 Jul 2018 12:43:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530560590; cv=none; d=google.com; s=arc-20160816; b=mpFqf4UbVM+pMbYWDpaNKt+Jz4ESm+DMcd1VjQOzTZyC4oMdWQi7nw1JCgrF0aeq8s 7cbVIbE8+i1K59gOz/j80aRHD83iT2Gqd/0cDhFL08mpn49wqRw5ytr3xAEXsFGdaWcm O3WW2pn9d8nRfPVtrU+TYoMspVVoR8SmVagPqEjVDN2NQ2zols32VmL+/eeCR9dZzFQz XZX4LiF2c96fqoczcI0r0aHaJIBC95h+7wrkuWh3o9yICnTb4CYXxaWoNPww/FfJc3vc E4DKdFmVG3eV/qWi3/UJgT4reS3WC9tMtk6IA3DJWXJCTwyg18So3H9kwHQOSRm7ON7/ zlcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=7u7bhY51EtVPKF6NfDSfWLq/6WUV1xPbat1x8G6xD1o=; b=VCZiXW2WCPjmuz9pT45oEM/gFWiQmr3AMX8w1LJeioLCCfI8SDbreGYcsgi3jImJlG ymCssq8eYxFMzjljoYViS0loiyIIDbtkWw+b/8lQ7gQmpLavU7IT5cgrGBjI68vyOvSO JnFZhtaKPsYzXa7W8jPjF53W1b0W9dZu/e5gt1ukN7A2tUG1ykjKxr0MT07vP6DjvFfB /GUr0ji7WRosmjiTaHbKiVtYwrfPUCJA5PY9dVN/ppPlfLeIk8ocxKmNnOMkQQtKg8oL DWa2PU2nqijiWp49kLRR8116aUjeeds/cLHozhRi2QF6q4fgekeV45tzlGgNRv7hJqs4 TMzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=y+TmofbM; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4-v6si18077739pfk.361.2018.07.02.12.42.56; Mon, 02 Jul 2018 12:43:10 -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=fail header.i=@lechnology.com header.s=default header.b=y+TmofbM; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752833AbeGBTmN (ORCPT + 99 others); Mon, 2 Jul 2018 15:42:13 -0400 Received: from vern.gendns.com ([206.190.152.46]:47271 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752458AbeGBTmK (ORCPT ); Mon, 2 Jul 2018 15:42:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7u7bhY51EtVPKF6NfDSfWLq/6WUV1xPbat1x8G6xD1o=; b=y+TmofbMscJpfSKVIT6WRkHRxE 9VyoGJDt/eIRzmeX+Nygn6+OZWdPJtejmwwvgky3EUyFBQlptnyKFlHiyiaDHMAl+7YyXtaTbQYYt m7BOS9qfaNU+XWSspNRhWRGJRspFJr19AmAYTZ7Z0NhFCk6bfLtnRkcNKRdFYPTY0HonxmUzl4kBy ostCS5OUl2jt9EQ0RBbyB6OLn6Ffz5R+fmdMraY54n5CAvpDUXOKIpeEtBBXiyfnJTAheXSipCP4U 72AU07gjmLkjuTh26+OMcxLvgyq+PZ/o8WRMmMg2fnEs0wAt9dVo52fhVwHzyZP8r8MMGWsCuPnqy FWExEkdg==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:36592 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1fa4i8-00Dv9h-Fa; Mon, 02 Jul 2018 15:42:08 -0400 Subject: Re: [v7,03/10] docs: Add Generic Counter interface documentation To: William Breathitt Gray , gregkh@linuxfoundation.org Cc: 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 References: <7606bdc53c26c332b2bbff0f865380fb0e874b56.1529607879.git.vilhelm.gray@gmail.com> From: David Lechner Message-ID: Date: Mon, 2 Jul 2018 14:42:06 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <7606bdc53c26c332b2bbff0f865380fb0e874b56.1529607879.git.vilhelm.gray@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.