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: 36956 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f197.google.com (mail-yk0-f197.google.com [209.85.160.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6F5522054D for ; Mon, 8 Sep 2014 10:34:07 +0000 (UTC) Received: by mail-yk0-f197.google.com with SMTP id 131sf3975779ykp.0 for ; Mon, 08 Sep 2014 03:34:07 -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=T0tY71CeiWJUUwpCG0Wow9f9wxHFcpCbA2nK966OKp2i5pZ8qWeZey6AbUm9qU7ATR zxkE/e6JNmhMHMjc0o/UoCGMXk9OmNd+DtReMDd1SAenBCh6qE0Y0DA6VtTlS0xRoSqD /8cCFVnihpRXKG8Vhk5Bu6vXoXd+kkZ7lcO1GXZpbfqLbJZjx5cOcG9OrVawx84bW22d DmWdi56mu4X5fnHVQUcBvSCsQhBeoRqwbRBadbBg9DPaR+P44AQ+Wrm5OwfGpsX3ctZC WbpXVfCM1gJNplkoc4UNwQFN0uSHHKF+YTFi3mJiEEezTEoDCr/my3t0aV9kj6PLk8br uFzg== X-Gm-Message-State: ALoCoQnamX7La1gAvDQUh1Ix/OGYzxfU78N1AGRC0XqvzKJh0T7ykW9LPo7JFXT8gpOpnsgGbD9a X-Received: by 10.236.228.138 with SMTP id f10mr16911475yhq.38.1410172447277; Mon, 08 Sep 2014 03:34:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.32.138 with SMTP id h10ls1685207qgh.87.gmail; Mon, 08 Sep 2014 03:34:07 -0700 (PDT) X-Received: by 10.52.129.200 with SMTP id ny8mr20710321vdb.27.1410172447177; Mon, 08 Sep 2014 03:34:07 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id dm3si3711471vcb.91.2014.09.08.03.34.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 03:34:07 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id hy10so1524698vcb.31 for ; Mon, 08 Sep 2014 03:34:07 -0700 (PDT) X-Received: by 10.52.136.196 with SMTP id qc4mr20699058vdb.22.1410172447099; Mon, 08 Sep 2014 03:34:07 -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 uj3csp111779vcb; Mon, 8 Sep 2014 03:34:06 -0700 (PDT) X-Received: by 10.70.131.12 with SMTP id oi12mr46422212pdb.116.1410172445627; Mon, 08 Sep 2014 03:34:05 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cb9si2690875pdb.107.2014.09.08.03.34.04 for ; Mon, 08 Sep 2014 03:34:05 -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 S1753547AbaIHKdT (ORCPT + 26 others); Mon, 8 Sep 2014 06:33:19 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:64148 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753429AbaIHKdN (ORCPT ); Mon, 8 Sep 2014 06:33:13 -0400 Received: by mail-wi0-f178.google.com with SMTP id n3so2207978wiv.17 for ; Mon, 08 Sep 2014 03:33:12 -0700 (PDT) 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 Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org 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> 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.172 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"; +};