Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3246925imc; Wed, 13 Mar 2019 12:39:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqzci0bTWaM+f7wSJrEuYJRcrLtyXZWYttLNhBDiimX4FNdnkCQuZGrBfMGtwkRriX5zwN7U X-Received: by 2002:a63:6e8d:: with SMTP id j135mr41449506pgc.160.1552505943222; Wed, 13 Mar 2019 12:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552505943; cv=none; d=google.com; s=arc-20160816; b=syk2efMbFfb8PWlvG0y4TPjzmooJgTWY4w5zhcrEBrK9m8nXoPK1Y+2bDHqGS+d1J3 w+TW+Y+wqVS3ZBAyZ1ffEL2/s1cDXfKUz+XKcJyAhiC7S5HJ5VbpbpZ6Da3jRhiN01/1 mcDrIz5jH3f3GYpJOteZCu52OXMjmqlkk6gtMa9yficiJ4s7J5zryCJhw6c7IgDA9MyR B5qvFQzbAdXFhvcsGmL2rJmMbxN93KhB0c93PCZj1ykShXYSC1jw2pp1Aq39oUONaZjB qfw1Z0xvSZRAJKLXhFq4rAFDjgFP34wKTFTymxbmT4AyTsIm9dGbRKxdOio3rheFIGLr AMCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=m7K6+1vmfvtGBEvYZUyLROzzsZOXYpD7MkymPCFzN4o=; b=r5bB9Wpif6lJKhD9ApO15bikXivz7RqDkYP314B6i3U/DAC5ys4bQS/tp7bGczmUUJ es3AAGr4XbgOGITIIQh874VJWaGtD6nr5K6ITbylYzjA6sT7fPHvZGo4E0uXq+DhEHh8 F8lUVFvZQTxhiAUhyh/1THMT3EpNgA3zbuLL2tjMp1yxSJcK2uilwcFRxUUhhNTI9NUu oyfWoslOK8hKfqEBBCi9hPD4V7iwuu5W4R78w86ICxWNyvBsEGfQIdON40433sM4cm9G 75YbDIDrFJCvygcR2RlDOtzVoNViEvSjFEJGXAiYvJnYyYJpx22NOF4drIYQtk2txblR 51LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VNqxZNoX; 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=pass (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 l189si10501306pgd.246.2019.03.13.12.38.46; Wed, 13 Mar 2019 12:39:03 -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; dkim=pass header.i=@kernel.org header.s=default header.b=VNqxZNoX; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726857AbfCMTi0 (ORCPT + 99 others); Wed, 13 Mar 2019 15:38:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:59658 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726396AbfCMTiZ (ORCPT ); Wed, 13 Mar 2019 15:38:25 -0400 Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 45B152146E; Wed, 13 Mar 2019 19:38:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552505904; bh=rfkW1Xv7uiiz6cELg2hTaWNDQDofEY5onB7og4LYjL0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VNqxZNoX/tmjldTjbiVqIBqVEqzZbs/9QCYs8bu12rPvQMlPzhJp0W3kyMMWGLsxR TG3s+TnSU+rIu9bYznxh6QTfTP+oite3YahPnXqDe2KlqzpDBfFF6ucez3mWri39Fy Ce7p4amRDAM8oIpvZ+NUmIrikZjnYV/Hv6DyCBD4= Received: by mail-qt1-f177.google.com with SMTP id f11so3351349qti.7; Wed, 13 Mar 2019 12:38:24 -0700 (PDT) X-Gm-Message-State: APjAAAW62rNFztoeomF9l3v/AklNOGaBM7CBDpRylDSkuiuvTUWMHFB6 XoP5Vkqjo6ND1TeyedszGHXttX1bRIVyOBmdzA== X-Received: by 2002:ac8:267c:: with SMTP id v57mr8108412qtv.76.1552505903477; Wed, 13 Mar 2019 12:38:23 -0700 (PDT) MIME-Version: 1.0 References: <20190302090505.65542-1-chenyu56@huawei.com> <20190302090505.65542-2-chenyu56@huawei.com> <20190312134525.GA9706@bogus> <594394e2-c399-39db-979a-fadb17ef28df@huawei.com> In-Reply-To: <594394e2-c399-39db-979a-fadb17ef28df@huawei.com> From: Rob Herring Date: Wed, 13 Mar 2019 14:38:12 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 01/12] dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY To: Chen Yu Cc: liuyu712@hisilicon.com, Linux USB List , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , John Stultz , Suzhuangluan , kongfei@hisilicon.com, wanghu17@hisilicon.com, butao@hisilicon.com, chenyao11@huawei.com, fangshengzhou@hisilicon.com, Li Pengcheng , Song Xiaowei , Yiping Xu , xuyoujun4@huawei.com, yudongbin@hisilicon.com, zangleigang , Mark Rutland , Binghui Wang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 12, 2019 at 8:40 PM Chen Yu wrote: > > 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 ? No, only that you could if needed in the future. You can still use the fallbacks for now. Rob