Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05da213f authored by Mikko Perttunen's avatar Mikko Perttunen Committed by Greg Kroah-Hartman
Browse files

dt-bindings: serial: Add bindings for nvidia,tegra194-tcu



Add bindings for the Tegra Combined UART device used to talk to the
UART console on Tegra194 systems.

Signed-off-by: default avatarMikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarJon Hunter <jonathanh@nvidia.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e81eba88
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
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";
};