From patchwork Mon Sep 8 10:33:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 4861241 Return-Path: X-Original-To: patchwork-linux-arm@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 906BA9F35F for ; Mon, 8 Sep 2014 10:35:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78AEF20109 for ; Mon, 8 Sep 2014 10:35:53 +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 2D1482010E for ; Mon, 8 Sep 2014 10:35:52 +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 1XQwGo-0008TV-Q5; Mon, 08 Sep 2014 10:34:02 +0000 Received: from mail-we0-f181.google.com ([74.125.82.181]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XQwGQ-00082o-Ng for linux-arm-kernel@lists.infradead.org; Mon, 08 Sep 2014 10:33:39 +0000 Received: by mail-we0-f181.google.com with SMTP id x48so14727373wes.40 for ; Mon, 08 Sep 2014 03:33:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=j9T8bZ90oVnicnqeT3upUkVbqFx895bJeVospCvq3AY=; b=cvxJpOiXmtfJ9tB8otsjhK52LUr8OOYJJrlOHIWITbv9uF1Nk1hCNL1fT1tbi1Mgo7 d7jhMlvo6Y4zNfQoZZiYzzAvuxGzHQ1riXRdQtm1VYqBu+XAfMvCSFvFBQqoLxPjHF+G 6p3YewVbsTwu/C7Y5rXns/sgX2fSolZ1l6JdfoP1DdT9zBnYko518qUSzXj2v53/NDxq 2EQUwI7T9QW18QGgtFWIBIquIZ9ykqS9Aepwr7IF3YYSjqJMG38YmytAc2KK5ThGvgWd 1sgNXzh5fdJ6pVpABhnQ25d5gXh4aauE2/gRl/unkP4qnve/dGeGC4Pbpp/DuKGTtreR Qkog== X-Gm-Message-State: ALoCoQmvN8Hosnvb2CWtY9sUMQ4T9anaFFe3RvOrAz82yElCSB8+zjMggYjNbwHOBDsvXRvEqfB/ X-Received: by 10.194.173.234 with SMTP id bn10mr33808768wjc.81.1410172392076; Mon, 08 Sep 2014 03:33:12 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id ju1sm10650383wjc.1.2014.09.08.03.33.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Sep 2014 03:33:11 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kishon@ti.com, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com Subject: [PATCH v4 2/4] phy: phy-stih41x-usb: Add dt documentation for USB phy on STiH415/6 Date: Mon, 8 Sep 2014 11:33:01 +0100 Message-Id: <1410172383-17306-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1410172383-17306-1-git-send-email-peter.griffin@linaro.org> References: <1410172383-17306-1-git-send-email-peter.griffin@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140908_033338_940232_E6D1C94D X-CRM114-Status: GOOD ( 11.54 ) X-Spam-Score: -0.7 (/) Cc: peter.griffin@linaro.org, devicetree@vger.kernel.org, lee.jones@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 This patch adds dt documentation bindings for the usb phy found on STiH415/5 SoC's from STMicroelectronics, which support USB 1.1 and 2.0. Signed-off-by: Maxime Coquelin Signed-off-by: Peter Griffin --- .../devicetree/bindings/phy/phy-stih41x-usb.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-stih41x-usb.txt diff --git a/Documentation/devicetree/bindings/phy/phy-stih41x-usb.txt b/Documentation/devicetree/bindings/phy/phy-stih41x-usb.txt new file mode 100644 index 0000000..00944a0 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-stih41x-usb.txt @@ -0,0 +1,24 @@ +STMicroelectronics STiH41x USB PHY binding +------------------------------------------ + +This file contains documentation for the usb phy found in STiH415/6 SoCs from +STMicroelectronics. + +Required properties: +- compatible : should be "st,stih416-usb-phy" or "st,stih415-usb-phy" +- st,syscfg : should be a phandle of the syscfg node +- clock-names : must contain "osc_phy" +- clocks : must contain an entry for each name in clock-names. +See: Documentation/devicetree/bindings/clock/clock-bindings.txt +- #phy-cells : must be 0 for this phy +See: Documentation/devicetree/bindings/phy/phy-bindings.txt + +Example: + +usb2_phy: usb2phy@0 { + compatible = "st,stih416-usb-phy"; + #phy-cell = <0>; + st,syscfg = <&syscfg_rear>; + clocks = <&clk_sysin>; + clock-names = "osc_phy"; +};