From patchwork Wed Jul 26 06:06:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiancheng Xue X-Patchwork-Id: 9864303 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 877676038F for ; Wed, 26 Jul 2017 06:38:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76AFB286D5 for ; Wed, 26 Jul 2017 06:38:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69C202872E; Wed, 26 Jul 2017 06:38:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0B15B286D5 for ; Wed, 26 Jul 2017 06:38:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WbXnavu1Zum5sb0tn9tDF6Gi2Ltr3f/ptEdB458Zocs=; b=cEuU75OYrbFSSK h5d7ZwFJowvkvvG8K+hcmuVbO6k3pq23W5ylrYuiTNJ/j7Dlb4t+ah5AKKmwrJVzrYzNLM1/0jzl0 8qcbH7Yk+Aa3+zU9IfRoo1x874BhJ8CHDwNtjwHf7g33zt0mkV4E8RAYn1ap+SGPsa749PCgcK/WN xVSU+1zqGV/LS/9dcEsdeHdAGl1fCO87jAEpiGp+fOveG+HK+W3c4sAz/dvZFPsNIwkuQRo4HPcxZ 6rJus6gZuQxLey71oigiJ9zi17Aw/x245gdWl8OmqU5XK445xpcYv+tmC7I1i9sdgfdS2oUlsKAjc mXy1qwgASLPd0DSOLDww==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1daFxT-0007Ru-Fb; Wed, 26 Jul 2017 06:38:11 +0000 Received: from szxga01-in.huawei.com ([45.249.212.187]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1daFty-00048o-5V for linux-arm-kernel@lists.infradead.org; Wed, 26 Jul 2017 06:34:37 +0000 Received: from 172.30.72.56 (EHLO DGGEML404-HUB.china.huawei.com) ([172.30.72.56]) by dggrg01-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id ATB18028; Wed, 26 Jul 2017 14:30:07 +0800 (CST) Received: from wind-Tecal-RH2285.huawei.com (10.67.212.71) by DGGEML404-HUB.china.huawei.com (10.3.17.39) with Microsoft SMTP Server id 14.3.301.0; Wed, 26 Jul 2017 14:29:57 +0800 From: Jiancheng Xue To: , , , Subject: [PATCH v2 1/4] dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy Date: Wed, 26 Jul 2017 14:06:00 +0800 Message-ID: <1501049163-18892-2-git-send-email-xuejiancheng@hisilicon.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501049163-18892-1-git-send-email-xuejiancheng@hisilicon.com> References: <1501049163-18892-1-git-send-email-xuejiancheng@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.71] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.597836EF.011F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 34fe8d8a317cb9bad0da532d41a94db0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170725_233434_587583_D02A2931 X-CRM114-Status: GOOD ( 10.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, project-aspen-dev@linaro.org, Jiancheng Xue , hermit.wangheming@hisilicon.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for hisi-inno-usb2 phy. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/phy/phy-hisi-inno-usb2.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt diff --git a/Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt b/Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt new file mode 100644 index 0000000..417eeaa --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt @@ -0,0 +1,31 @@ +HiSilicon INNO USB2 PHY +----------------------- +Required properties: +- compatible: Should be one of the following strings: + "hisilicon,inno-usb2-phy", + "hisilicon,hi3798cv200-usb2-phy", +- #phy-cells: Shall be 0. +- hisilicon,peripheral-syscon: Phandle of syscon used to control phy. +- hisilicon,phycon-reg: Offset of the phy control register in the syscon. +- hisilicon,port-num: Number of utmi ports. Range [1,2]. +- clocks: Phandle and clock specifier pair for reference clock utmi_refclk. +- resets: List of phandle and reset specifier pairs for each reset signal +in reset-names. +- reset-names: Shall be "power_on", "utmi0", "utmi1". Thereinto, utmi[n] is +required only if port[n] exists. + +Refer to phy/phy-bindings.txt for the generic PHY binding properties + +Example: +usb2_phy: phy { + compatible = "hisilicon,inno-usb2-phy"; + #phy-cells = <0>; + hisilicon,peripheral-syscon = <&peri_ctrl>; + hisilicon,phycon-reg = <0x120>; + hisilicon,port-num = <2>; + clocks = <&crg USB2_PHY_UTMI_REF_CLK>; + resets = <&crg 0xbc 2>, + <&crg 0xbc 8>, + <&crg 0xbc 9>, + reset-names = "power_on", "utmi0", "utmi1"; + };