From patchwork Wed Nov 28 09:54:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 1004348 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="rIdjIm0C"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 434bbl23xZz9s9G for ; Wed, 28 Nov 2018 20:54:43 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728256AbeK1Uzm (ORCPT ); Wed, 28 Nov 2018 15:55:42 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:36501 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728052AbeK1Uzl (ORCPT ); Wed, 28 Nov 2018 15:55:41 -0500 Received: by mail-ed1-f66.google.com with SMTP id f23so21562769edb.3; Wed, 28 Nov 2018 01:54:36 -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=rIdjIm0C6Kp6ISofJK1QMCW6Yiv3UqhG4iMTt0tppqzGUZxw3vghzNipHUNgPHqcqj UpX1Q9SgBIWnpYtkZxtvineDF0qRQTuqR72u5KdRtafSRoWfGaDlXv5rc+Cc98vQV61W yLbfLCBGIvr+kYkr4tEbqq4gkfQYLgiALPQ+m9OT7CY7zzVqkOxWRBA1ngjojvq+UAus N+b2X0/rGcvcd9J7Brp5Wzzqdv5J85lR4OTX8OFGwSscHaYO6WMg9SKkAixcnSrwtrCX gAV8deBvEponPDLHxF49WYodpj/N9SwMRmNKI42HChNNo7J/G8ET6Q6n2hV0yaT2IxfY tGFQ== 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=oGs4cNiEiYyV+39ylnLxi867RSvCMRCgzuPwm1fqtwIURvknRuyvVu6DC1LGjsXoFO 4UblOO3MHPTjqGI59d83kcG38MaiNFyc1qbftWiEMHf6weKx+S/U91b/2qSJVhZzVixs 0y7RAITHTrFuY2YG9JKQnrl0zW/vByerK+qtziJoIaylC/BOTIbq58wEKL2PQ3PMNKZO 4iKxghPomTdr12PlgYG7DFRtH84UlXO1zUmrNCphIi/+Yk+oR8bUnCK7E4WS68o5xdRc B4evEoS0YR7c4cSQKJiEMN3dJnmqLeOv7cTueKOuoNDxMeqgPtr5tqfAU9+4Vu9+Hk8n E2Ow== X-Gm-Message-State: AGRZ1gJmqrjSNtrSZbs2T1B7r1rETNtX18muVXshb2dB9R5nvfrNUVQA /wJbM5x0Z1ID/0mmx/IzmLA= X-Google-Smtp-Source: AJdET5f5XmRpHZASfltc17i6GVjKcDVourCD4oXWPPrieDqOglBWxAsEFozQoKzRdTvJ8lLb9AWAlA== X-Received: by 2002:a17:906:f04:: with SMTP id z4-v6mr26658425eji.106.1543398876128; Wed, 28 Nov 2018 01:54:36 -0800 (PST) Received: from localhost (pD9E51040.dip0.t-ipconnect.de. [217.229.16.64]) by smtp.gmail.com with ESMTPSA id q16sm1643362eds.60.2018.11.28.01.54.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Nov 2018 01:54:35 -0800 (PST) From: Thierry Reding To: Thierry Reding , Jassi Brar Cc: Greg Kroah-Hartman , Jiri Slaby , Mikko Perttunen , Jon Hunter , Timo Alho , Pekka Pessi , Mika Liljeberg , linux-tegra@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 08/12] dt-bindings: serial: Add bindings for nvidia, tegra194-tcu Date: Wed, 28 Nov 2018 10:54:17 +0100 Message-Id: <20181128095421.20573-9-thierry.reding@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181128095421.20573-1-thierry.reding@gmail.com> References: <20181128095421.20573-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"; +};