From patchwork Sat Oct 17 20:33:29 2015 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: 55168 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id BD79922FFA for ; Sat, 17 Oct 2015 20:34:59 +0000 (UTC) Received: by wikv3 with SMTP id v3sf6143443wik.1 for ; Sat, 17 Oct 2015 13:34:59 -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:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=9DBU4kaOc+/m/o1hbLBJHyhjGeRem2UteA5+GbW2gE8=; b=fBCiv9qFoG+lfOvU0QOdImq1z4PS+w8qkBvMhPxnfpHGorBgDoc0iXAzM9jhYVMtdn 4dx4l/w6yB6Rrm923Cv3Uy7jqlOsMxsU1NWTHbWBl9M8BWCzwXkMewyurw2kM0G8XQFh rS3J/JamA+B4gGglzQJ00uu0dTcFiw2OlfSZ5J2TqrZY4PCfn2QJGEK6ljbx+wNHev7e VwV83C/IujX4fHCLxdS35OkaqvP8Z2ikH9Iq6qBFmTuS5+13QcjKrYIF3Nx5bMmwvoXH liNDugajhF1BUTZ30QSYMj4XXgHaHsQeNzpzhrjuGOfnOIlXqg6xWqPtXgqAM3wi0Yij 0cSA== X-Gm-Message-State: ALoCoQmTJQvkHBWLMkyjgb20Phh170x7eJFV8vFMAtGm+aORqG8awwr9UgWbMtiQzn5J4TPhjPGd X-Received: by 10.180.184.164 with SMTP id ev4mr2835804wic.3.1445114099113; Sat, 17 Oct 2015 13:34:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.83.82 with SMTP id h79ls390052lfb.76.gmail; Sat, 17 Oct 2015 13:34:58 -0700 (PDT) X-Received: by 10.112.205.69 with SMTP id le5mr11284808lbc.89.1445114098934; Sat, 17 Oct 2015 13:34:58 -0700 (PDT) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id q20si17229847lfe.30.2015.10.17.13.34.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Oct 2015 13:34:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lffz202 with SMTP id z202so9816351lff.3 for ; Sat, 17 Oct 2015 13:34:58 -0700 (PDT) X-Received: by 10.25.38.9 with SMTP id m9mr7221640lfm.112.1445114098358; Sat, 17 Oct 2015 13:34:58 -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.59.35 with SMTP id w3csp659514lbq; Sat, 17 Oct 2015 13:34:57 -0700 (PDT) X-Received: by 10.68.68.143 with SMTP id w15mr24983928pbt.56.1445114097251; Sat, 17 Oct 2015 13:34:57 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i9si39420436pbq.118.2015.10.17.13.34.56; Sat, 17 Oct 2015 13:34:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752263AbbJQUeJ (ORCPT + 28 others); Sat, 17 Oct 2015 16:34:09 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:33528 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751268AbbJQUdd (ORCPT ); Sat, 17 Oct 2015 16:33:33 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id t9HKXWWK024284; Sat, 17 Oct 2015 15:33:32 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9HKXW0Q019261; Sat, 17 Oct 2015 15:33:32 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Sat, 17 Oct 2015 15:33:32 -0500 Received: from a0393678ub.am.dhcp.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 t9HKXVpj003521; Sat, 17 Oct 2015 15:33:32 -0500 From: Kishon Vijay Abraham I To: CC: , Subject: [PATCH 5/7] dt-bindings: Add Cygnus PCIe PHY binding doc Date: Sun, 18 Oct 2015 02:03:29 +0530 Message-ID: <1445114011-4191-6-git-send-email-kishon@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1445114011-4191-1-git-send-email-kishon@ti.com> References: <1445114011-4191-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.215.45 as permitted sender) smtp.mailfrom=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: Ray Jui Add DT binding document for Broadcom Cygnus PCIe PHYs Signed-off-by: Ray Jui Reviewed-by: Arun Parameswaran Reviewed-by: JD (Jiandong) Zheng Reviewed-by: Scott Branden Signed-off-by: Kishon Vijay Abraham I --- .../bindings/phy/brcm,cygnus-pcie-phy.txt | 47 ++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt diff --git a/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt b/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt new file mode 100644 index 0000000..761c4bc --- /dev/null +++ b/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt @@ -0,0 +1,47 @@ +Broadcom Cygnus PCIe PHY + +Required properties: +- compatible: must be "brcm,cygnus-pcie-phy" +- reg: base address and length of the PCIe PHY block +- #address-cells: must be 1 +- #size-cells: must be 0 + +Each PCIe PHY should be represented by a child node + +Required properties For the child node: +- reg: the PHY ID +0 - PCIe RC 0 +1 - PCIe RC 1 +- #phy-cells: must be 0 + +Example: + pcie_phy: phy@0301d0a0 { + compatible = "brcm,cygnus-pcie-phy"; + reg = <0x0301d0a0 0x14>; + + pcie0_phy: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + pcie1_phy: phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + }; + + /* users of the PCIe phy */ + + pcie0: pcie@18012000 { + ... + ... + phys = <&pcie0_phy>; + phy-names = "pcie-phy"; + }; + + pcie1: pcie@18013000 { + ... + ... + phys = ; + phy-names = "pcie-phy"; + };