Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2791435imj; Mon, 18 Feb 2019 12:18:49 -0800 (PST) X-Google-Smtp-Source: AHgI3IZl/rwdmX/YsLV8vS+aM6Iy82CRoQJ7c8zvWhEVa1k7Ta55A69JR/Al9NWakRJKTQ3AjFF0 X-Received: by 2002:a63:1616:: with SMTP id w22mr20145085pgl.200.1550521129782; Mon, 18 Feb 2019 12:18:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550521129; cv=none; d=google.com; s=arc-20160816; b=WIe6MfR7fprpSsMGpeR05OlYWMQAVr44sMQzn5/SMAeqmV+stSAsixIs5ehA1ipWuc JOZj4euA84wxNLrFpsllHfOMj1Bo8/drB8PGhPA2rbtu8UufRnrm8wA8xmdmgnFdDE3g h9r2L28a+Dz2gTZchO0ZQinFLzzG1vAC1uHcD9cFacpkt+RTnvp5DrqFo8aFIavLd6vY gEEAqUSLmGDE7feeNrwayJq9D+yT/9B3HHJv0Bo7Qi12ukWvtA/EESX+nTqISVw3b28m uT2xhEzEBv56YrOUDgRhtPqv/VPLmDEL2TMzUsR+w7C2wWRer3NoKNHvGEb/FP5cHP7W OMSQ== 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=r1ytODxJTkjHzSrC1XUggLa4jgS5IIoI8A4eC9IUnps=; b=kSzarl2M1+QBaRqxNiQGFvblGnDricxYTgY1l2Cmo6bSl7z+RD+T6mdajHEVtkoUO3 RPGRlE2ZXc6En/+Q6JD3tRL0/yfytRxWYyUw1qPyx/etdXFZ099LkODcUdth/peFeySL HjMKlcv8y7J2rux6Q+dbVqyHsKKUaYn7IswyDssE3eu7JJMZEWQg/qDwe+1E1f0AFhOu UkocZHyLMfZ012SUPQ8/7RMGUbUCDirStSyRGNUfEHXt4MH8J4bLoWFxFe0DmlbHKvdc NXoVzW5pOSRwCScRhbeCTAbPbJH0idARvkdzk8fuD4aW2Dsv7gm4V0AXN33Qi2xPCKy2 omqA== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j64si10783194pgd.126.2019.02.18.12.18.34; Mon, 18 Feb 2019 12:18:49 -0800 (PST) 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728957AbfBRUS1 (ORCPT + 99 others); Mon, 18 Feb 2019 15:18:27 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:34997 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727400AbfBRUS0 (ORCPT ); Mon, 18 Feb 2019 15:18:26 -0500 Received: by mail-ot1-f68.google.com with SMTP id z19so30471462otm.2; Mon, 18 Feb 2019 12:18:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=r1ytODxJTkjHzSrC1XUggLa4jgS5IIoI8A4eC9IUnps=; b=O88akpICzHMjJwueHZO/oLVdzsbdE1yxnodQWLuLajTSJkzI78nwrbwJyjfnHd5kbP jcbXUBAaSMI0M08UQbcJOvSiOpMAT2pfRe16HpEmMoyEA3Y96OkQMjbhHGwCV7db6ZRr Sgs5RAyzXFM8/17cg07hQXhPCNoOP0ykwo5EDbndUbe9g7VPN6yiVdf60ce5X+J/SeUW igmMQBQu7ynR/gYDvxVB1UnqFlwOETIySLVr9/60yj+88jllqGpc58gBqFwPSRipvrpQ YgZEXas0NLztheTiAcBApYfA3N3p49BA6WMAnumsyWMQ99OE3svkoMnuIL5cK0A60XEU 83ZQ== X-Gm-Message-State: AHQUAuZ8dnQ2zb5B+RPGb4EItb8Uyn6x0zTGl8e36C8Q3mlgkEY4Ul99 L8MkgJ/t7k/9K4QAycZYeL89PRMVIQ== X-Received: by 2002:aca:cd0c:: with SMTP id d12mr382612oig.49.1550521105519; Mon, 18 Feb 2019 12:18:25 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id k130sm6701796oia.47.2019.02.18.12.18.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 12:18:25 -0800 (PST) Date: Mon, 18 Feb 2019 14:18:24 -0600 From: Rob Herring To: Yu Chen Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, john.stultz@linaro.org, suzhuangluan@hisilicon.com, kongfei@hisilicon.com, liuyu712@hisilicon.com, wanghu17@hisilicon.com, butao@hisilicon.com, chenyao11@huawei.com, fangshengzhou@hisilicon.com, lipengcheng8@huawei.com, songxiaowei@hisilicon.com, xuyiping@hisilicon.com, xuyoujun4@huawei.com, yudongbin@hisilicon.com, zangleigang@hisilicon.com, Mark Rutland , Binghui Wang Subject: Re: [PATCH v2 01/10] dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY Message-ID: <20190218201824.GA23724@bogus> References: <20190218112310.17860-1-chenyu56@huawei.com> <20190218112310.17860-2-chenyu56@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190218112310.17860-2-chenyu56@huawei.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 On Mon, Feb 18, 2019 at 07:23:01PM +0800, Yu Chen wrote: > This patch adds binding documentation for supporting the hi3660 usb > phy on boards like the HiKey960. > > Cc: Rob Herring > Cc: Mark Rutland > Cc: John Stultz > Cc: Binghui Wang > Signed-off-by: Yu Chen > --- > v1: > * Fix some format error as suggested by Rob. > v2: > * Change hi3660 usb PHY to hi3660 USB PHY > --- > --- > .../devicetree/bindings/phy/phy-hi3660-usb3.txt | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/phy-hi3660-usb3.txt > > diff --git a/Documentation/devicetree/bindings/phy/phy-hi3660-usb3.txt b/Documentation/devicetree/bindings/phy/phy-hi3660-usb3.txt > new file mode 100644 > index 000000000000..f9a3d56cfdd2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/phy-hi3660-usb3.txt > @@ -0,0 +1,21 @@ > +Hisilicon hi3660 USB PHY > +----------------------- > + > +Required properties: > +- compatible: should be "hisilicon,hi3660-usb-phy" > +- #phy-cells: must be 0 > +- hisilicon,pericrg-syscon: phandle of syscon used to control phy. > +- hisilicon,pctrl-syscon: phandle of syscon used to control phy. > +- hisilicon,usb3-otg-bc-syscon: phandle of syscon used to control phy. > +- hisilicon,eye-diagram-param: parameter set for phy > +Refer to phy/phy-bindings.txt for the generic PHY binding properties > + > +Example: > + usb-phy { > + compatible = "hisilicon,hi3660-usb-phy"; > + #phy-cells = <0>; > + hisilicon,pericrg-syscon = <&crg_ctrl>; > + hisilicon,pctrl-syscon = <&pctrl>; > + hisilicon,usb3-otg-bc-syscon = <&usb3_otg_bc>; Are most of the registers within one of these blocks? If so, make this node a child of that node. > + hisilicon,eye-diagram-param = <0x22466e4>; > + }; > -- > 2.15.0-rc2 >