From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Hunter Subject: Re: [PATCH v2 2/8] dt-bindings: serial: Add bindings for nvidia,tegra194-tcu Date: Thu, 21 Jun 2018 09:05:45 +0100 Message-ID: <0e365f49-4188-608f-d3b2-54dbabe8282e@nvidia.com> References: <20180620122042.10950-1-mperttunen@nvidia.com> <20180620122042.10950-3-mperttunen@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180620122042.10950-3-mperttunen@nvidia.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Mikko Perttunen , robh+dt@kernel.org, mark.rutland@arm.com, jassisinghbrar@gmail.com, gregkh@linuxfoundation.org, thierry.reding@gmail.com Cc: devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org On 20/06/18 13:20, Mikko Perttunen wrote: > Add bindings for the Tegra Combined UART device used to talk to the > UART console on Tegra194 systems. > > Signed-off-by: Mikko Perttunen > Reviewed-by: Rob Herring > --- > > Notes: > v2: > - Added Rob's Reviewed-by. > > .../bindings/serial/nvidia,tegra194-tcu.txt | 35 ++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 Documentation/devicetree/bindings/serial/nvidia,tegra194-tcu.txt > > diff --git a/Documentation/devicetree/bindings/serial/nvidia,tegra194-tcu.txt b/Documentation/devicetree/bindings/serial/nvidia,tegra194-tcu.txt > new file mode 100644 > index 000000000000..a8becf6efd2a > --- /dev/null > +++ b/Documentation/devicetree/bindings/serial/nvidia,tegra194-tcu.txt > @@ -0,0 +1,35 @@ > +NVIDIA Tegra Combined UART (TCU) > + > +The TCU is a system for sharing a hardware UART instance among multiple > +systems within the Tegra SoC. It is implemented through a mailbox- > +based protocol where each "virtual UART" has a pair of mailboxes, one > +for transmitting and one for receiving, that is used to communicate > +with the hardware implementing the TCU. > + > +Required properties: > +- name : Should be tcu > +- compatible > + Array of strings > + One of: > + - "nvidia,tegra194-tcu" > +- mbox-names: > + "rx" - Mailbox for receiving data from hardware UART > + "tx" - Mailbox for transmitting data to hardware UART > +- mboxes: Mailboxes corresponding to the mbox-names. > + > +This node is a mailbox consumer. See the following files for details of > +the mailbox subsystem, and the specifiers implemented by the relevant > +provider(s): > + > +- .../mailbox/mailbox.txt > +- .../mailbox/nvidia,tegra186-hsp.txt > + > +Example bindings: > +----------------- > + > +tcu: tcu { > + compatible = "nvidia,tegra194-tcu"; > + mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_SM 0>, > + <&hsp_aon TEGRA_HSP_MBOX_TYPE_SM 1>; > + mbox-names = "rx", "tx"; > +}; Acked-by: Jon Hunter Cheers Jon -- nvpublic