Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754015Ab3ISMwk (ORCPT ); Thu, 19 Sep 2013 08:52:40 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:43723 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752716Ab3ISMwj (ORCPT ); Thu, 19 Sep 2013 08:52:39 -0400 Date: Thu, 19 Sep 2013 14:52:37 +0200 From: Pavel Machek To: Michal Simek , Greg KH Cc: Alan Tull , Jason Gunthorpe , Jason Cooper , Michal Simek , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Dinh Nguyen , Philip Balister , Alessandro Rubini , Mauro Carvalho Chehab , Andrew Morton , Cesar Eduardo Barros , Joe Perches , "David S. Miller" , Stephen Warren , Arnd Bergmann , David Brown , Dom Cobley Subject: /sys rules Re: [RFC PATCH] fpga: Introduce new fpga subsystem Message-ID: <20130919125237.GA7125@amd.pavel.ucw.cz> References: <20130918191517.GQ19937@titan.lakedaemon.net> <20130918203247.GA11181@obsidianresearch.com> <1379539063.31417.23.camel@atx-linux-37> <523AD814.1060406@monstr.eu> <20130919111719.GA26246@amd.pavel.ucw.cz> <523ADE58.2070103@monstr.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <523ADE58.2070103@monstr.eu> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1331 Lines: 42 On Thu 2013-09-19 13:22:00, Michal Simek wrote: > On 09/19/2013 01:17 PM, Pavel Machek wrote: > >> Status is just there and for my zynq devcfg driver I do export some status > >> bits. > >> > >> root@petalinux:~# cat /sys/class/fpga/fpga0/status > >> partial_bitstream_status: 0 > >> prog_done_status: 1 > >> dbg_lock_status: 0 > >> seu_lock_status: 0 > >> aes_en_lock_status: 0 > >> aes_status: 0 > >> seu_status: 0 > >> spniden_status: 1 > >> spiden_status: 1 > >> niden_status: 1 > >> dbgen_status: 1 > >> dap_en_status: 7 > > > > This is single file? If so, it needs to be changed. Greg is rather > > clear about that. > > Don't you have a link to these rules? I have seen any paragraph from Greg > about it but I forget where was it. "one value per file" and "there must be documentation in Documentation/ for each file" are the rules, iirc. There's Documentation/sysfs-rules.txt, but it does not seem too relevant. Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/