From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760768AbdAFUmV (ORCPT ); Fri, 6 Jan 2017 15:42:21 -0500 Received: from mail.kernel.org ([198.145.29.136]:45182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760715AbdAFUmH (ORCPT ); Fri, 6 Jan 2017 15:42:07 -0500 MIME-Version: 1.0 In-Reply-To: <3363597.IVJfReRkL0@wuerfel> References: <20170106162635.19677-1-robh@kernel.org> <20170106162635.19677-7-robh@kernel.org> <3363597.IVJfReRkL0@wuerfel> From: Rob Herring Date: Fri, 6 Jan 2017 14:41:42 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 6/9] dt/bindings: Add a serial/UART attached device binding To: Arnd Bergmann Cc: Greg Kroah-Hartman , Marcel Holtmann , Jiri Slaby , Sebastian Reichel , "Dr . H . Nikolaus Schaller" , Peter Hurley , Andy Shevchenko , Alan Cox , Loic Poulain , Pavel Machek , NeilBrown , Linus Walleij , "open list:BLUETOOTH DRIVERS" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Mark Rutland , "devicetree@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 6, 2017 at 1:21 PM, Arnd Bergmann wrote: > On Friday, January 6, 2017 10:26:32 AM CET Rob Herring wrote: >> +Optional Properties: >> + >> +- reg : A single cell representing the port/line number of the >> + host UART. Only used if the host UART is a single node >> + with multiple ports. >> + > > If there is a 'reg' property in the child, I guess we should also > document a #address-cells/#size-cells value for the parent. > > Can you give an example of a multi-port serial device we support? A 16550 DUART chip. Not sure if we have any bindings for one though. Maybe the chip would be the parent node containing 2 child ns16550 nodes. > I was expecting that we already need a device node per port anyway, > to make the console work. Yes, good point. I think I'll just drop it for now. Rob