From patchwork Mon Oct 23 11:35:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 10022361 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 1A53E601E8 for ; Mon, 23 Oct 2017 11:36:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11E232580E for ; Mon, 23 Oct 2017 11:36:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 041582884C; Mon, 23 Oct 2017 11:36:17 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED 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 8FFC62580E for ; Mon, 23 Oct 2017 11:36:16 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=dgpx9kZ4rxh3wEgBcUP4dt8ZZnHsuDdH39MpoRWWQtg=; b=EV0S8HbzG6aMNRic2O6uPmHFNj ECYFBGFHGWJt4ngLSesAVqsa9vLRD38l5P47V7xzTlR9NCEB0nHJOoQgR04z6RY+c2OkGHqM+4Fjq 6X0xrHY4bcYDrWzhKW39m98c+yIiVH5TRwlQWAqoN98WoS+APuoD8g3t4D1AwqkRQS25Hiw/4sWad LhgwiUKBtAsHjfBSNSXkl1KVGUiX+BuM8EXaACrUoORvAizfhyjRchkVMgDKgUrDGbDa68AE5zwfb pIeur/YrHhZRdu/HeeY7x/cQtVChQ3+Cq8Q+9wxKBfzdn5Ld/qvMIGzvvoVP9k/1t702ooXm3Tdws 27X/QMDA==; 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 1e6b1b-0003m3-HP; Mon, 23 Oct 2017 11:36:07 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e6b1H-0003Ky-Dc for linux-arm-kernel@lists.infradead.org; Mon, 23 Oct 2017 11:35:49 +0000 Received: from localhost.localdomain (li408-84.members.linode.com [106.187.88.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7CED221908; Mon, 23 Oct 2017 11:35:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7CED221908 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=shawnguo@kernel.org From: Shawn Guo To: Kishon Vijay Abraham I Subject: [PATCH v2 1/2] dt-bindings: add bindings doc for HiSilicon INNO USB2 PHY Date: Mon, 23 Oct 2017 19:35:11 +0800 Message-Id: <1508758512-22900-2-git-send-email-shawnguo@kernel.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508758512-22900-1-git-send-email-shawnguo@kernel.org> References: <1508758512-22900-1-git-send-email-shawnguo@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171023_043547_580435_FEB70B6E X-CRM114-Status: GOOD ( 13.39 ) 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, Jiancheng Xue , Rob Herring , Jianguo Sun , Shawn Guo , linux-arm-kernel@lists.infradead.org, Pengcheng Li MIME-Version: 1.0 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 From: Pengcheng Li It adds device tree bindings document for HiSilicon INNO USB2 PHY. Signed-off-by: Pengcheng Li Signed-off-by: Jiancheng Xue Signed-off-by: Shawn Guo --- .../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 000000000000..4ef7af24a703 --- /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: Should be 1. The specifier is the index of the PHY port to + reference. +- hisilicon,peripheral-syscon: The phandle of syscon used to control PHY, + followed by a integer cell which defines the syscon register offset used + to talk to PHY. +- clocks: The phandle and clock specifier pair for reference clock utmi_refclk. +- resets: The list of phandle and reset specifier pairs for each reset signal + in reset-names. +- reset-names: Should contain "power_on", "utmi0" and "utmi1". The "utmi1" + should exist only if the device has two PHY port. + +Refer to phy/phy-bindings.txt for the generic PHY binding properties + +Example: + + usb2_phy1: usb2-phy1 { + compatible = "hisilicon,hi3798cv200-usb2-phy"; + #phy-cells = <1>; + hisilicon,peripheral-syscon = <&peri_ctrl 0x120>; + clocks = <&crg HISTB_USB2_PHY1_REF_CLK>; + resets = <&crg 0xbc 4>, + <&crg 0xbc 8>, + <&crg 0xbc 9>; + reset-names = "power_on", "utmi0", "utmi1"; + };