Message ID | 1523960514-25457-7-git-send-email-nipun.gupta@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show
Return-Path: <linux-pci-owner@kernel.org> 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 30A3360216 for <patchwork-linux-pci@patchwork.kernel.org>; Tue, 17 Apr 2018 10:27:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29A13286A9 for <patchwork-linux-pci@patchwork.kernel.org>; Tue, 17 Apr 2018 10:27:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1BAD228930; Tue, 17 Apr 2018 10:27:43 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 8C475286A9 for <patchwork-linux-pci@patchwork.kernel.org>; Tue, 17 Apr 2018 10:27:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752762AbeDQK13 (ORCPT <rfc822;patchwork-linux-pci@patchwork.kernel.org>); Tue, 17 Apr 2018 06:27:29 -0400 Received: from mail-eopbgr50070.outbound.protection.outlook.com ([40.107.5.70]:13248 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752749AbeDQK1Y (ORCPT <rfc822;linux-pci@vger.kernel.org>); Tue, 17 Apr 2018 06:27:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=8JU5uW3CNNwO/cYCM5A5IjSqsXmxPuzV4kEcpdmlr5Y=; b=bc8Ef94loztJFAJ6bm0O6bHbBOlnduIkXgAo0cQ+6+XKYWt9uvdw3Hb65syVFXo3/2v7JkpyA22BzzIs+HIUWkGDcY/8GPtuepkVJD0Cm2hSJH5e/9R/8rIL8WftHVgZpG1Ek+QyKPGzUEmCTT5IUGTDkVNcCN+eu/Gp6tnYEkQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nipun.gupta@nxp.com; Received: from b27504-OptiPlex-790.ap.freescale.net (14.142.187.166) by AM4PR0401MB2418.eurprd04.prod.outlook.com (2603:10a6:200:51::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.12; Tue, 17 Apr 2018 10:27:17 +0000 From: Nipun Gupta <nipun.gupta@nxp.com> To: robin.murphy@arm.com, will.deacon@arm.com, mark.rutland@arm.com, catalin.marinas@arm.com Cc: hch@lst.de, gregkh@linuxfoundation.org, joro@8bytes.org, robh+dt@kernel.org, m.szyprowski@samsung.com, shawnguo@kernel.org, frowand.list@gmail.com, bhelgaas@google.com, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-pci@vger.kernel.org, bharat.bhushan@nxp.com, stuyoder@gmail.com, laurentiu.tudor@nxp.com, leoyang.li@nxp.com, Nipun Gupta <nipun.gupta@nxp.com> Subject: [PATCH 6/6 v2] arm64: dts: ls208xa: comply with the iommu map binding for fsl_mc Date: Tue, 17 Apr 2018 15:51:54 +0530 Message-Id: <1523960514-25457-7-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1523960514-25457-1-git-send-email-nipun.gupta@nxp.com> References: <1520260166-29387-1-git-send-email-nipun.gupta@nxp.com> <1523960514-25457-1-git-send-email-nipun.gupta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: MAXPR0101CA0011.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:c::21) To AM4PR0401MB2418.eurprd04.prod.outlook.com (2603:10a6:200:51::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM4PR0401MB2418; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0401MB2418; 3:btBM53tQXXWVP4hYadwjvg3Fzb7fdybmpT2SRcz3BJV9cSz8waujYfTn+f5VWwuLmUPDbJbgH20ckA8SeAO9VJrGL6UIIlQJ4ni1xIVnAlNPaBu2rr48NyTaTOq+eJvTQyBlx++SNJGuCS15W8GqAnIGz3Zz3RzjsX0rzcZrqPjQf1Ox1ujWQshyltHL+FbYb5LmhIfvGoLO36WAaknd/7jTVUQTGHZULS9ekXzymrNFx5GaoxcuQaT4HVzsxHJM; 25:K6M8BMqj6TDu+S9CId0Di1qHpdICZ738lC70ERaKzWXK34aaecThG9VSYj6SMwX3w2Ams/bs4JULEihKt1GEQPGR9nZ0lJ3HTeNkzsF059hpVgpSzV1RFp4dMilga/+2UWEd/a7JvrXJFZxoVF/CxB0l7yoflgkfcXFuWFwSU0xeQqeC/xb3tN7Z5DYpg2c9Wa5wPXcBf7WnEqpqxS+MV5IdPeHIDEYmFaXo0wOgXelDYu1dbrgnHmTU1839GaqKfSFlqRUzOjxgCMBj2BFNfviNNr4a2TkeOWHouMCWiNar88tm2EDZz5xaIjvsBsxuKEhQUy037kHq/koZL8kyFA==; 31:W3VXM3VVkA+WHZIsu03YYJXQoDKVjRRKcRNpZ3xZruMOdrP44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E0mdjYZMC3OgYGfwd93aPgmvqTysJKeZu2FnGsSiFWz7uA0E= X-Microsoft-Antispam-PRVS: <AM4PR0401MB24188E3788199894926EE537E6B70@AM4PR0401MB2418.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231232)(944501359)(52105095)(6055026)(6041310)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM4PR0401MB2418; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0401MB2418; X-Forefront-PRVS: 0645BEB7AA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(396003)(376002)(39380400002)(346002)(189003)(199004)(6506007)(386003)(2616005)(59450400001)(446003)(11346002)(316002)(486006)(97736004)(956004)(16586007)(76176011)(55236004)(6512007)(186003)(16526019)(44832011)(48376002)(476003)(86362001)(575784001)(8936002)(7736002)(8676002)(81156014)(81166006)(6116002)(3846002)(2906002)(53936002)(50226002)(66066001)(68736007)(5660300001)(478600001)(25786009)(39060400002)(5009440100003)(4326008)(47776003)(36756003)(106356001)(305945005)(105586002)(51416003)(52116002)(26005)(6486002)(7416002)(6666003)(50466002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0401MB2418; H:b27504-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM4PR0401MB2418; 23:4jenQ4CUdL+NOnfrfetNw7HsG8/hLsNfOqHatd3?= =?us-ascii?Q?n/Sazw66TIZVQnNbNqDqPTNGPq80OfQMFj9QoatBIyaI5hRt8h6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bWa5Y5wQC/5b4kASGQ3Te4i5+Txycf+OdVxO29WKG88eJr0TttMx+T?= =?us-ascii?Q?bj+00gi8ISrYqM896/oZ/H6EjtMTuIHhj+nEpiygrE1W9OcsKhGKab99dXLD?= =?us-ascii?Q?6z8070AkbaRkPkV1DDK69uAY3nZj54NwpHSo6jQ/tpLR8U+/OrIguVNSp2CK?= =?us-ascii?Q?QSui2HkjGbdCxUn9WuzzEoOrXc2AegP3AvT60KR9bMafZBGqNwtSZ+n+rPsa?= =?us-ascii?Q?KZsH7KR/mwOd8twaKK+g1hnYf/gLu31hsxg4KZd7IjrGoemlqh2lKUljHNur?= =?us-ascii?Q?HTqlJPhfIfEqVRW3QMOJ7CkoY9tf1dNGeNE1acfQN4GZukzLemFlRMwcitx+?= =?us-ascii?Q?GqPxlt89XuTTxMsiOyhaI9CXNs03A+b8vNV7NnTbgOOHmkQTRWVtRmoPELqe?= =?us-ascii?Q?FgZbkcA=3D=3D?= X-Microsoft-Antispam-Message-Info: llMAn5E5KuSLk7N55qrl+vCIwFc3+UiGRqsuL4Aho275T1n+yIbnUKayd/FKM6L3Id9CUVTV9+3N7Qp5gTC3l/ZMnfXSdB3FO7QYb4kE/2UIZU/id8vESvm+zuWVMgAKXZrYsB37JUGXUMVfyyxlcuuUVtpgXUBNq2IaM5Zi0bl9/tbnl2nFEryJtyFeTNtq X-Microsoft-Exchange-Diagnostics: 1; AM4PR0401MB2418; 6:bOT8fCJn7s2aO40tIeSZ0AIrvkdSc8MS6QliGteR93seYh1Qd/TbcFuwubZHERFUpK6Idn7+nYxg50j4FSISwitb3XBbsKfton5IuLvLoqD0eyqPrABOWsv0dJeMt0rNeZ0okuEPbKJqt7b22ZqVnyKFYz7QuA2/P/YaaVO6SnQji2lBVG5vCLCzbipFyv76yTD8RMcLVRpxudRB3lmEX5znSnuExi0IpaPp3BvsnqR1aIBkSrUHzpXNQ6IaA/vPkmwVfRzf58WvQm9RLV707JKblXyGyyMQkWrm9KGiiCZp5K8luj+F/ridip4Otn5lRw4EQ9CVVSY6Db4GIRftEiQ2ORksYG2fLPA1xjLG7cfhqlDH/QtvJWMpOPu8/m5xHglcHqSkHK2YLIhssXVXFEAzIZ1iJUXUXWClDzQUpL20hTCwO6VgKaviIOOGOEYm3/75Wup1nfhrN96JEmEyVA==; 5:k5YtSzp76CjUiOkhAPb4VL9Na9gRs1K8SS1Oda4zrij7bp/RD9tAbIFBcT1CGbaulGe4KUrDj/hCMlVEqWzkvGiQFsiEbyJ/jmq4bN1HD9zCdZnwwExbg1HdNmx23MmXOIDG7TlS2OsX4Z1LacXUcCZUccwA+Z8cpCXLbt3C93g=; 24:c/bSAzArA28VfYu2KRmsPaFIk9BWahBuLGlZHx7y0kIY+HTCAvHZhoLYiYXN4UpIaLokYfeQi98N311vleImEi8PqNnKQLE99tJSGMwj//M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM4PR0401MB2418; 7:njsPYSnx7gRTearv5BaE/FOEaG54eAJ5dVUwQu7lNNvY3FCZwJv3ZV615t3KsXMk2KAZr52Ow31P2Fyxfg5uCFDNwrztv9bJddQzaZgpxDZyr1sdm24dLR3/iYlJNDi6595eljYmh4m2t9WnMmifWp0VxbE4mY/BL99bACSkvEPSYGbdegfMUqSF2L/KkmZG0z4fQ4jZ1eABh+34ZRdV5ubz6pBwd40Xk85EGJ2L4DUKgHhg0C6aJn/Tbnoyj3QS X-MS-Office365-Filtering-Correlation-Id: c5fda717-92e7-4e8b-f2fc-08d5a44dce35 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2018 10:27:17.5133 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c5fda717-92e7-4e8b-f2fc-08d5a44dce35 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0401MB2418 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pci.vger.kernel.org> X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index f3a40af..1b1c5eb 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi @@ -135,6 +135,7 @@ #address-cells = <2>; #size-cells = <2>; ranges; + dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>; clockgen: clocking@1300000 { compatible = "fsl,ls2080a-clockgen"; @@ -357,6 +358,8 @@ reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ <0x00000000 0x08340000 0 0x40000>; /* MC control reg */ msi-parent = <&its>; + iommu-map = <0 &smmu 0 0>; /* This is fixed-up by u-boot */ + dma-coherent; #address-cells = <3>; #size-cells = <1>; @@ -460,6 +463,8 @@ compatible = "arm,mmu-500"; reg = <0 0x5000000 0 0x800000>; #global-interrupts = <12>; + #iommu-cells = <1>; + stream-match-mask = <0x7C00>; interrupts = <0 13 4>, /* global secure fault */ <0 14 4>, /* combined secure interrupt */ <0 15 4>, /* global non-secure fault */ @@ -502,7 +507,6 @@ <0 204 4>, <0 205 4>, <0 206 4>, <0 207 4>, <0 208 4>, <0 209 4>; - mmu-masters = <&fsl_mc 0x300 0>; }; dspi: dspi@2100000 {
Fsl-mc bus now support the iommu-map property. Comply to this binding for fsl_mc bus. This patch also updates the dts w.r.t. the DMA configuration. Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> --- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)