Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1329019imm; Fri, 14 Sep 2018 15:51:18 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZfGNr4ORNtbw7X2MID88lCClEdk7WQHMO/qswh36ztErohhkCRiD9DA2JOrzp8BYpezYsF X-Received: by 2002:a17:902:2804:: with SMTP id e4-v6mr13901947plb.327.1536965478245; Fri, 14 Sep 2018 15:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536965478; cv=none; d=google.com; s=arc-20160816; b=KwmA1XI1vQ/bT2nD0xQmhCTWF9kuo+zXEeYpYehxguM7DicQ4zqWKLRusPLo+DJqv8 iiwNBtsHctsQI4OFz246LgpDu3gui93hkzzthiIzR/ioNg+B0pHLkmw9jdRmYNIqKRAR KLMGIaVaUEGOAilu9cRd/zs/uOEHS9DgW0itfdCk9mbnY0guPMo6AxAa5HvM1zVj258Q kLn5xkKk0w8Cu/0YsnKK7xKRwuCCSyQfZa9aLs5ftA7s62kAA+ElivAmx/dRjYz1tA93 m29XGOu8zLBJWUPORO/xFWltn4Mx3DEznSRsMdBDddVvh1NlguR+gWmwBMO2Qc1FYlHH CEMg== 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=29mR5uzuOD7YCRwL9R9XM3AIyg6hsrVAKat+6O1rpkc=; b=Kb0AGwb8uDAQs+Buce6wiBK0I8ILCwgXBnBFAQRUm9gBtyDgtWxeLZbw7hOMtljTJn FMLwD6dVN+yRIdewsdGMTbFdddNZnBfnJdRVzoXye6EBWvdn8KPvs8ZaaDx2HGaEPdh2 2WDjeoiwe23TPOkoJdMplwVjh1w/Sw7L4HPv1++Rn5+bwuJrQmS2IVUgfGzDGYBr0+lD RnPwe+fBmZrcHp94XK9Eeo8c5ltNmkkw7rKTrt/Jk1ANFlpBMmZS7Z33YbfrLVUusE0I og27qEVXvG60A315O5bmZnDBLhOQEtcbAa28AzVl+zH6ESstE+beNgu1ZCTQtKkfcbJv 7eRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=ka2kn52d; 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 b5-v6si7884263plr.101.2018.09.14.15.51.03; Fri, 14 Sep 2018 15:51:18 -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=ka2kn52d; 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 S1726998AbeIOEHB (ORCPT + 99 others); Sat, 15 Sep 2018 00:07:01 -0400 Received: from smtprelay4.synopsys.com ([198.182.47.9]:45648 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725198AbeIOEHB (ORCPT ); Sat, 15 Sep 2018 00:07:01 -0400 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id BE2CE24E11FF; Fri, 14 Sep 2018 15:50:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1536965430; bh=TSc6Ioj6MOlby6CYs2YBizZDSmz9iH7i9w30EgWG7IY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ka2kn52dyYZE+pfUsZgN4j1M7J/4K2vibBGDoyCFeup3xjvislvyjI5KkFsvDSBvN iHDPUXPYfUMZqqmujRlHniN07g6/69mx+dPDpjOx4O2dnYz9TpfjPQkSuRcs2eaGib S28oineBDbYm8sSInDtZlNsz4qgtcj2sjMK5Yvyp/5DKVYpXBV/TolOByBVr6XpZPd RVyfXp8+EOpuhneYE98yhFz0QPmLiqVA9eAFi1gZyUp8BauIXyzqSa9wxaMZYgCmqi 4iti5IN1HjNvxKXHG+9OgUIjbBTCq/AyguKG5CV7eh3A07CuFGZ5HuuCS5E/ai4WHw tY+8aWx8D8FFw== Received: from de02.synopsys.com (germany.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 35F155755; Fri, 14 Sep 2018 15:50:30 -0700 (PDT) Received: from de02dwemt291.internal.synopsys.com (de02dwemt291.internal.synopsys.com [10.225.18.65]) by de02.synopsys.com (Postfix) with ESMTP id 678C03EF55; Sat, 15 Sep 2018 00:50:29 +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 w8EMoTYF027361; Sat, 15 Sep 2018 00:50:29 +0200 Received: (from lolivei@localhost) by de02dwemt291.internal.synopsys.com (8.14.4/8.14.4/Submit) id w8EMoR0I027360; Sat, 15 Sep 2018 00:50:27 +0200 From: Luis Oliveira To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: all-jpinto-org-pt02@synopsys.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: [PATCH 2/5] Documentation: dt-bindings: Document the Synopsys MIPI DPHY Rx bindings Date: Sat, 15 Sep 2018 00:48:38 +0200 Message-Id: <20180914224849.27173-3-lolivei@synopsys.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20180914224849.27173-1-lolivei@synopsys.com> References: <20180914224849.27173-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 --- .../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..4f22a43 --- /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