Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1143889ybb; Thu, 28 Mar 2019 21:17:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyqNUiwHDZ1g4B/2xzCIr4d5VbTS8DFWrDt3IJYFtYazmGdubs23OjG70zg6yHXMwlWY5C X-Received: by 2002:a17:902:ba8b:: with SMTP id k11mr37888650pls.40.1553833021221; Thu, 28 Mar 2019 21:17:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553833021; cv=none; d=google.com; s=arc-20160816; b=XLRG4/WezT0qiwocRoUEXkaqMPzk3yEAtxrP41K+hXFUT+5e0pU7Pk4kZV80slnngR 0SOD0WVZxo924amITStpBRJ7MqHpxFbZLPTY1Z2kxFZ7N7gyBLupNi84lKcOOUwg2iO2 Lb5LZLMebghC6fQe5WkJVkk4W5VbKvWeIHVmmZmJHZagwG8PNMuaTz6eLYJuGl0AynvW UXh1DKzHM88tSzwtahvOyOBqOLh3ZxyP/Ou51Dm0SvdW4eLjvvO791aC2/NRuMDrGFRz n/iN+ucsiqNmxlqdY2XMjr24E/jOeKApu47WbTjzCa17/hqIz99Nkmn1q+th9uJMT6SK targ== 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=i3m8GgFAVv0s34FVzJ5zxGBDo5TXb3T+QArnBPfSarCVm5Spw+UPx0E65Szsofzu+u wAojgED0Ufly0RCWlhZd2FMED+hEMn+Tu2sKwjcQgDZzxOyWZVJCicmEWQ9Bk9QUJj0r hnRkuI3kV/RPbdyrZRMkL647GZbLLtcmIoJ+0b+Dtd85NDreGa7anD7B9o4X0MdQ80sk yisrif8W2fBb4RpCj2XLeYGU9JpPx8webUYCdFBtAlkkq/GkFK0pvJY8XqcKkQv37x+m qlxEVJB07vACJoYTzMwPpmZJAns7bxKXSWzg6MGhBa7U1+MqYc/XENnKOhZOnB/KJxqc +zlA== 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 r63si979358plb.94.2019.03.28.21.16.45; Thu, 28 Mar 2019 21:17:01 -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 S1726725AbfC2EO2 (ORCPT + 99 others); Fri, 29 Mar 2019 00:14:28 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:5762 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725385AbfC2EO1 (ORCPT ); Fri, 29 Mar 2019 00:14:27 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 1271DB581EB8826C502E; Fri, 29 Mar 2019 12:14:25 +0800 (CST) Received: from vm100-107-113-134.huawei.com (100.107.113.134) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.408.0; Fri, 29 Mar 2019 12:14:15 +0800 From: Yu Chen To: , , CC: , , , , , , , , , , , , , , Yu Chen , Rob Herring , Mark Rutland , Binghui Wang Subject: [PATCH v5 01/13] dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY Date: Fri, 29 Mar 2019 12:13:57 +0800 Message-ID: <20190329041409.70138-2-chenyu56@huawei.com> X-Mailer: git-send-email 2.15.0-rc2 In-Reply-To: <20190329041409.70138-1-chenyu56@huawei.com> References: <20190329041409.70138-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