From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751349AbbCTTuX (ORCPT ); Fri, 20 Mar 2015 15:50:23 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:33562 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750994AbbCTTuW (ORCPT ); Fri, 20 Mar 2015 15:50:22 -0400 Date: Fri, 20 Mar 2015 20:50:19 +0100 From: Pavel Machek To: "Dr. H. Nikolaus Schaller" Cc: NeilBrown , List for communicating with real GTA04 owners , Mark Rutland , One Thousand Gnomes , Peter Hurley , Arnd Bergmann , Greg Kroah-Hartman , Sebastian Reichel , 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: <20150320195019.GC28194@amd> References: <20150318055437.21025.13990.stgit@notabene.brown> <20150318055831.21025.33670.stgit@notabene.brown> <20150320195451.146a7915@notabene.brown> <14FB51CF-9568-4BF4-B917-2C019D992FDB@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <14FB51CF-9568-4BF4-B917-2C019D992FDB@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! > >> > >> Wouldn’t it be easier to simply write > >> > >> &uart1 { > >> vdd-suppy = <&vaux4>; > >> } > > > > Easier to write: certainly. > > Easier to justify? No. > > I just justified. > > > Easier to get merged upstream? Definitely not. > > Are you the maintainer? And you? I believe Neil is right here, and this kind of shortcut can not be taken. > > After all, the uart itself doesn't require a power supply. > > It is the device connected to the uart which requires the power supply. > > Yes. There's UART, long rs/232 cable, and a GPS. UART needs some kind of power supply, to present voltages on the rs/232 cable. GPS needs some kind of power supply to work. They are different power supplies, and we should have way to tell them apart. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html