Messages in this thread | | | From | Rob Herring <> | Date | Fri, 6 Jan 2017 14:41:42 -0600 | Subject | Re: [PATCH 6/9] dt/bindings: Add a serial/UART attached device binding |
| |
On Fri, Jan 6, 2017 at 1:21 PM, Arnd Bergmann <arnd@arndb.de> 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
| |