Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2292025imj; Mon, 18 Feb 2019 03:32:36 -0800 (PST) X-Google-Smtp-Source: AHgI3IYMvoIXRjQpcH9dYbbNlsTEQhc2sY4V0B46uTkt57Sa3qJNYcnzHWSeTcEfZuxHq6qbNjt+ X-Received: by 2002:a17:902:12e:: with SMTP id 43mr25047770plb.31.1550489556564; Mon, 18 Feb 2019 03:32:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550489556; cv=none; d=google.com; s=arc-20160816; b=UeQ+++sVOj1HNDnFUm1mMxLg1II/rtQ+3x3f4fm8BXoJdx1fNCt0E+VB2+eU3jq5hh HhGNKUoa1iZxPi+03G5YLoZiLwJit2/EV/t2NgFvEHPC4BM4smfto2Hd/yYpb9YxhyAt thyeOpNxWjhlhczN6U2XlVkxojPM258W3x7HB2SkdoPctboOvuNAPRPcVizUGulqZo5h lp4mULL83HwPFaeUB295Fp8S6lCPqdcL/uWxdL8Zb7cVeG7bFNMBmNtyaGh1A44y7Oc/ Nh31u1x5JQ2zZ3auWxrTYGKVByxXu4YoasROIz/HEeecayS8ItQxtlUKUhpDUO1nUojv mm/Q== 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=Qx0JYkCaqDy6PW3FdykN+V5KvSXvhRi5S8ZQteZE5Ps=; b=JbrafcPWzKMYzj3SbF62D8EK8sY2SJjJagN3kFoJzq8fV5IUVQjX7EVI+tm9CUHwYr XBkmZ1u+Jjnt63uHyXdRkDVSbFTWIkbBW0pWao2wr2PCP5Vd8hBLz1IneQk+V9C/jJaP P3UJYT9KCxsOqvThALsP0FKy6ttgDXdcDg7pilVNS22UkZs+gVPs0cI7QjgLhYigpCFg sDsWFkduA7AWZTxIYVm7dPyYtESemdRK21Qv49v1Z45zmr9vP2NrFkF54ssEXTGSWDZ/ GyjUr4z7kc98Hl4UsY+orhfPsD9yRuSVobpRj8o7PPwkoOlbQFJ6KXmfpWc/ybBypVtu 7FYg== 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 n10si12969831pgd.57.2019.02.18.03.32.20; Mon, 18 Feb 2019 03:32:36 -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 S1730615AbfBRLXb (ORCPT + 99 others); Mon, 18 Feb 2019 06:23:31 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:3767 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729630AbfBRLXa (ORCPT ); Mon, 18 Feb 2019 06:23:30 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id B6C055F16CFD45D2511A; Mon, 18 Feb 2019 19:23:26 +0800 (CST) Received: from vm100-107-113-134.huawei.com (100.107.113.134) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.408.0; Mon, 18 Feb 2019 19:23:16 +0800 From: Yu Chen To: , , CC: , , , , , , , , , , , , , , Yu Chen , Rob Herring , Mark Rutland , Binghui Wang Subject: [PATCH v2 01/10] dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY Date: Mon, 18 Feb 2019 19:23:01 +0800 Message-ID: <20190218112310.17860-2-chenyu56@huawei.com> X-Mailer: git-send-email 2.15.0-rc2 In-Reply-To: <20190218112310.17860-1-chenyu56@huawei.com> References: <20190218112310.17860-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 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>; + hisilicon,eye-diagram-param = <0x22466e4>; + }; -- 2.15.0-rc2