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: 36946 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oi0-f70.google.com (mail-oi0-f70.google.com [209.85.218.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8B36D20491 for ; Mon, 8 Sep 2014 09:31:29 +0000 (UTC) Received: by mail-oi0-f70.google.com with SMTP id u20sf70931780oif.1 for ; Mon, 08 Sep 2014 02:31:29 -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=NWz8E0Iix4X7jDGVS7z7sAhvAMrjaeBiLfKae9LmQDBUjeeDdm9h87+D9fVmyf/ACg hQkP9ME6Jp3GiCyY/Z7RZKVKZzOkin7pqQhWq9oOtl9+gG1fEdkod4nDjszN87nMSfDh e4wYFir8wjI/zB8/p02gbuJiQWHv0sj7LEpb366YFGA3B+g0hMVGw5Qkdw3kKPteCwaG 5Jxf/tY+XNH4FPNWvaEe5mYc6ysQYciKcwATelzvdHfKgGizNObUR3V3zASCAOuy6Dq4 rx6kxAqJchEAsoznrnZW/P+1xzai5xNcarfMSBEuGYM+lWcaCXYnh0B/YbWFwS/W7pko 0yGQ== X-Gm-Message-State: ALoCoQnQgJgFNTbg/ucWllpIWsQ1boWVWARPfkBwUFIKMDcPPwWhz3b/EDm0g5iFy/ezkhiSAdja X-Received: by 10.42.70.144 with SMTP id f16mr7173656icj.8.1410168689126; Mon, 08 Sep 2014 02:31:29 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.42.16 with SMTP id b16ls192529qga.16.gmail; Mon, 08 Sep 2014 02:31:29 -0700 (PDT) X-Received: by 10.220.105.201 with SMTP id u9mr24678967vco.11.1410168689038; Mon, 08 Sep 2014 02:31:29 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id cc10si3680212vcb.48.2014.09.08.02.31.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 02:31:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id ik5so15018019vcb.35 for ; Mon, 08 Sep 2014 02:31:28 -0700 (PDT) X-Received: by 10.52.61.136 with SMTP id p8mr20434880vdr.15.1410168688876; Mon, 08 Sep 2014 02:31:28 -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.45.67 with SMTP id uj3csp104930vcb; Mon, 8 Sep 2014 02:31:28 -0700 (PDT) X-Received: by 10.70.95.138 with SMTP id dk10mr46042671pdb.66.1410168687805; Mon, 08 Sep 2014 02:31:27 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pi6si16854046pac.39.2014.09.08.02.31.27 for ; Mon, 08 Sep 2014 02:31:27 -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 S1753513AbaIHJbL (ORCPT + 26 others); Mon, 8 Sep 2014 05:31:11 -0400 Received: from mail-we0-f170.google.com ([74.125.82.170]:59428 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753267AbaIHJbH (ORCPT ); Mon, 8 Sep 2014 05:31:07 -0400 Received: by mail-we0-f170.google.com with SMTP id u57so1997322wes.1 for ; Mon, 08 Sep 2014 02:31:06 -0700 (PDT) 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 Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org 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> 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.176 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"; +};