From patchwork Wed Sep 24 13:47:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 37831 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 23ED8204FF for ; Wed, 24 Sep 2014 13:53:49 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id b57sf3959393eek.9 for ; Wed, 24 Sep 2014 06:53:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=5bt7tcYbme0NfvJxpxEdN4GxXXkFpjO8aSKOxj/CMgY=; b=fmxBavqmFCff4kvTbOneqnkEB3njMvjXRQBQw+XGJ1VVDRbjMoF3dqxI/itaKDEeiK VyzE1uPrwm+rvdmcdpnrh1ykvGcI6Nce8HSUishVAyi+u+2jfVooqUGzV9s7mHdjjvmv WSdS61UmhcCR6y3r0JTxUMA/mfNdXZI3+S7VS6rbVsPX8oNHDpHTjA0O1r35NElPDAkt q87kqLT0MCDmlDuGajbb/XHbtHKfp8qvDkZWWNWw9Kqhw1LlyLBiJZzXH68FIiJfdXo2 yWgYsFvIlO9tkYMOwj5V6VwNAE8eL2SVC06lddW1C3N+quk4mpyGHrFqe9KvZnlnZ3iS +uTg== X-Gm-Message-State: ALoCoQnSOzYBWJjOH+7V0jbr2U+9dry9MdPRNlSk1gYYWvai+gTXCKocwPRG/xheZDzZJSwL4ogL X-Received: by 10.112.76.229 with SMTP id n5mr1040610lbw.8.1411566828283; Wed, 24 Sep 2014 06:53:48 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.193 with SMTP id x1ls178979lae.53.gmail; Wed, 24 Sep 2014 06:53:48 -0700 (PDT) X-Received: by 10.112.130.101 with SMTP id od5mr6339925lbb.76.1411566828074; Wed, 24 Sep 2014 06:53:48 -0700 (PDT) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by mx.google.com with ESMTPS id kx10si22863760lac.130.2014.09.24.06.53.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Sep 2014 06:53:48 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by mail-lb0-f176.google.com with SMTP id w7so5763212lbi.21 for ; Wed, 24 Sep 2014 06:53:48 -0700 (PDT) X-Received: by 10.112.75.233 with SMTP id f9mr3119691lbw.102.1411566828006; Wed, 24 Sep 2014 06:53:48 -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.112.130.169 with SMTP id of9csp585873lbb; Wed, 24 Sep 2014 06:53:46 -0700 (PDT) X-Received: by 10.66.165.36 with SMTP id yv4mr9368159pab.23.1411566825663; Wed, 24 Sep 2014 06:53:45 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ma9si26348356pdb.198.2014.09.24.06.53.44 for ; Wed, 24 Sep 2014 06:53:45 -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 S1754195AbaIXNxm (ORCPT + 27 others); Wed, 24 Sep 2014 09:53:42 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:38822 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753643AbaIXNrs (ORCPT ); Wed, 24 Sep 2014 09:47:48 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s8ODllIR016247; Wed, 24 Sep 2014 08:47:48 -0500 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s8ODlld9009537; Wed, 24 Sep 2014 08:47:47 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Wed, 24 Sep 2014 08:47:47 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s8ODlKDZ015622; Wed, 24 Sep 2014 08:47:46 -0500 From: Kishon Vijay Abraham I To: CC: , Subject: [PATCH 16/22] phy: phy-stih407-usb: Add dt documentation for USB picophy found on stih407 SoC family Date: Wed, 24 Sep 2014 19:17:14 +0530 Message-ID: <1411566440-19169-17-git-send-email-kishon@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1411566440-19169-1-git-send-email-kishon@ti.com> References: <1411566440-19169-1-git-send-email-kishon@ti.com> MIME-Version: 1.0 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: kishon@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.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: , From: Peter Griffin This patch adds the dt documentation for the usb picophy found on stih407 SoC family available from STMicroelectronics. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/phy/phy-stih407-usb.txt | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-stih407-usb.txt diff --git a/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt b/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt new file mode 100644 index 0000000..1ef8228 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt @@ -0,0 +1,30 @@ +ST STiH407 USB PHY controller + +This file documents the dt bindings for the usb picoPHY driver which is the PHY for both USB2 and USB3 +host controllers (when controlling usb2/1.1 devices) available on STiH407 SoC family from STMicroelectronics. + +Required properties: +- compatible : should be "st,stih407-usb2-phy" +- reg : contain the offset and length of the system configuration registers + used as glue logic to control & parameter phy +- reg-names : the names of the system configuration registers in "reg", should be "param" and "reg" +- st,syscfg : sysconfig register to manage phy parameter at driver level +- resets : list of phandle and reset specifier pairs. There should be two entries, one + for the whole phy and one for the port +- reset-names : list of reset signal names. Should be "global" and "port" +See: Documentation/devicetree/bindings/reset/st,sti-powerdown.txt +See: Documentation/devicetree/bindings/reset/reset.txt + +Example: + +usb2_picophy0: usbpicophy@f8 { + compatible = "st,stih407-usb2-phy"; + reg = <0xf8 0x04>, /* syscfg 5062 */ + <0xf4 0x04>; /* syscfg 5061 */ + reg-names = "param", "ctrl"; + #phy-cells = <0>; + st,syscfg = <&syscfg_core>; + resets = <&softreset STIH407_PICOPHY_SOFTRESET>, + <&picophyreset STIH407_PICOPHY0_RESET>; + reset-names = "global", "port"; +};