From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Wed, 22 Feb 2012 20:55:27 +0000 Subject: [PATCH 3/3] arm: kirkwood: convert uart0 to devicetree. In-Reply-To: <0ad28cac6d608253b01e1d57bb479a29754ae823.1329936660.git.jason@lakedaemon.net> References: <0ad28cac6d608253b01e1d57bb479a29754ae823.1329936660.git.jason@lakedaemon.net> Message-ID: <201202222055.27698.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wednesday 22 February 2012, Jason Cooper wrote: > This uart is common to all kirkwood SoC's, so I placed it in the > kirkwood.dtsi. > > Signed-off-by: Jason Cooper I'm not sure how we are handling this for other platforms, but my feeling is that the serial port information should be in the board specific dts file, because there are multiple serial ports on the chips and individual boards may only provide one of them. Alternatively, you could list all serial ports in the dts file and use the linux,stdout-path "chosen" property to tell the kernel which one to use. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 3/3] arm: kirkwood: convert uart0 to devicetree. Date: Wed, 22 Feb 2012 20:55:27 +0000 Message-ID: <201202222055.27698.arnd@arndb.de> References: <0ad28cac6d608253b01e1d57bb479a29754ae823.1329936660.git.jason@lakedaemon.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <0ad28cac6d608253b01e1d57bb479a29754ae823.1329936660.git.jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Jason Cooper Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org On Wednesday 22 February 2012, Jason Cooper wrote: > This uart is common to all kirkwood SoC's, so I placed it in the > kirkwood.dtsi. > > Signed-off-by: Jason Cooper I'm not sure how we are handling this for other platforms, but my feeling is that the serial port information should be in the board specific dts file, because there are multiple serial ports on the chips and individual boards may only provide one of them. Alternatively, you could list all serial ports in the dts file and use the linux,stdout-path "chosen" property to tell the kernel which one to use. Arnd