Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3060601imj; Mon, 18 Feb 2019 18:49:29 -0800 (PST) X-Google-Smtp-Source: AHgI3IZd2Aom1mV47MR12KbTyDdXoBy8ulpAk0OxLZ8ftTPVDRJrXL0i6Oa3LwKnU3zLrA/WGDjv X-Received: by 2002:a63:1544:: with SMTP id 4mr22116590pgv.290.1550544569701; Mon, 18 Feb 2019 18:49:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550544569; cv=none; d=google.com; s=arc-20160816; b=sLOWDtn2ML6y4aEp1Iykufn3svyzT5aHW3WzNeNbccFVhktOW9XzdyOJIhRKWy2+s/ ot0DDW6NXmPvUkOAjjNLyxiDiRaV/a+5IynTz4r4eSyv3dTc0sVC+qnoWQ8jDn7NkrUs J7KL07M5VGkzwUNWbbK+6pZYaawoFhINrdthOU6mAxm9Tu3l7jTE5BAZikKTW3B2f6G4 qk+e+AqqOd6/1eICgtD6XPHIfkEv6NvtGs+ozTUL97/vWrDbUkCbawPb4LU+A/EifVbo J8xWadfj7u7XhqvwbDwiaqCoPUg2ci8edxbYt3jo4sc9vlgjEco+OaOaQoGb2+1169dG J1Wg== 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=O2CBh2b9sHqwBvWb0N25wLX+HXTxDqmX/JmJgoyZfYg=; b=Qx3av1lMLC0oTknnJ2wl6Dbhj2QHd5bg/PVwlYEMMARBnvPrdkM1nYWBwiBQCuh2Bx 7hMRemo5GQf5vP+OzE0cPnvrGrlgrs1scQYnb6u4lj2VG3Ytycwt47DaSI/PGjzfZ+o1 oyn0690xfGCmOmcfPKWhxc7TQHaLc3jyR4TmbFOVPRKMiEnUfZyMoCfPyHMhhCdbmFUD dFQB6/KzCn8Sdnoqmaqw3rUa2gecnxbIpBw6sEgVsY9VzawmdGizssL6+0ptUUGXaAIy o9HY7EdCqjtpnZ9pAiJKAoEh9DWW12ud8ceTDsh0ZhxKMZUvFzQOofKJX9u7k549f80l JEWw== 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 w8si8903556pgp.320.2019.02.18.18.49.14; Mon, 18 Feb 2019 18:49:29 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733093AbfBSBvC (ORCPT + 99 others); Mon, 18 Feb 2019 20:51:02 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:38828 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732932AbfBSBvB (ORCPT ); Mon, 18 Feb 2019 20:51:01 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 03BE68D2004CDAD464E7; Tue, 19 Feb 2019 09:50:59 +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; Tue, 19 Feb 2019 09:50:51 +0800 CC: , , , , , , , , , , , , , , , , , Mark Rutland , "Binghui Wang" Subject: Re: [PATCH v2 01/10] dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY To: Rob Herring References: <20190218112310.17860-1-chenyu56@huawei.com> <20190218112310.17860-2-chenyu56@huawei.com> <20190218201824.GA23724@bogus> From: Chen Yu Message-ID: Date: Tue, 19 Feb 2019 09:50:49 +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: <20190218201824.GA23724@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, On 2019/2/19 4:18, Rob Herring wrote: > 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. I met a problem when I made this node a child of the syscon node, the driver "phy-hi3660-usb3" was not probed. Do you have any idea about how to make it probed when it is a child node? > >> + hisilicon,eye-diagram-param = <0x22466e4>; >> + }; >> -- >> 2.15.0-rc2 >> > > . > Thanks Yu Chen