From patchwork Mon Sep 8 09:30:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 4860831 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 283EE9F32F for ; Mon, 8 Sep 2014 09:33:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E87FF200FF for ; Mon, 8 Sep 2014 09:33:36 +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 B825F200F0 for ; Mon, 8 Sep 2014 09:33:35 +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 1XQvIZ-0001fe-Sv; Mon, 08 Sep 2014 09:31:47 +0000 Received: from mail-we0-f175.google.com ([74.125.82.175]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XQvIH-0001Km-7B for linux-arm-kernel@lists.infradead.org; Mon, 08 Sep 2014 09:31:29 +0000 Received: by mail-we0-f175.google.com with SMTP id w61so369784wes.6 for ; Mon, 08 Sep 2014 02:31:06 -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=hgbNUcNnFE26PxSMlougbumiDyyJjoDvKWhU+ctBdz+JkF3JoV2hP7xQGLOfV8XeKl XHovYnnWllTpIitap34Nc4QdXdLeQ8F2Lhl5NeyekCppd4MN29yzptMs21ynDMa/jRep +rp9tGibtqhO3ql4D58qGHiVMDjaUcfqnw//Kfdu3fV5X8ZBsVTl1rz4gRnbSq1MfJRP sBbmjdqHr+g25Y3iCRKPy8MqnPzhNFTW3mZyo34bSOLcojSl8UX1h4otDuoGspaEpw0s t2CK0dWEPJjZelaJoS92PTIbg5N/kahEwjFdJENOB6bO8NsIu4/Hrwt/mwCIoQykB3Wz 5EtA== X-Gm-Message-State: ALoCoQlUlsAaj6YgzOb0VWWePfMWJJ9sOyuQ2wxXCT57RqBaKWJ1/5lLzJsMdkL/ys1/J/u70JX5 X-Received: by 10.194.122.6 with SMTP id lo6mr33078691wjb.17.1410168666209; Mon, 08 Sep 2014 02:31:06 -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 v4sm10462830wjv.6.2014.09.08.02.31.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Sep 2014 02:31:05 -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 v3 2/4] phy: phy-stih41x-usb: Add dt documentation for USB phy on STiH415/6 Date: Mon, 8 Sep 2014 10:30:36 +0100 Message-Id: <1410168638-11072-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1410168638-11072-1-git-send-email-peter.griffin@linaro.org> References: <1410168638-11072-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_023129_431017_C0F16A6D X-CRM114-Status: GOOD ( 11.99 ) 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"; +};