From patchwork Fri Dec 5 12:52:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: LiYunzhi X-Patchwork-Id: 5443661 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0A2EB9F456 for ; Fri, 5 Dec 2014 12:53:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 439D720353 for ; Fri, 5 Dec 2014 12:53:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A64D02024D for ; Fri, 5 Dec 2014 12:53:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XwsOA-0005Iv-AN; Fri, 05 Dec 2014 12:53:38 +0000 Received: from lucky1.263xmail.com ([211.157.147.131]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XwsNy-0005BH-EX for linux-rockchip@lists.infradead.org; Fri, 05 Dec 2014 12:53:30 +0000 Received: from lyz?rock-chips.com (unknown [192.168.167.129]) by lucky1.263xmail.com (Postfix) with SMTP id B711F1000B; Fri, 5 Dec 2014 20:52:54 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id 586B412832; Fri, 5 Dec 2014 20:52:52 +0800 (CST) X-RL-SENDER: lyz@rock-chips.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: lyz@rock-chips.com X-UNIQUE-TAG: <4eb84a883b0d5796914490ce7d2dd795> X-ATTACHMENT-NUM: 0 X-SENDER: lyz@rock-chips.com X-DNS-TYPE: 0 Received: from unknown (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith SMTP id 21220OUF7DI; Fri, 05 Dec 2014 20:52:53 +0800 (CST) From: Yunzhi Li To: heiko@sntech.de, dianders@chromium.org Subject: [PATCH v2 2/5] Documentation: bindings: add doc for the Rockchip usb PHY Date: Fri, 5 Dec 2014 20:52:18 +0800 Message-Id: <1417783941-2418-3-git-send-email-lyz@rock-chips.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1417783941-2418-1-git-send-email-lyz@rock-chips.com> References: <1417783941-2418-1-git-send-email-lyz@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141205_045327_205506_63C2398E X-CRM114-Status: UNSURE ( 5.21 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) Cc: huangtao@rock-chips.com, Mark Rutland , Pawel Moll , linux-rockchip@lists.infradead.org, Ian Campbell , linux-kernel@vger.kernel.org, zyw@rock-chips.com, devicetree@vger.kernel.org, Rob Herring , Yunzhi Li , Kumar Gala , olof@lixom.net, cf@rock-chips.com, ulrich.prinz@googlemail.com X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document the bindings of the Rockchip usb PHY driver. Signed-off-by: Yunzhi Li --- .../devicetree/bindings/phy/rockchip-usb-phy.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/rockchip-usb-phy.txt diff --git a/Documentation/devicetree/bindings/phy/rockchip-usb-phy.txt b/Documentation/devicetree/bindings/phy/rockchip-usb-phy.txt new file mode 100644 index 0000000..4574696 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/rockchip-usb-phy.txt @@ -0,0 +1,22 @@ +ROCKCHIP USB2 PHY + +Required properties: + - compatible: rockchip,rk3288-usb-phy + - rockchip,grf : phandle to the syscon managing the "general + register files" + - #phy-cells: must be 1 + +Optional Properties: + - clocks : phandle + clock specifier for the phy clocks + - clock-names : + "usbphy0" - PHY clock for OTG controller + "usbphy1" - PHY clock for HOST0 controller + "usbphy2" - PHY clock for HOST1 controller + +Example: + +usbphy: phy { + #phy-cells = <1>; + compatible = "rockchip,rk3288-usb-phy"; + rockchip,grf = <&grf>; +};