From patchwork Mon Oct 24 22:17:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ray Jui X-Patchwork-Id: 9393391 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 34D97607F0 for ; Mon, 24 Oct 2016 22:20:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 250F129061 for ; Mon, 24 Oct 2016 22:20:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19D3729086; Mon, 24 Oct 2016 22:20:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE4F129061 for ; Mon, 24 Oct 2016 22:20:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965470AbcJXWTk (ORCPT ); Mon, 24 Oct 2016 18:19:40 -0400 Received: from mail-pf0-f173.google.com ([209.85.192.173]:33503 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965597AbcJXWSI (ORCPT ); Mon, 24 Oct 2016 18:18:08 -0400 Received: by mail-pf0-f173.google.com with SMTP id 128so106283306pfz.0 for ; Mon, 24 Oct 2016 15:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jrbEAL/5MbkwdNA15D0cSTbCYd8QG+4W5C2oRj4un5I=; b=EHa+gjJjLUgCVmqPyWNJbAZYLXIBpoQ2hHsvSIVQp0FRe4dpL43US4YZxmMNmraJpX oqoe5t4CciWPhkOLXXLa3Bc2d0SYEMiUUgddKXmZ+xdyzXk0A+BVmcV8YfmWwMum/NEE j+M7KkCg0M4uvIly635VPPIw+M8SJRrLVBHUE= 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=jrbEAL/5MbkwdNA15D0cSTbCYd8QG+4W5C2oRj4un5I=; b=flGiJnV5cAm3g5UMk4aShhKwxQ7Mgqo+8RwkRqSXMcZk2JQbM8XbQQLC1Cl/6EOItE aCUS8z+wUEscGXeIcRQYAznkZ5cWPQ9GixDctsOfESphII9MXVjkgfEy/freImw0fSCy 3ehhASIFdTawq76kKDr7z8dFSUUIJpk+iqRJq+xW+D6aeTv4gf7XVIx3QIMSS4eM/P/M n4+u7OYMKckCmP/VOnxD+tMi0hqYXTYenxE6F4PqXCV0pUeF/Heeqkcd3gX8DKk1dMi6 XIitiF5Q0En6B//qRmFopDP3Jg1qqFskLtM4Xvdvu0ogpfV4M5SW0ykmOjcDJ5+B+5aO 0/+w== X-Gm-Message-State: ABUngvcjqB7rxDMgH1Kv7KKjavlBn8G+PejlUZIwTmiTLGsnq51Nl/tJIJ4hbEavJk8Nd4U5 X-Received: by 10.99.128.198 with SMTP id j189mr12963373pgd.151.1477347487843; Mon, 24 Oct 2016 15:18:07 -0700 (PDT) Received: from lbrmn-lnxub44-1.ric.broadcom.com ([216.31.219.19]) by smtp.gmail.com with ESMTPSA id x1sm27745131pax.7.2016.10.24.15.18.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Oct 2016 15:18:07 -0700 (PDT) From: Ray Jui To: Bjorn Helgaas , Bjorn Helgaas Cc: linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-pci@vger.kernel.org, Alex Barba , Oza Oza , Ray Jui , Ray Jui Subject: [PATCH 09/12] PCI: iproc: Update iProc PCIe DT binding Date: Mon, 24 Oct 2016 15:17:09 -0700 Message-Id: <1477347432-17656-10-git-send-email-ray.jui@broadcom.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1477347432-17656-1-git-send-email-ray.jui@broadcom.com> References: <1477347432-17656-1-git-send-email-ray.jui@broadcom.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add description for optional device tree property 'dma-ranges' for inbound mapping Signed-off-by: Oza Oza Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt index f827b8d..62a0ab9 100644 --- a/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt +++ b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt @@ -25,6 +25,9 @@ Optional properties: - phys: phandle of the PCIe PHY device - phy-names: must be "pcie-phy" - dma-coherent: present if DMA operations are coherent +- dma-ranges: Some PAXB based root complexes do not have inbound mapping done + by the ASIC after power on reset. In this case, SW is required to configure +the mapping, based on inbound memory regions specified by this property - brcm,pcie-ob: Some iProc SoCs do not have the outbound address mapping done by the ASIC after power on reset. In this case, SW needs to configure it