Re: [PATCH 6/9] dt/bindings: Add a serial/UART attached device binding

From: Rob Herring
Date: Fri Jan 06 2017 - 15:42:25 EST


On Fri, Jan 6, 2017 at 1:21 PM, Arnd Bergmann <arnd@xxxxxxxx> 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