From patchwork Mon Aug 11 10:09:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 35201 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f198.google.com (mail-pd0-f198.google.com [209.85.192.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D53FA20540 for ; Mon, 11 Aug 2014 10:09:55 +0000 (UTC) Received: by mail-pd0-f198.google.com with SMTP id fp1sf54862993pdb.1 for ; Mon, 11 Aug 2014 03:09:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=uQiJ7uaT0mSP5TkdeTMmfbRpGpxOes0rQb9U7LZt/8Q=; b=X79JeJ8c+5thk7DX3Aw0yGEq7qjmTLQKMW8W91vPE6ZRehwqIXzwDkW2xmAJfeE/hk scqr2HVH1ZgfjQ6M2tlWR9Eml5bq0/hcDz2VcLuYComkn3LzD2ByfoLIJgcOQU5hpGOI xzkL0XHSnOguQpnA74AATXktMUwLSYLTJWwEN9S8LCaEG3o4Vx1WSnY0ExXN3fZgZjZ+ M+I/IVHBMU/pal+JHgOL2OtQLna3xuwLZxjzfxmsdL2oqAGRTulKqBVYmDGF1ASSSFKj h7i6+JLU+CzTX+ctJOffLsZD7PB6K6wgBOwblYROMdDNAwv1T8EguSOQKG09viKtdZyz yWdw== X-Gm-Message-State: ALoCoQlTs3VhteEOjM/gu4bOgMVDnzEKpkfzw5oX4/xd/z6M5oWpaGIoxtp07pgBt0t2stzrF7wY X-Received: by 10.66.187.8 with SMTP id fo8mr21923467pac.32.1407751795130; Mon, 11 Aug 2014 03:09:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.97.134 with SMTP id m6ls1284632qge.8.gmail; Mon, 11 Aug 2014 03:09:55 -0700 (PDT) X-Received: by 10.52.69.172 with SMTP id f12mr14026936vdu.9.1407751795007; Mon, 11 Aug 2014 03:09:55 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id p1si6266028vcr.40.2014.08.11.03.09.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Aug 2014 03:09:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf12so11324351vcb.12 for ; Mon, 11 Aug 2014 03:09:54 -0700 (PDT) X-Received: by 10.221.9.72 with SMTP id ov8mr35710513vcb.27.1407751794901; Mon, 11 Aug 2014 03:09:54 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp152307vcb; Mon, 11 Aug 2014 03:09:54 -0700 (PDT) X-Received: by 10.70.60.169 with SMTP id i9mr1262pdr.166.1407751793967; Mon, 11 Aug 2014 03:09:53 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dm3si9482251pdb.160.2014.08.11.03.09.53 for ; Mon, 11 Aug 2014 03:09:53 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753121AbaHKKJw (ORCPT + 26 others); Mon, 11 Aug 2014 06:09:52 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:52147 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753013AbaHKKJ1 (ORCPT ); Mon, 11 Aug 2014 06:09:27 -0400 Received: by mail-wi0-f177.google.com with SMTP id ho1so3902272wib.16 for ; Mon, 11 Aug 2014 03:09:26 -0700 (PDT) X-Received: by 10.180.92.38 with SMTP id cj6mr24602346wib.64.1407751766262; Mon, 11 Aug 2014 03:09:26 -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 xn12sm42008141wib.13.2014.08.11.03.09.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Aug 2014 03:09:25 -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 Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org Subject: [PATCH v2 2/3] phy: phy-stih41x-usb: Add dt documentation for USB phy on STiH415/6 Date: Mon, 11 Aug 2014 11:09:11 +0100 Message-Id: <1407751752-32383-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407751752-32383-1-git-send-email-peter.griffin@linaro.org> References: <1407751752-32383-1-git-send-email-peter.griffin@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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"; +};