From patchwork Tue Sep 9 09:00:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 37060 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DE37B20566 for ; Tue, 9 Sep 2014 09:01:55 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id m1sf82776268oag.7 for ; Tue, 09 Sep 2014 02:01:55 -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=sHV/88vdadmcFAHrNcx3mFzW/QchjQLbdFhTIiLlGLw=; b=EsezaFg2aEW7Vy+mDsryJVm2KhuTWabUbQ4csd8eoSM6YhYpQUUy7okB7fsmwcrEyb blvfSarTn8m7yPRnC3i9TER6skwA8kcIMTHTdItJk37MrPRx2lI4SwunystzI9kvZmSo 6gMp/UaVs5cv0ay+j1gd0FtSuJYE3cR/vftdMOJ73SFpjJ70xcanD8EeobZkKhqHpKr4 EAR1dr6dsKHXPVY/fX+JFU1nW7EgTSWK5LD+coo6vuU1ys8NDaNFBW8e0UXn+unIrhru 4X0+HObGEeKSOtcglPJrPl7A0Ai27l0mT7I3IhIAf+Hg5lCXasNbAeOVMLP9FPeHD/+R URvw== X-Gm-Message-State: ALoCoQlZgs/E0u2RZoUpGEDGT/tsbyNTzJoo3+jO0ow8UCeYDY6O1Z3uRzQvX0JTD0oKDXPJ0nkW X-Received: by 10.182.60.135 with SMTP id h7mr7696515obr.18.1410253315526; Tue, 09 Sep 2014 02:01:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.48.35 with SMTP id n32ls2030782qga.25.gmail; Tue, 09 Sep 2014 02:01:55 -0700 (PDT) X-Received: by 10.52.3.40 with SMTP id 8mr24923936vdz.24.1410253315420; Tue, 09 Sep 2014 02:01:55 -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 dr6si2695735vcb.67.2014.09.09.02.01.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Sep 2014 02:01:55 -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 la4so600465vcb.7 for ; Tue, 09 Sep 2014 02:01:55 -0700 (PDT) X-Received: by 10.221.24.135 with SMTP id re7mr1011967vcb.53.1410253315310; Tue, 09 Sep 2014 02:01:55 -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 uj3csp252852vcb; Tue, 9 Sep 2014 02:01:54 -0700 (PDT) X-Received: by 10.66.145.167 with SMTP id sv7mr54045432pab.5.1410253314370; Tue, 09 Sep 2014 02:01:54 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pc10si21857614pbc.211.2014.09.09.02.01.53 for ; Tue, 09 Sep 2014 02:01:54 -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 S1756156AbaIIJAn (ORCPT + 26 others); Tue, 9 Sep 2014 05:00:43 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:49975 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377AbaIIJAj (ORCPT ); Tue, 9 Sep 2014 05:00:39 -0400 Received: by mail-wi0-f182.google.com with SMTP id z2so4023792wiv.15 for ; Tue, 09 Sep 2014 02:00:38 -0700 (PDT) X-Received: by 10.180.101.129 with SMTP id fg1mr28229550wib.20.1410253238527; Tue, 09 Sep 2014 02:00:38 -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 n5sm14060076wja.38.2014.09.09.02.00.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Sep 2014 02:00:37 -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, peppe.cavallaro@st.com, devicetree@vger.kernel.org Subject: [PATCH v2 2/4] phy: phy-stih407-usb: Add dt documentation for USB picophy found on stih407 SoC family Date: Tue, 9 Sep 2014 10:00:16 +0100 Message-Id: <1410253218-18318-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1410253218-18318-1-git-send-email-peter.griffin@linaro.org> References: <1410253218-18318-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 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 --- .../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"; +};