Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp403000ybl; Fri, 9 Aug 2019 07:44:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGwrO8gB8DJDrIhtwhdBoMK9R4LtOcBUF+iNBiQ172zXZSLtM+6ZdrpOoxkT9kdnwOrkKn X-Received: by 2002:a17:90a:ff17:: with SMTP id ce23mr9756271pjb.47.1565361865123; Fri, 09 Aug 2019 07:44:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565361865; cv=none; d=google.com; s=arc-20160816; b=byqeE2TqnWNggSiJVhdwMcuF+uKOc8hwuGQ4sVm76ypOPM6x0pwAYuy9YQtnq/9J7Y yd6Ve7ftZUzFPHjKSlFvjRgHExqiX1br3ikqO8tH4fZElGSrx9wDNoRAVHTpUwt7mGNJ ibaaZ4S8q+ajpl/TFbVJW1ehTKR6AXhRSpBubDAE41H44ev8fWYD5POoyuLLzGCuDKqy PFm0LhipXUTLN4KobMbZK22Haj76IQXywFLu2DaqN1RROU5itaSBUDZPt/VORg0dPPKZ 82GNyhe1rMj7OLesfoRxXGiIORqGB6zgnRH+PuKH9dXExpDY2+zzb6O5kTW+PDvFb/Qk wgnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ZbwhaqAEC8gA1vLVnyhMwx/lJRhFzU//Hh57zGdyN6k=; b=Yzs5+lG3kWx9WqVppXeJHMnvy6ZeY6v/8dXxumwbmQb23f9uw2MjK857qhPU9k635q MY1/kI3DogFNzYhBUijeVRcka2Ysc3qA8RNRczBq0PSvMSxFSNCPu8H1IRymqD75arz5 h0QJMQc3hMXmDw5Q4FkhEQOhB9nZHI3h0E+L7pmxKwHh4ly0UOrUbfL8kD/cm2d0Rvmx 63nmutHJkE6kgi819qDwmUsHe1soqdZV+PvZFXHGV122tJVn9gdfiF2MX0wh0vaN0WLP UjmX2IZ43ENSR0KFT9N5wXnmnCdrOwTo7KdKXd5oJ+xYMVLCPgODa5aElt6/GAoJy8xM CbHg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=iki.fi Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91si2440796plh.315.2019.08.09.07.44.09; Fri, 09 Aug 2019 07:44:25 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=iki.fi Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407061AbfHIOm7 (ORCPT + 99 others); Fri, 9 Aug 2019 10:42:59 -0400 Received: from retiisi.org.uk ([95.216.213.190]:58998 "EHLO hillosipuli.retiisi.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406439AbfHIOm6 (ORCPT ); Fri, 9 Aug 2019 10:42:58 -0400 Received: from valkosipuli.localdomain (valkosipuli.retiisi.org.uk [IPv6:2a01:4f9:c010:4572::80:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hillosipuli.retiisi.org.uk (Postfix) with ESMTPS id 3D517634C87; Fri, 9 Aug 2019 17:42:52 +0300 (EEST) Received: from sailus by valkosipuli.localdomain with local (Exim 4.92) (envelope-from ) id 1hw66W-0000Jy-Es; Fri, 09 Aug 2019 17:42:52 +0300 Date: Fri, 9 Aug 2019 17:42:52 +0300 From: Sakari Ailus To: Luis Oliveira Cc: mchehab@kernel.org, davem@davemloft.net, gregkh@linuxfoundation.org, Jonathan.Cameron@huawei.com, robh@kernel.org, nicolas.ferre@microchip.com, paulmck@linux.ibm.com, mark.rutland@arm.com, kishon@ti.com, devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Joao.Pinto@synopsys.com Subject: Re: [v4 4/6] dt-bindings: phy: Document the Synopsys MIPI DPHY Rx bindings Message-ID: <20190809144252.GD864@valkosipuli.retiisi.org.uk> References: <1560280855-18085-1-git-send-email-luis.oliveira@synopsys.com> <1560280855-18085-5-git-send-email-luis.oliveira@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1560280855-18085-5-git-send-email-luis.oliveira@synopsys.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Luis, On Tue, Jun 11, 2019 at 09:20:53PM +0200, Luis Oliveira wrote: > Add device-tree bindings documentation for SNPS DesignWare MIPI D-PHY in > RX mode. > > Signed-off-by: Luis Oliveira > --- > Changelog > v3-v4 > - @Laurent I know I told you I could remove the snps,dphy-frequency on V3 but > it is really useful for me here. I removed all other the proprietary > properties except this one. Do you still think it must be removed? Yes. DT is the wrong place for runtime configuration. You get that information using the V4L2_CID_LINK_FREQ control on the upstream sub-device. > - Frequency units @Rob > > .../devicetree/bindings/phy/snps,dw-dphy-rx.txt | 29 ++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/snps,dw-dphy-rx.txt > > diff --git a/Documentation/devicetree/bindings/phy/snps,dw-dphy-rx.txt b/Documentation/devicetree/bindings/phy/snps,dw-dphy-rx.txt > new file mode 100644 > index 0000000..50603e6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/snps,dw-dphy-rx.txt > @@ -0,0 +1,29 @@ > +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,dw-dphy-rx". > +- #phy-cells : Must be 1. > +- bus-width : Size of the test interface data bus (8 bits->8 or > + 12bits->12). Hmm. This seems like runtime configuration as well. > +- snps,dphy-frequency : Frequency at which D-PHY should start, configurable. > + Check Synopsys databook. (-kHz) > +- reg : Test interface register. This correspondes to the > + physical base address of the controller and size of > + the device memory mapped registers; Check Synopsys > + databook. Is this just for testing purposes or not? > + > +Example: > + > + mipi_dphy_rx1: dphy@d00003040 { > + compatible = "snps,dw-dphy-rx"; > + #phy-cells = <1>; > + bus-width = <12>; > + snps,dphy-frequency = <300000>; > + reg = <0xd0003040 0x20>; > + }; -- Regards, Sakari Ailus