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: 378162 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id EDFE4140129 for ; Fri, 8 Aug 2014 20:20:00 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756606AbaHHKT6 (ORCPT ); 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-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=bgtfb6VGkDh5Ots0+noGLAaNnOLhHSrXT1y1/eKXQX+EWqlWSCQUfOODSUxSes93qK CHA945PKvYt/v17cGONKiYF9jIMdKIUzpc0irFDsucPqntRvnJ1YpBUSJwHgYGqTrzp8 yctanXnm5xbvWjO1DTcajCbPD6FqnoVxdjYcboheXkYlL+Aq0/bbEYd/epBbpWE0tbr9 EWox3qNZZgLEdqmPuCPY+yBRT1guJe/D4YESm18eYDyeH935OhEOU860ytNJ0CgaZndi gMoPUMdNZNGm/0fosPhwOFJ40TKnELttbV+bvGJg6lf/Cqg9JhLqwDHO+Wp4AmA5kxfD eA3Q== X-Gm-Message-State: ALoCoQlXbqVF5uMGIL/0AkOKBg92CcZ/qtto5qgd8+XDOFnJoU5fjx0kcl3Dend60o/VKcUI3w5v 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: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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"; +};