Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2423657ybi; Thu, 4 Jul 2019 10:47:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8OT4GirNezWgj4JQsMh1M50YKXBdmc87ti550QxyuZbjDtPhwNNAuuoUdY02HIdAWl+3B X-Received: by 2002:a17:90a:20c6:: with SMTP id f64mr785276pjg.57.1562262432491; Thu, 04 Jul 2019 10:47:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562262432; cv=none; d=google.com; s=arc-20160816; b=qyMVrnqmI74TnOmhI9unm5QLAwTqFAKLFcu6OlUk+paJyforua91pQfGUj4WFZ/Lgu qte8vtqb6XweKBmsL0/wnbwo+FNskv7jbAaxk4bK9h6/VLWQTfsFit/PIptTwUih0sjf vqqdJCeo5kTWfXbWkx5rJSmegg129MiWZBXVk299AgdLHz8Hd2ZYat/wBwdZ847DryKS YU7BpizGDbsrDOEB7j8o4y5zrx8CvjGQG9083i7bD4HpHElTdvZxpQTHCIty/nO6ugrb q2KfqWGJSiH66iYSm6zlukJsiuDHyE8dX0eSvrlT5NnneWtY9X8cu//soj3cnNRtEyUB VLeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=r31M1JNOxOuB4tB+Jv0D/vyXk/Srmt4C1jpzbIgkujo=; b=PNcdUlKTt+3WnDQ5C5Yz5wrvgb0fmkcal/BrUJOwDG8CNiizhwwjDo3ZVG+sjTwEQs ZO3PC512PAlHq/Mg9B9DWhzPS2skmPd9PvYD5YfhGwsDlKLp1yNX1Q4h3j32sdYhV4VM Y96uIw+jLCVz7UNIAEoMe7bF02pNmlU4BwFM7jdd/EwVCYhLVfZK9/OWFM0FJbSv0Dj1 P6QJG6RnsREXDn0fxyDCG19Jos11h3BXcD5MNflP8h+eqwrC4EF0rhoVRd1CSRVItpwE ON02JyTe5cCpBBLgHLUnySYwzIaUEIsvJxljD+pK63lxf8ww26pMJvo5bffUIVik57vD t+Mw== 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=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f17si414787pgh.552.2019.07.04.10.46.56; Thu, 04 Jul 2019 10:47:12 -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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727300AbfGDREw (ORCPT + 99 others); Thu, 4 Jul 2019 13:04:52 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:53626 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726966AbfGDREv (ORCPT ); Thu, 4 Jul 2019 13:04:51 -0400 Received: from [IPv6:2804:431:c7f5:f63c:d711:794d:1c68:5ed3] (unknown [IPv6:2804:431:c7f5:f63c:d711:794d:1c68:5ed3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tonyk) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id B79B728B0E7; Thu, 4 Jul 2019 18:04:43 +0100 (BST) Subject: Re: [PATCH v7 11/14] dt-bindings: Document the Rockchip MIPI RX D-PHY bindings To: Helen Koike , linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, eddie.cai.linux@gmail.com, mchehab@kernel.org, heiko@sntech.de, jacob2.chen@rock-chips.com, jeffy.chen@rock-chips.com, zyc@rock-chips.com, linux-kernel@vger.kernel.org, tfiga@chromium.org, hans.verkuil@cisco.com, laurent.pinchart@ideasonboard.com, sakari.ailus@linux.intel.com, kernel@collabora.com, ezequiel@collabora.com, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, zhengsq@rock-chips.com, Rob Herring , Rob Herring , Mark Rutland References: <20190703190910.32633-1-helen.koike@collabora.com> <20190703190910.32633-12-helen.koike@collabora.com> From: =?UTF-8?Q?Andr=c3=a9_Almeida?= Message-ID: Date: Thu, 4 Jul 2019 14:04:00 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190703190910.32633-12-helen.koike@collabora.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Helen, On 7/3/19 4:09 PM, Helen Koike wrote: > From: Jacob Chen > > Add DT bindings documentation for Rockchip MIPI D-PHY RX > > Signed-off-by: Jacob Chen > Reviewed-by: Rob Herring > [update for upstream] > Signed-off-by: Helen Koike > > --- > > Changes in v7: > - updated doc with new design and tested example > > .../bindings/media/rockchip-mipi-dphy.txt | 38 +++++++++++++++++++ > 1 file changed, 38 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/rockchip-mipi-dphy.txt > > diff --git a/Documentation/devicetree/bindings/media/rockchip-mipi-dphy.txt b/Documentation/devicetree/bindings/media/rockchip-mipi-dphy.txt > new file mode 100644 > index 000000000000..2305d44d92db > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/rockchip-mipi-dphy.txt > @@ -0,0 +1,38 @@ > +Rockchip SoC MIPI RX D-PHY > +------------------------------------------------------------- Here I would also remove those extra `---`. Thanks,     André > + > +Required properties: > +- compatible: value should be one of the following > + "rockchip,rk3288-mipi-dphy" > + "rockchip,rk3399-mipi-dphy" > +- clocks : list of clock specifiers, corresponding to entries in > + clock-names property; > +- clock-names: required clock name. > +- #phy-cells: Number of cells in a PHY specifier; Should be 0. > + > +MIPI RX D-PHY use registers in "general register files", it > +should be a child of the GRF. > + > +Optional properties: > +- reg: offset and length of the register set for the device. > +- rockchip,grf: MIPI TX1RX1 D-PHY not only has its own register but also > + the GRF, so it is only necessary for MIPI TX1RX1 D-PHY. > + > +Device node example > +------------------- > + > +grf: syscon@ff770000 { > + compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd"; > + > +... > + > + dphy: mipi-dphy { > + compatible = "rockchip,rk3399-mipi-dphy"; > + clocks = <&cru SCLK_MIPIDPHY_REF>, > + <&cru SCLK_DPHY_RX0_CFG>, > + <&cru PCLK_VIO_GRF>; > + clock-names = "dphy-ref", "dphy-cfg", "grf"; > + power-domains = <&power RK3399_PD_VIO>; > + #phy-cells = <0>; > + }; > +};