Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2607597imc; Tue, 12 Mar 2019 18:41:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOturMlpyEMv2cnxp7P3tKdUVqonMJ4oGrABJTeuYq1X0SEULt09uaiovr+B/d7+Ycb6Oh X-Received: by 2002:a63:4f0e:: with SMTP id d14mr6881944pgb.105.1552441274224; Tue, 12 Mar 2019 18:41:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552441274; cv=none; d=google.com; s=arc-20160816; b=v02JfMCYu9Fne8biURshKGQv9KZzU87UkBvraXL+P40S6ma5HVhgrUbSI2TpMpwC6P cc/sQtKyC4BzZDGR2iteSBxDY35OnAE5+uuzICzHrOMerOWUBCiyQWJ+Rf8ZF/K2vUwH /muulM1/UduyaHNkD803YH9GEsmbEolQAK77abiXlJlROc4v6GoslZcODvBt9d9r7Oh8 nvDR0uG9zGQqggJTVq4GZedlsjt/1FIGV8Kip9hIFFiB97IHHJCw5QH3x0Q9Iyr18fNs k4Dc9xRmYHgH0P35IdIyOGHM7A+I1qJNF6JjyzhxzZ6YsS0U1irVRZHHlBM/TSQacQ/u WAhQ== 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:to:subject:cc; bh=WPaSUdOTstJERO5bE4cFAAKJ4lcDQlI5TgZH3MkrHJc=; b=BuJakjc+88dqd1Tr2eeYj8JR7CYkJm2QfCSWWk2rSGPmWCOcN5CIUeZkJkFpOZ7Eq+ DF4QA0dgOh8srlfpZHq1arVJG0AXqrF0ZWwGxun6G/JJbYzyE1R/m75PtkpvL+6poY+d ab2ehy1/3BYyRrh+GnsDda3eSbpE3dM/PoXusjmpfrLMT9MbcL6zmLp2AIkUnd4+ko7I C8/VqI1Z7oopei8mhHLw3QFmGhx2Ef0rukN2Pq1MsPLC2paWODFmID5wwjbX21YuGhhZ bfSTYEkmrXA4c26pOa7Ou4ZZ1pD7g/jj9/Un7hoag1TBN8+EDWMcWIj6pTz06gW/II3n MRTA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z13si8549312pgp.34.2019.03.12.18.40.58; Tue, 12 Mar 2019 18:41:14 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726623AbfCMBkj (ORCPT + 99 others); Tue, 12 Mar 2019 21:40:39 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:4677 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726365AbfCMBkj (ORCPT ); Tue, 12 Mar 2019 21:40:39 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id ABBF65E459BFAD0C34FF; Wed, 13 Mar 2019 09:40:36 +0800 (CST) Received: from [127.0.0.1] (10.142.63.192) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.408.0; Wed, 13 Mar 2019 09:40:26 +0800 CC: , , , , , , , , , , , , , , , , , Mark Rutland , "Binghui Wang" Subject: Re: [PATCH v3 01/12] dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY To: Rob Herring References: <20190302090505.65542-1-chenyu56@huawei.com> <20190302090505.65542-2-chenyu56@huawei.com> <20190312134525.GA9706@bogus> From: Chen Yu Message-ID: <594394e2-c399-39db-979a-fadb17ef28df@huawei.com> Date: Wed, 13 Mar 2019 09:40:25 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20190312134525.GA9706@bogus> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.142.63.192] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On 2019/3/12 21:45, Rob Herring wrote: > On Sat, Mar 02, 2019 at 05:04:54PM +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 >> v3: >> * Make device node a subnode of usb3_otg_bc register. >> --- >> --- >> .../devicetree/bindings/phy/phy-hi3660-usb3.txt | 28 ++++++++++++++++++++++ >> 1 file changed, 28 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..6096214a2bc6 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/phy/phy-hi3660-usb3.txt >> @@ -0,0 +1,28 @@ >> +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. > > You can drop this as it is now just the parent node. > >> +- hisilicon,eye-diagram-param: parameter set for phy >> +Refer to phy/phy-bindings.txt for the generic PHY binding properties >> + >> +This is a subnode of usb3_otg_bc register node. >> + >> +Example: >> + usb3_otg_bc: usb3_otg_bc@ff200000 { >> + compatible = "syscon", "simple-mfd"; > > This node should have a specific compatible. > Do you mean I need write a specific driver for this node ? >> + reg = <0x0 0xff200000 0x0 0x1000>; >> + >> + 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>; >> + hisilicon,eye-diagram-param = <0x22466e4>; >> + }; >> + }; >> -- >> 2.15.0-rc2 >> > > . > Thanks Yu Chen