From patchwork Fri Aug 8 10:19:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 35105 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f71.google.com (mail-qg0-f71.google.com [209.85.192.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8C2DA2145E for ; Fri, 8 Aug 2014 10:20:04 +0000 (UTC) Received: by mail-qg0-f71.google.com with SMTP id f51sf15038073qge.6 for ; Fri, 08 Aug 2014 03:20:04 -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=tVp5miD9sERoMLoxkC//0ceiGL1qq9bI6U5JhOXx0nw=; b=keaCRxiz/nOtvU7P9SYiW9ZfxRZwI1HkbV79uu2C7NySlIVdUjit6k7jcc63jt+0Yr 3wBtcSyGlmKQCNq5Dw+TebUJQMkstBKsOLHjyhrq6YrT/ybaChYVLW1FHMiKt0cIzexD UQQbsVN8Fw5cKKRTWXTF893h6xEZ0ySeutPsqSA1Th38wHCZfwzgYs2DKlPk/Vu+nWkz +/NnVRHslhfRieZgN98uBspDoGVgCbUVOq5bEvanlI39LeRyLM1kmFYLoio5AtrqogAF W3kIldtzzHbhz/puFl0ictO9DtaUEck3egdPaB6DqUUqz4Mv/ZCpQxSqgS/tTaqveaLr pphw== X-Gm-Message-State: ALoCoQlJXxyhvKB/RVaIjlEGPmW78fOUIwWOD5QKGOZuS6yFeQY70mPbcfR2fxxUcIzriMK6m1aK X-Received: by 10.236.87.210 with SMTP id y58mr4365444yhe.38.1407493204413; Fri, 08 Aug 2014 03:20:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.83.102 with SMTP id i93ls175179qgd.40.gmail; Fri, 08 Aug 2014 03:20:04 -0700 (PDT) X-Received: by 10.220.190.134 with SMTP id di6mr952618vcb.43.1407493204313; Fri, 08 Aug 2014 03:20:04 -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 e20si2731157vdj.21.2014.08.08.03.20.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Aug 2014 03:20:04 -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 id10so8028002vcb.35 for ; Fri, 08 Aug 2014 03:20:04 -0700 (PDT) X-Received: by 10.52.156.100 with SMTP id wd4mr6161917vdb.39.1407493204247; Fri, 08 Aug 2014 03:20:04 -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 tc5csp110326vcb; Fri, 8 Aug 2014 03:20:03 -0700 (PDT) X-Received: by 10.66.157.40 with SMTP id wj8mr23411730pab.42.1407493201513; Fri, 08 Aug 2014 03:20:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gl10si5704908pbd.156.2014.08.08.03.20.00 for ; Fri, 08 Aug 2014 03:20:01 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S1756606AbaHHKT6 (ORCPT + 6 others); Fri, 8 Aug 2014 06:19:58 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:48065 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756443AbaHHKTx (ORCPT ); Fri, 8 Aug 2014 06:19:53 -0400 Received: by mail-wi0-f173.google.com with SMTP id f8so763902wiw.12 for ; Fri, 08 Aug 2014 03:19:52 -0700 (PDT) X-Received: by 10.180.189.234 with SMTP id gl10mr3157368wic.56.1407493192019; Fri, 08 Aug 2014 03:19:52 -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 v14sm16309647wjw.38.2014.08.08.03.19.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Aug 2014 03:19:51 -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 2/3] phy: phy-stih41x-usb: Add dt documentation for USB phy on STiH415/6 Date: Fri, 8 Aug 2014 11:19:34 +0100 Message-Id: <1407493175-2611-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407493175-2611-1-git-send-email-peter.griffin@linaro.org> References: <1407493175-2611-1-git-send-email-peter.griffin@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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"; +};