Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp178655yba; Fri, 19 Apr 2019 23:42:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxteBoNA9iEDoLVFdoZmEKcQq8apCCl4FXKSsv1kqb3puMVdtUgqBp4UoVbuzMA5eRb8zT3 X-Received: by 2002:a63:5a1d:: with SMTP id o29mr8015609pgb.320.1555742545186; Fri, 19 Apr 2019 23:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555742545; cv=none; d=google.com; s=arc-20160816; b=oefYWa0NpCriOC+kmWVGumqfsJwgoS2p7j2HmNWSnnCODduSrjG7QNsDD+1emHdR3G JDobeEGTWe7IrihxclJXvkdLAriEK4BpdKTcEx/OS3Z9XclV5AUhy+aK9OLGsTK2k7V2 QdLDKJoStxkbARGPDkSLuc9eXix4mEhbsQO49H05dDP6yBgNbRkvV3yvjwR5jleFGGl9 FFwmIqxjoBS22yzudvvgYAXEWw4DZqmZLqDw7TQIRplasO7Z7HEvp5+S/HdIb0vzVksG ona1JfPpyVCO0J2SbbzjTUPQjFvzbSIpvYk7nR9un391XEMCwGE6ZLnVhZLsxG9YHDU3 lE9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=kurgE3ivlDlsg4QDwejp7j/d31hy0fZEoZ4CHLTuhq8=; b=LOgBzSrMRmhUY2RN9PUcB8KKm7a4AKocrLw4lnSHStTTbFHSJ0D4p1tfGFZc/FWWPF Kv9BGnsdq6ZIrqCMUh0E02pIhiUm4qOa4M5vVAMm0AIKwzQc32Frp+e1Rx7crnBJOgy5 OpaEbpO4kYy76oHVOB6dCgDKuj6YC3m6E8FDJwWIBHIkJItwsFhcr5SBX4BCin1FLmDt RrQqU/39FuU4yjJKWeVzup+2ipSR9W/NwdTWy0znZDmLD6bffD3RYhRmNcgmKMICUCt8 eOpNPab/AWE4xoselypLy9OZB92gZv4ffbSFpapPgYVxhqfkYG4NxPZryBOaG8vPNfNC kN6g== 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 92si7191144plw.138.2019.04.19.23.42.07; Fri, 19 Apr 2019 23:42:25 -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 S1727962AbfDTGkj (ORCPT + 99 others); Sat, 20 Apr 2019 02:40:39 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:39396 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727273AbfDTGkj (ORCPT ); Sat, 20 Apr 2019 02:40:39 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 5FF6A20016B86DFC1026; Sat, 20 Apr 2019 14:40:34 +0800 (CST) Received: from vm100-107-113-134.huawei.com (100.107.113.134) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.408.0; Sat, 20 Apr 2019 14:40:23 +0800 From: Yu Chen To: , , CC: , , , , , , , , , , , , , , Yu Chen , Rob Herring , Mark Rutland , Binghui Wang Subject: [PATCH v6 01/13] dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY Date: Sat, 20 Apr 2019 14:40:07 +0800 Message-ID: <20190420064019.57522-2-chenyu56@huawei.com> X-Mailer: git-send-email 2.15.0-rc2 In-Reply-To: <20190420064019.57522-1-chenyu56@huawei.com> References: <20190420064019.57522-1-chenyu56@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [100.107.113.134] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Rob Herring 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. v4: * Remove "hisilicon,usb3-otg-bc-syscon" property --- --- .../devicetree/bindings/phy/phy-hi3660-usb3.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 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..e88ba7d92dcb --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-hi3660-usb3.txt @@ -0,0 +1,26 @@ +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,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"; + 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,eye-diagram-param = <0x22466e4>; + }; + }; -- 2.15.0-rc2