From patchwork Mon Dec 2 15:37:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 3265971 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DC80C9F374 for ; Mon, 2 Dec 2013 15:38:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0A0C920259 for ; Mon, 2 Dec 2013 15:38:19 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 38DD3201F7 for ; Mon, 2 Dec 2013 15:38:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 98BB0FA1C2; Mon, 2 Dec 2013 07:38:11 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by gabe.freedesktop.org (Postfix) with ESMTP id 0CD2DFA352 for ; Mon, 2 Dec 2013 07:38:05 -0800 (PST) Received: by mail-bk0-f54.google.com with SMTP id v16so5434763bkz.41 for ; Mon, 02 Dec 2013 07:38:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=t+X/gKiPVmq/C9Yt8yvKSyncqvIncSgNJwl78EPISzo=; b=CSCicfAD/Zh8ABJfawnX701G/SjTXU1aNTWY32w1WQob3gTr7UwQpSKEI6nw+RdEhY uheWnkJb+4DjMfJI8sgA/VyukAf/DZhfgtEepJGek+XcM1ef9/1vHavfVPyBp+/I9bpk q3VRRnSeVX7sGOG9v1bhRFJuDGmbTg6HSZxUfeaSr4+CbCP7vypBFBqdZ48uZRX/aC5s 8JhG4kTXMnWjNuzH1lLd6GhVwfCzhgVAfHxZIOtOiFbm0NBBc91nRuDcdjD5qdQVZtRP qmTZ0vinU54dqN3X4Qggx3pXAeXoKNQ3MQhHh8IyTxWuk0tIAgK7f22zlU3eCWbGVpPW xXLQ== X-Received: by 10.204.54.136 with SMTP id q8mr67580bkg.100.1385998684494; Mon, 02 Dec 2013 07:38:04 -0800 (PST) Received: from localhost (port-9610.pppoe.wtnet.de. [84.46.37.175]) by mx.google.com with ESMTPSA id bf8sm27063212bkb.14.2013.12.02.07.38.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Dec 2013 07:38:03 -0800 (PST) From: Thierry Reding To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell Subject: [PATCH] of: Add MIPI DSI bus device tree bindings Date: Mon, 2 Dec 2013 16:37:11 +0100 Message-Id: <1385998631-18515-1-git-send-email-treding@nvidia.com> X-Mailer: git-send-email 1.8.4.2 Cc: Andrzej Hajda , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document the device tree bindings for the MIPI DSI bus. The MIPI Display Serial Interface specifies a serial bus and a protocol for communication between a host and up to four peripherals. Signed-off-by: Thierry Reding Reviewed-by: Tomasz Figa --- .../devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt diff --git a/Documentation/devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt b/Documentation/devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt new file mode 100644 index 000000000000..f58ca4485a2f --- /dev/null +++ b/Documentation/devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt @@ -0,0 +1,54 @@ +MIPI DSI (Display Serial Interface) busses +========================================== + +The MIPI Display Serial Interface specifies a serial bus and a protocol for +communication between a host and up to four peripherals. This document will +define the syntax used to represent a DSI bus in a device tree. + +This document describes DSI bus-specific properties only or defines existing +standard properties in the context of the DSI bus. + +Each DSI host provides a DSI bus. The DSI host controller's node contains a +set of properties that characterize the bus. Child nodes describe individual +peripherals on that bus. + +DSI host +-------- + +In addition to the standard properties and those defined by the parent bus of +a DSI host, the following properties apply to a node representing a DSI host. + +Required properties: +- #address-cells: The number of cells required to represent an address on the + bus. DSI peripherals are addressed using a 2-bit virtual channel number, so + a maximum of 4 devices can be addressed on a single bus. Hence the value of + this property should be 1. +- #size-cells: Should be 0. + +DSI peripheral +-------------- + +Peripherals are represented as child nodes of the DSI host's node. Properties +described here apply to all DSI peripherals, but individual bindings may want +to define additional, device-specific properties. + +Required properties: +- reg: The virtual channel number of a DSI peripheral. Must be in the range + from 0 to 3. + +Example +------- + + dsi-host { + ... + + #address-cells = <1>; + #size-cells = <0>; + + peripheral@0 { + compatible = "..."; + reg = <0>; + }; + + ... + };