From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752602AbbDDHwr (ORCPT ); Sat, 4 Apr 2015 03:52:47 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:57248 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752189AbbDDHwn (ORCPT ); Sat, 4 Apr 2015 03:52:43 -0400 Date: Sat, 4 Apr 2015 09:52:41 +0200 From: Pavel Machek 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@vger.kernel.org, lkml Subject: Re: [Gta04-owner] [PATCH 3/3] tty/slaves: add a driver to power on/off UART attached devices. 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 Content-Disposition: inline In-Reply-To: <365B2C25-1782-4ADE-B620-190A4CC5E8E3@goldelico.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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