Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3790416imm; Mon, 2 Jul 2018 05:45:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIoM9oqdPPTM974K8kycCj193Q2vc9xUrIWwYTdtSihxL/FMhez5Zl1UlUW9SdfAKrsLqih X-Received: by 2002:a17:902:9a08:: with SMTP id v8-v6mr25877763plp.148.1530535516635; Mon, 02 Jul 2018 05:45:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530535516; cv=none; d=google.com; s=arc-20160816; b=nEKHxrw2PlfxMBbz7dqZikFAN2ClYTJDkGcwWkIlYhqLi4nr5ZQCAawnt9NgXnxwfb EG4Qy89nbwPmuYbnV26rXX5+0nNR8P0z5VhJJftZEpTZg9NJaJRvyRh0cnDoQCGyLKjA mzCXrSrad7E1Q/YTYkQ+MqKauM76AIM25ZTHRWv1935n72S/9D0agJzyHizMWPhnx/23 ygEyMFVULNzA3T7ONC2dTwgc6O6z9gUlHp/eP0YXlf3NqGcUhV6KtTyhadKDi8c45LAF 3yizULL9InRY2FtkyYXTAcSnO2mwZu28/wlb5kuwmElzIwPBmc8SEYbe6f28nY1tqRwT 28lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=ixzwW/Wg3jAir0LzTGjVa6pSb+IP4sZVSeXixvatIRM=; b=EhPuyCu5M6DN11KnGm2dDLyttmi6ZqXtJZZVStB0DzmIjGXXM7ZqZuBhyVPVTWuRcA 9kqfR280OwfYraWPCXsTao1ucFo2w7Q8wLb4d51Wy/JsKr1ZATeAzl6WARF7zUOSewhb UKSMb8ad9zelcTmdIwzGSh+3/v+EWfY4XIodQZB91ubWGDr3eUVX42oCUvzFz7zNqGMe Z3/TQDJyApkuyOUkvg6xNnZ2bMQFlwH5abIGQePuODssJq1H9Ui/2r1RMGC6dXUkN/4k cCfh5937fpTvmg0ww36ibHFSTdx2yl961rHZb5/MeIHrdMEgHG5U1FB4bhZ/qbeUiD7h PS+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2-v6si13754016pgp.134.2018.07.02.05.45.02; Mon, 02 Jul 2018 05:45:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965705AbeGBLn4 (ORCPT + 99 others); Mon, 2 Jul 2018 07:43:56 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:12875 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932824AbeGBLln (ORCPT ); Mon, 2 Jul 2018 07:41:43 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1, AES128-SHA) id ; Mon, 02 Jul 2018 04:41:08 -0700 Received: from HQMAIL107.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 02 Jul 2018 04:41:42 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 02 Jul 2018 04:41:42 -0700 Received: from HQMAIL108.nvidia.com (172.18.146.13) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 2 Jul 2018 11:41:42 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1347.2 via Frontend Transport; Mon, 2 Jul 2018 11:41:42 +0000 Received: from mperttunen-lnx.Nvidia.com (Not Verified[10.21.26.144]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 02 Jul 2018 04:41:42 -0700 From: Mikko Perttunen To: , , , CC: , , , , , Mikko Perttunen Subject: [PATCH v3 2/8] dt-bindings: serial: Add bindings for nvidia,tegra194-tcu Date: Mon, 2 Jul 2018 14:40:27 +0300 Message-ID: <20180702114033.15654-3-mperttunen@nvidia.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180702114033.15654-1-mperttunen@nvidia.com> References: <20180702114033.15654-1-mperttunen@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Jon Hunter --- Notes: v2: - Added Rob's Reviewed-by. v3: - Added Jon's Acked-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"; +}; -- 2.16.1