Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4119057imm; Mon, 15 Oct 2018 09:22:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV60UGsf9UoJR8f5bvga6ImKccnKdwsmPGSuHIb7/aTD/2nMWAbH917vOxSXaNHrIbRUQLUJW X-Received: by 2002:a62:507:: with SMTP id 7-v6mr18255688pff.80.1539620531543; Mon, 15 Oct 2018 09:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539620531; cv=none; d=google.com; s=arc-20160816; b=jD4JYwM/YjfXZbl8t7aFksiHPyYBn9uacIW+WV1CrqOpi3X09+IwsRjWUJKZPbL+H1 Ze4/XnKawK6KjKicJXKpIEdJ5hlmp4tYAV3TY2Fc9nmnBQ04N3zVWaYiOL/tbFdcCyXw 5Ocb+ICW6eHXKz2GUxuIOLxKnoBjRcH/qG5aoameQJj3vGJq/P4In5Q7hJo+tKUxVlvz m/oW2jXJsyYiLemIA2LrtzyiZXs90LmDQWYPcH/krvlR5obC4YXirxpLEssxYXhe1PGo 1QIL870rF3AZC3dX5JVyrROJ9tREbCooS0vWLDRkTq7mF2g4Av9X3PTeSO5qi1TxYrqH v0wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=asX0uzWLsEahgNn8BZC+BeET65fiNoh0p+t+RMbMc2I=; b=eLSeIGn1u9tBG1hA7n1xyI3L5S65Yg9WFFaMSh4DAFSsmONevMqaFv0MwtPjniJ5Zx Qt3906F4oPYviWLkuMTOyvi6b9qJRSZp+Cn16qMvDFgPvcJ8d4O6DAHlCv/SZ2zqCNgn 2RuOrNmHezA8fSMODHYps76MWaEI7YSPGFQhXXikjf7nbtnCBTxgjGV1/L+uiIlBmno3 itHUuB0pZUx0sBz+5lW1eyVQRAwNq/qJ3whIYtSaJH2p/SyEk0BvMjDZHHWOgg6qdWvb uPuqX/MK+MhRL4A0uIsnoc+5yo+UDV78iy7NU5HYSYsTkBaUnKPZWGFe5JZUCsWZZJCu FNdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=E8P+KUnQ; 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 j184-v6si11543558pfg.210.2018.10.15.09.21.56; Mon, 15 Oct 2018 09:22:11 -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=E8P+KUnQ; 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 S1726880AbeJPAHI (ORCPT + 99 others); Mon, 15 Oct 2018 20:07:08 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:48236 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726576AbeJPAHI (ORCPT ); Mon, 15 Oct 2018 20:07:08 -0400 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 9919910C04F7; Mon, 15 Oct 2018 09:21:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1539620474; bh=1rpkrGKNclJObwrMn5TvdLkiiVbrUhLrjM008725t00=; h=Subject:To:CC:References:From:Date:In-Reply-To:From; b=E8P+KUnQjiiOPlEJvMpgvyay3Bpo+jq+9R86WBi9UNX804d7D9BQCbhUB0YzIDDun ex8f+WBzlkMjuTCLFtigLw7l2uE9kG1RZHWZ6RT+baGAWG+JnFOdGEwlKyveVscN+L vdJdAxDmk8pa4g4I4cCwNQhQUJUjIEJ7lduShCk8s/6GsFfHSMaPyk+fTbiUcyg/VI 6FMfONGUGEa/0tYOWdRc1zdQpOQXauZZkfv2QQEEymdftzLwJIL8xaD6jaGmz031FU X1Sg9ArQFcM0Dpo5Z0n8K//9ynO+X71qwnZBNQnia5G5xWt1zrNsQ/Ac9uMfcZy+2H rbApbuu3H668A== Received: from us01wehtc1.internal.synopsys.com (us01wehtc1-vip.internal.synopsys.com [10.12.239.236]) by mailhost.synopsys.com (Postfix) with ESMTP id CEAFB3253; Mon, 15 Oct 2018 09:21:09 -0700 (PDT) Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by us01wehtc1.internal.synopsys.com (10.12.239.231) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 15 Oct 2018 09:21:09 -0700 Received: from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by DE02WEHTCA.internal.synopsys.com (10.225.19.92) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 15 Oct 2018 18:21:06 +0200 Received: from [10.107.19.163] (10.107.19.163) by DE02WEHTCB.internal.synopsys.com (10.225.19.80) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 15 Oct 2018 18:21:06 +0200 Subject: Re: [V2, 2/5] Documentation: dt-bindings: Document the Synopsys MIPI DPHY Rx bindings To: Rob Herring , Luis Oliveira CC: , , , , 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 , References: <20180920111648.27000-1-lolivei@synopsys.com> <20180920111648.27000-3-lolivei@synopsys.com> <20181012164548.GA11873@bogus> From: Luis Oliveira Message-ID: <5f3b530b-1869-2749-ef05-60fb272d56f8@synopsys.com> Date: Mon, 15 Oct 2018 17:21:03 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181012164548.GA11873@bogus> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.107.19.163] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On 12-Oct-18 17:45, Rob Herring wrote: > On Thu, Sep 20, 2018 at 01:16:40PM +0200, Luis Oliveira wrote: >> Add device-tree bindings documentation for SNPS DesignWare MIPI D-PHY in >> RX mode. > > "dt-bindings: phy: ..." for the subject. > Yes, you are right. >> >> 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 > > type? values? > I will remove this in V3. >> + >> +The per-board settings: >> +- gpios : Synopsys testchip used as reference uses this to change setup >> + configurations. > > Preferred to be named (e.g. foo-gpios). How many? What are their > functions? > Ok, thanks for reviewing this. >> + >> +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 >>