Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1869435imm; Thu, 20 Sep 2018 04:20:15 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbSu+STlH28xuQ5yyvmD+40UGYe2KrVKBX5YhsPaLUQCm/GqqLC1ZWFhrv4rRg4V8AY08cB X-Received: by 2002:a63:d309:: with SMTP id b9-v6mr37037940pgg.163.1537442415249; Thu, 20 Sep 2018 04:20:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537442415; cv=none; d=google.com; s=arc-20160816; b=MFDHWMokH/yKVOytBUPXES3gwUVM3sBjB2X6EUW4X1r/IuH0mJzUHj5Usf/MvZWrFY 1WRWxdVDzzhLRTU+B0rb6S9iYk/9TgzYBaum2AtdbojZXTfPUc6xQUpEYkVhHhrJxLYz GU+Zx6q8oB+xAghOGX6TS5q6sHsdjO508LmllfyqJLhOq1R/c9sEl+DEYa79e29r5JZ/ 1YomxXNllKODn3uCutv4xvIHmof3sk623gy2KK/y6w7JPG5f+ueFWJL5JMyLZbrL1O48 SBn8zB+nMR5cgZQAggQCXNvBYlhiIKvrHhNoRyB4gqaB2K4aUKrkU2y9V/djmZrVGonF rAQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=CsxoCC559y8G+fSreCsGtC4SRCixw69uqi1k6xWBdH0=; b=iIFPWW6qMejOJ/Kpq/2kF5WoaeNps126e3uwIwPUq7BVBSeiwpIgDWGHEeg6WuPKAZ ZqiUfCbUogz/wTxIu8dTF2P8JK+qO2OjJA7kMaCVM80LTCdBBt+vG5qp19m2W1jyGMWK hT8lxcB2puh5iwu+IDoErHTRK5x/NfZSshSPQe6VAemrWolGo1hVcopXoZZotd8tnqyy zkaROIs419g3SwcrmHU0W+z4cHRBlh3j72AEaCUYBvP4yY4qk2LprTYoZsctDgJt2IpP iA/tijO0IXzNQnRMWq/l5MTNCLt4NSkpzHNCxOHPNtFynbemEsfMVM+0mlh1TX5fx+Po FcqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b="Ep/qEHWE"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p14-v6si25082358pfk.275.2018.09.20.04.19.59; Thu, 20 Sep 2018 04:20:15 -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; dkim=pass header.i=@synopsys.com header.s=mail header.b="Ep/qEHWE"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732565AbeITRCd (ORCPT + 99 others); Thu, 20 Sep 2018 13:02:33 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:43030 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726607AbeITRCd (ORCPT ); Thu, 20 Sep 2018 13:02:33 -0400 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 792DA10C1038; Thu, 20 Sep 2018 04:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1537442373; bh=ywMhwdvW2XHK4grxUgU6xMhv0eh+lzM2mbcd2MMWp+M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ep/qEHWEzwNn+L2ki+rRjk+vSmD8ThtQhkitgPFB9bzMZpBMOxEQR9xYT20NYdD+9 R6wI5XYW+1vfwVkdGbeSc7jg+9n3WKfYT9ckXOH68xiapbaeoVNy5XIVeCJZuRvRWN bE49XDdx9TxOtkG28hlhTfH3ltJ+KDoPk18Jj8YPkGezaKx80VbABBZKBarvDtzHRn zT9txK392/V2DCFLMN/cq5DtWxS1V4aNysOAKPhP79+Pnq7WbQa6tmvT++PeOIZKxG h6c3A3vBGy8MSdHKXGN11Tz0Kiu27V+sX2zqVMjl494ka2opleJ95RW2UIGJag62FR RZm3YEzVOD8+g== Received: from de02.synopsys.com (germany.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 1DFDB58CB; Thu, 20 Sep 2018 04:19:31 -0700 (PDT) Received: from de02dwemt291.internal.synopsys.com (de02dwemt291.internal.synopsys.com [10.225.18.65]) by de02.synopsys.com (Postfix) with ESMTP id 25D7D3E4B1; Thu, 20 Sep 2018 13:19:31 +0200 (CEST) Received: from de02dwemt291.internal.synopsys.com (localhost [127.0.0.1]) by de02dwemt291.internal.synopsys.com (8.14.4/8.12.3) with ESMTP id w8KBJU5A028464; Thu, 20 Sep 2018 13:19:30 +0200 Received: (from lolivei@localhost) by de02dwemt291.internal.synopsys.com (8.14.4/8.14.4/Submit) id w8KBJL8b028458; Thu, 20 Sep 2018 13:19:21 +0200 From: Luis Oliveira To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Joao.Pinto@synopsys.com, festevam@gmail.com, Luis Oliveira , Luis Oliveira , Rob Herring , Mark Rutland , Mauro Carvalho Chehab , Hans Verkuil , Geert Uytterhoeven , Laurent Pinchart , Arnd Bergmann , Jacob Chen , Neil Armstrong , Keiichi Watanabe , Kate Stewart , Philipp Zabel , Todor Tomov , devicetree@vger.kernel.org Subject: [V2, 2/5] Documentation: dt-bindings: Document the Synopsys MIPI DPHY Rx bindings Date: Thu, 20 Sep 2018 13:16:40 +0200 Message-Id: <20180920111648.27000-3-lolivei@synopsys.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20180920111648.27000-1-lolivei@synopsys.com> References: <20180920111648.27000-1-lolivei@synopsys.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device-tree bindings documentation for SNPS DesignWare MIPI D-PHY in RX mode. Signed-off-by: Luis Oliveira --- Changelog v2: - no changes .../devicetree/bindings/phy/snps,dphy-rx.txt | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/snps,dphy-rx.txt diff --git a/Documentation/devicetree/bindings/phy/snps,dphy-rx.txt b/Documentation/devicetree/bindings/phy/snps,dphy-rx.txt new file mode 100644 index 0000000..9079f4a --- /dev/null +++ b/Documentation/devicetree/bindings/phy/snps,dphy-rx.txt @@ -0,0 +1,36 @@ +Synopsys DesignWare MIPI Rx D-PHY block details + +Description +----------- + +The Synopsys MIPI D-PHY controller supports MIPI-DPHY in receiver mode. +Please refer to phy-bindings.txt for more information. + +Required properties: +- compatible : Shall be "snps,dphy-rx". +- #phy-cells : Must be 1. +- snps,dphy-frequency : Output frequency of the D-PHY. +- snps,dphy-te-len : Size of the communication interface (8 bits->8 or 12bits->12). +- reg : Physical base address and size of the device memory mapped + registers; + +Optional properties: +- snps,compat-mode : Compatibility mode control + +The per-board settings: +- gpios : Synopsys testchip used as reference uses this to change setup + configurations. + +Example: + + mipi_dphy_rx1: dphy@3040 { + compatible = "snps,dphy-rx"; + #phy-cells = <1>; + snps,dphy-frequency = <300000>; + snps,dphy-te-len = <12>; + snps,compat-mode = <1>; + reg = < 0x03040 0x20 + 0x08000 0x100 + 0x09000 0x100>; + }; + -- 2.9.3