From patchwork Wed Jan 23 10:28:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 1029864 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jFX+E7Xs"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43l1hp1kfRz9s7h for ; Wed, 23 Jan 2019 21:28:26 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727302AbfAWK2Z (ORCPT ); Wed, 23 Jan 2019 05:28:25 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:35835 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726207AbfAWK2Z (ORCPT ); Wed, 23 Jan 2019 05:28:25 -0500 Received: by mail-wm1-f66.google.com with SMTP id t200so1436346wmt.0; Wed, 23 Jan 2019 02:28:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TlbHTmIMzaAHQga/bhk4fz7pIJkLJdzOm9HKY5RROAs=; b=jFX+E7Xs2jMPO0pEPU4KxuHlyqdeK79Np85zyjGHyYWzQzUR1bwcImFFthUDLyHz3S BM/J5CC0GstWnPsqHv6QckkZUpMPsQ/rH0H1o8jQS+5a8NtoeNbB/hBXxWGjUcMl0eDL xOTQVC1xKGebH0SHHmgRvtuJr/PS+nJvna9qTlBm19tIGiD+ZKQj+wHSSkucvlmUboCn fug+Bufv/dugy+Di83D2bJE3L7Ic9bcyutct28gesMTAFuyX057tACBIpPaSq+mDIdHj wCnYECNvrTVDv9qyYqU+9XZlmUK09OQeGqRgXifO6tNF4apUNnO3qqMkdWKVl2lohHmm MEMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TlbHTmIMzaAHQga/bhk4fz7pIJkLJdzOm9HKY5RROAs=; b=C3Uh6DfFjw1IX7gNXyCar9tZjK807Sqo7Hn3yD3cWyNv4cONcJg4OeQwn0yyje4/bj rvTpF0l1Kr4YcslwfbkZYy6cMdI7KBfWoo1XfHhi1wq0BQLniHtf6YEi6h+CKEFP09CC m+sJ0rLEyXhdp6Bg81GXr8+lhNA2bP3ZBGMqYKKumlDUpyuR8pODkrkmIo1LYGEXsk4E LIEDX5tsFISRpO9ZTPXFAnzd0JhkOvYbK/Wm/nie+/1gm2kfcSK5SVcolEwePP7v4Il9 j2fiKyX1+K7J4MNwjAa+CfwJFtOygfsQk4M9tn5ktwD3eKuF/O6wRLKoyuxp+nhpReJm zpJA== X-Gm-Message-State: AJcUukc8neZ/rDtf5nnT8gCIzulW7o/Y5VjZD90ZOVJFS8qVbWC4FbwZ 9aW3N+qm2xdElyd8vIHEMe7Sxb75GGs= X-Google-Smtp-Source: ALg8bN4b0daD6vxtcq7j+RUubc2fhqRNru6WzXY9GbcJs+lCMf/rPgWAHYA/xEr9vs9AR9f9KZ1Ssw== X-Received: by 2002:a1c:b14:: with SMTP id 20mr2189973wml.103.1548239303035; Wed, 23 Jan 2019 02:28:23 -0800 (PST) Received: from localhost (pD9E51040.dip0.t-ipconnect.de. [217.229.16.64]) by smtp.gmail.com with ESMTPSA id n15sm79643308wrt.21.2019.01.23.02.28.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Jan 2019 02:28:22 -0800 (PST) From: Thierry Reding To: Greg Kroah-Hartman Cc: Jon Hunter , linux-serial@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH v4 1/2] dt-bindings: serial: Add bindings for nvidia, tegra194-tcu Date: Wed, 23 Jan 2019 11:28:18 +0100 Message-Id: <20190123102819.29703-2-thierry.reding@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190123102819.29703-1-thierry.reding@gmail.com> References: <20190123102819.29703-1-thierry.reding@gmail.com> MIME-Version: 1.0 Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Mikko Perttunen 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 Acked-by: Thierry Reding Signed-off-by: Thierry Reding --- .../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..085a8591accd --- /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"; +};