From patchwork Tue Nov 1 00:38:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ray Jui X-Patchwork-Id: 9406733 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 72CCE60722 for ; Tue, 1 Nov 2016 00:40:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 626F92930A for ; Tue, 1 Nov 2016 00:40:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 573CA29336; Tue, 1 Nov 2016 00:40:48 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 0850329334 for ; Tue, 1 Nov 2016 00:40:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032333AbcKAAjf (ORCPT ); Mon, 31 Oct 2016 20:39:35 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:34082 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030203AbcKAAje (ORCPT ); Mon, 31 Oct 2016 20:39:34 -0400 Received: by mail-pf0-f169.google.com with SMTP id n85so84949851pfi.1 for ; Mon, 31 Oct 2016 17:39:34 -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=QXnr0On9TQh9Z7gUSsYZuYHZ0UFs0ciNyUJWLSmzbZnutapcJLnvZKyTz92eOOPv9m qict3G3qG4VwrMtxkHPwtKF6f95ixEgwfxL5iCmK3dV6lIdnUVwkER/70sHR6P/Gv7+L t8KysrPtJJlLMZkqTmDPYQU4aGEpSJdAsH/Uk= 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=QPqwpK9apA7bFOCmM4bVbpxNpz475ANJRRunTLVoIGPiTI1mEQBvyWWJTup8oXqjzz K3kBCWagZGouEymFMMDd6MUsSImg/X0LU4nzAClMgY9qFKAOYZXDRJJmLM+4rraSqd7i lUXkFqDjIUMzhA2PvLn+OvBicaRtifRFKeZauB1Z0xarEdi07V2HTerk5Ach+IkArJJR Boa+RviABDNgqjC/mWh7SeSZlHTQf6e1m7Pezq051WwPdkUGuPKlOCY097A7uzxkIlo4 68j2biiqG+dwWqaKAr9zdSYJB7J82hAO0WZMPLOEmbj9MVKRMSM0aCMq9qnPUDMlupKE Webg== X-Gm-Message-State: ABUngveOqEa+7tfkNosmTDAelWSs0iveL0+1LPyuJM0qSpSuWq4aKkH4cGA7ZuTqakABdLQS X-Received: by 10.98.22.23 with SMTP id 23mr53939098pfw.65.1477960773546; Mon, 31 Oct 2016 17:39:33 -0700 (PDT) Received: from lbrmn-lnxub44-1.ric.broadcom.com ([216.31.219.19]) by smtp.gmail.com with ESMTPSA id x62sm2574619pfb.20.2016.10.31.17.39.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 31 Oct 2016 17:39:33 -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 Subject: [PATCH v2 09/12] PCI: iproc: Add optional dma-ranges Date: Mon, 31 Oct 2016 17:38:38 -0700 Message-Id: <1477960721-17649-10-git-send-email-ray.jui@broadcom.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1477960721-17649-1-git-send-email-ray.jui@broadcom.com> References: <1477960721-17649-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