From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [Gta04-owner] [PATCH 3/3] tty/slaves: add a driver to power on/off UART attached devices. Date: Sat, 4 Apr 2015 09:52:41 +0200 Message-ID: <20150404075241.GC31064@amd> References: <20150320195451.146a7915@notabene.brown> <14FB51CF-9568-4BF4-B917-2C019D992FDB@goldelico.com> <20150321103122.23603014@notabene.brown> <20150325014543.GA967@earth> <6B657A35-68BD-45F6-BD55-A3D6AC1055C8@goldelico.com> <20150325205344.GD381@amd> <1F3B5E32-1330-457C-AE25-791319293C38@goldelico.com> <20150326055639.GA20912@amd> <365B2C25-1782-4ADE-B620-190A4CC5E8E3@goldelico.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <365B2C25-1782-4ADE-B620-190A4CC5E8E3-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Dr. H. Nikolaus Schaller" Cc: Sebastian Reichel , NeilBrown , List for communicating with real GTA04 owners , Mark Rutland , One Thousand Gnomes , Peter Hurley , Arnd Bergmann , Greg Kroah-Hartman , Grant Likely , Jiri Slaby , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, lkml List-Id: devicetree@vger.kernel.org Hi! > >> And if you want to hide uart1 from the user-space, that should be a property > >> of the uart1 node (whereever it is defined). > > > > Sorry? That would be one heck of layering violation. > > Which layering? Device tree is not operating system specific. It does not know what "user space" is, and can't assume we have uart nodes in /dev. Therefore it can't contain information that it should be hidden. 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 devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html