Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp1048685imb; Sat, 2 Mar 2019 01:07:38 -0800 (PST) X-Google-Smtp-Source: APXvYqyhY22G9pYCixSx60o4zrP1IwUo7InnJGbNSyXEXotorZotLpnUUqfrB7x0r1Y3j1LE+1FM X-Received: by 2002:a63:3087:: with SMTP id w129mr8921477pgw.199.1551517657958; Sat, 02 Mar 2019 01:07:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551517657; cv=none; d=google.com; s=arc-20160816; b=V2mKoBqVYbuxJFjOK5yBUmmZBEW8a1wNEPVYTBpEUqsd6WySxvsHR1Oj+n5RVhyVD9 1PlC/6wJPP+GZjtyH9p5aDvy0qoNltlFMwgjNlSFwO24/HKOGRwtwp9p9EzZRJN6ouOH 0vSIwXQRTR63KZcZVASxA0GbkWoTjr0/aUiuh/uWYg9TC7dfdxb7ALfaSvGSb95/nM9Y BLimNqQhqc+jksn30UE7OQC4sA4WBBUKT7o/iPJeWQKHmSlvFbKvaSw+1QMuAvly+m8y 0hkb8nBk9kd8gggGxFPuJWGNAyYaewXip0YOe/lGe7WUbzWT2/f07Vv1QQGf2380WfUH Fp7A== 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=Vko9jLHXwTXgbLM0lgQR+BaXxA8E6wcd3v8lpjuft58=; b=KI419UgzT42iz3ikEqe0YLigTMETwpdFCl6rPIB6agy4kqSovfjUGxkCmabwDJw9RA DRfBqj83/F9ngOzmASsF1v3Cp3d78cTvNhAma9cvvz1xxNU58+7VV238Jg329xkDDb9p 9Dv2X95pRaSU+/KPyoZQVpOnTtu9ZwzlSLtWB5FjGcAkMwV+dF71Ct2zWFh1bxG/YIfo 53HKXwRARTvroi8+r0b14Q6b6B4WKSkka/L36w+IigNzDWKRK0/NKGq5HR754DYe18EK 8QHSHnEnFbl9ZjV2nEdyc3GreHJRmppoE5fk3ZVhPI9KZtvDCX0qa3U0KbtpU8xAeaOu tQnw== 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 w1si291256pgr.92.2019.03.02.01.07.22; Sat, 02 Mar 2019 01:07:37 -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 S1727784AbfCBJFi (ORCPT + 99 others); Sat, 2 Mar 2019 04:05:38 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:4193 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726733AbfCBJFe (ORCPT ); Sat, 2 Mar 2019 04:05:34 -0500 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id DC7D2246999FBD6DBB38; Sat, 2 Mar 2019 17:05:30 +0800 (CST) Received: from vm100-107-113-134.huawei.com (100.107.113.134) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.408.0; Sat, 2 Mar 2019 17:05:20 +0800 From: Yu Chen To: , , CC: , , , , , , , , , , , , , , Yu Chen , Rob Herring , Mark Rutland , Binghui Wang Subject: [PATCH v3 01/12] dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY Date: Sat, 2 Mar 2019 17:04:54 +0800 Message-ID: <20190302090505.65542-2-chenyu56@huawei.com> X-Mailer: git-send-email 2.15.0-rc2 In-Reply-To: <20190302090505.65542-1-chenyu56@huawei.com> References: <20190302090505.65542-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 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. +- 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,usb3-otg-bc-syscon = <&usb3_otg_bc>; + hisilicon,eye-diagram-param = <0x22466e4>; + }; + }; -- 2.15.0-rc2