[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6829927.BRrJSMeG05@wuerfel>
Date: Fri, 16 Oct 2015 21:05:11 +0200
From: Arnd Bergmann <arnd@...db.de>
To: "H. Nikolaus Schaller" <hns@...delico.com>
Cc: Jiri Slaby <jslaby@...e.cz>, Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Jonathan Corbet <corbet@....net>,
Sergei Zviagintsev <sergei@...v.net>,
Peter Hurley <peter@...leysoftware.com>,
One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>,
Sebastian Reichel <sre@...nel.org>,
NeilBrown <neil@...wn.name>,
Grant Likely <grant.likely@...aro.org>,
LKML <linux-kernel@...r.kernel.org>,
linux-serial@...r.kernel.org, Marek Belisko <marek@...delico.com>,
devicetree@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH v3 1/3] tty: serial core: provide a method to search uart by phandle
On Friday 16 October 2015 20:08:33 H. Nikolaus Schaller wrote:
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/serial/slaves.txt
> @@ -0,0 +1,16 @@
> +Device-Tree bindings for UART slave devices
> +
> +A node describing a slave device defines a phandle to reference the UART
> +the device is connected to. In the (unexpected) case of two or more UARTs
> +a list of phandles can be specified.
> +
> +properties:
> + - uart: (list of) phandle(s) of UART(s) the device is connected to
> +
> +
> +example:
> +
> + gps {
> + compatible = "wi2wi,w2sg0004";
> + uart = <&uart1>;
> + };
>
I would have expected the gps device here to be a child node of the
uart in DT. Can you explain why you chose differently?
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists