Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751863AbdFITRJ (ORCPT ); Fri, 9 Jun 2017 15:17:09 -0400 Received: from mail-db5eur01on0063.outbound.protection.outlook.com ([104.47.2.63]:38304 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751572AbdFITRH (ORCPT ); Fri, 9 Jun 2017 15:17:07 -0400 From: Han Xu To: Stefan Agner , "shawnguo@kernel.org" , "kernel@pengutronix.de" , "sboyd@codeaurora.org" CC: "A.S. Dong" , "dwmw2@infradead.org" , "computersforpeace@gmail.com" , "boris.brezillon@free-electrons.com" , "marek.vasut@gmail.com" , "richard@nod.at" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "fabio.estevam@freescale.com" , "LW@KARO-electronics.de" , "linux-mtd@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-clk@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v6 2/3] ARM: dts: imx7: add GPMI NAND and APBH DMA Thread-Topic: [PATCH v6 2/3] ARM: dts: imx7: add GPMI NAND and APBH DMA Thread-Index: AQHS4Kd8qMXVBha/GEOuO/A4/5ENYKIc55UA Date: Fri, 9 Jun 2017 19:17:03 +0000 Message-ID: <5699f899-32f8-4c8d-fb47-aa257a51863a@nxp.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: agner.ch; dkim=none (message not signed) header.d=none;agner.ch; dmarc=none action=none header.from=nxp.com; x-originating-ip: [192.88.168.49] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DBXPR04MB320;7:duf4uaItuFh70A5ttTqOKUGaQcaaLnZ9Fdh4rXxpRLitOvJBucT3YhSf/0xuRLU37FgSmhkijOIUI8jj3hYCgn2dap99JhHNQBFv/l6CdMYjDrCARuoxyiyOrV1zn27fLFqB6dIzV26h37g3BVfh2TRVKqPXCM3lb+Jiwz+x72WUmoxKvos4BZd776yuBUJcA4dBLItrbES20HFAn+jXKTm4beDEBQlZKuY/9plOjVDu670VsYIDzouJSUkYd/NrnCfdIn2q5Rm/eblH/NgrhDK/i0yVCn+Bpvnczu4wQKg9ODxOIvsWobXHMTvxeqtCI1arakVlRWgIt5j3T1OSOA== x-ms-traffictypediagnostic: DBXPR04MB320: x-ms-office365-filtering-correlation-id: e276fcbf-4c45-4bb6-de63-08d4af6c1cd7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);SRVR:DBXPR04MB320; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(20161123562025)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DBXPR04MB320;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DBXPR04MB320; x-forefront-prvs: 03333C607F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39850400002)(39450400003)(39840400002)(39860400002)(39400400002)(39410400002)(24454002)(377454003)(6506006)(81166006)(3280700002)(8936002)(6436002)(54906002)(6512007)(478600001)(2900100001)(14454004)(8676002)(99286003)(53936002)(5660300001)(38730400002)(6246003)(4326008)(6486002)(25786009)(3660700001)(102836003)(3846002)(39060400002)(2906002)(6116002)(53546009)(2201001)(2501003)(5250100002)(7736002)(229853002)(189998001)(86362001)(305945005)(2950100002)(7416002)(36756003)(50986999)(76176999)(54356999)(66066001)(31696002)(31686004)(33646002)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:DBXPR04MB320;H:DBXPR04MB080.eurprd04.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="Windows-1252" Content-ID: <1012803F3DD8F74AA18FD2A64A750FC9@eurprd04.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2017 19:17:03.9448 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR04MB320 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id v59JHJ6P007770 Content-Length: 1770 Lines: 53 On 06/08/2017 05:34 PM, Stefan Agner wrote: > Add i.MX 7 APBH DMA and GPMI NAND modules. > > Signed-off-by: Stefan Agner > Tested-by: Fabio Estevam Acked-by: Han Xu > --- > arch/arm/boot/dts/imx7s.dtsi | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi > index c4f12fd..4902f62 100644 > --- a/arch/arm/boot/dts/imx7s.dtsi > +++ b/arch/arm/boot/dts/imx7s.dtsi > @@ -995,5 +995,36 @@ > status = "disabled"; > }; > }; > + > + dma_apbh: dma-apbh@33000000 { > + compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh"; > + reg = <0x33000000 0x2000>; > + interrupts = , > + , > + , > + ; > + interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3"; > + #dma-cells = <1>; > + dma-channels = <4>; > + clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>; > + }; > + > + gpmi: gpmi-nand@33002000{ > + compatible = "fsl,imx7d-gpmi-nand"; > + #address-cells = <1>; > + #size-cells = <1>; > + reg = <0x33002000 0x2000>, <0x33004000 0x4000>; > + reg-names = "gpmi-nand", "bch"; > + interrupts = ; > + interrupt-names = "bch"; > + clocks = <&clks IMX7D_NAND_RAWNAND_CLK>, > + <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>; > + clock-names = "gpmi_io", "gpmi_bch_apb"; > + dmas = <&dma_apbh 0>; > + dma-names = "rx-tx"; > + status = "disabled"; > + assigned-clocks = <&clks IMX7D_NAND_ROOT_SRC>; > + assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>; > + }; > }; > };