Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753208AbbFCGhj (ORCPT ); Wed, 3 Jun 2015 02:37:39 -0400 Received: from mail-bn1on0076.outbound.protection.outlook.com ([157.56.110.76]:24604 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751042AbbFCGha convert rfc822-to-8bit (ORCPT ); Wed, 3 Jun 2015 02:37:30 -0400 X-Greylist: delayed 956 seconds by postgrey-1.27 at vger.kernel.org; Wed, 03 Jun 2015 02:37:30 EDT Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none; From: Appana Durga Kedareswara Rao To: Appana Durga Kedareswara Rao , "robh+dt@kernel.org" , "pawel.moll@arm.com" , "mark.rutland@arm.com" , "ijc+devicetree@hellion.org.uk" , Michal Simek , "galak@codeaurora.org" , "appand@xilinx.com" , Soren Brinkmann CC: "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Srikanth Thokala Subject: RE: [PATCH v4 1/2] dma: Add Xilinx Central DMA DT Binding Documentation Thread-Topic: [PATCH v4 1/2] dma: Add Xilinx Central DMA DT Binding Documentation Thread-Index: AQHQk+kG66IHC6W540KODOFYwDxrvZ2aYy7w Date: Wed, 3 Jun 2015 06:21:26 +0000 Message-ID: References: <1432228194-6760-1-git-send-email-appanad@xilinx.com> In-Reply-To: <1432228194-6760-1-git-send-email-appanad@xilinx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.23.97.12] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21584.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD045;1:8M9G0kJ5xI48k8SGJBetnTa6vVIkXFXe4Ckk4woHOFqzRNWZDkEw6tbYJezs+w5KoSsIgmp9kIT69/AxNz2Y/PFO55GB4/71nNC2JKjWCCOXD2llqHBGuvWRFCqGasE24lKLRn9bcz2kCFl7a1R8SCutazmtFDQmswZrCKZ7eIzmMJPAF8+C1PREECF8FbPB9exC5DLoWgNGAKv4XyWyXCfk3jOtv9mowlZI/R7TzGW6ztEazJyP22fW/2q8EQlfS5Sx+GJrab5EQGnn4Iqh25Huk2xNOBTyZA3jVnxh4Qw9Z/z/GwnAseglfDrto6aL X-Forefront-Antispam-Report: CIP:149.199.60.100;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(438002)(199003)(189002)(51704005)(13464003)(377454003)(189998001)(77156002)(62966003)(97756001)(47776003)(5001860100001)(46102003)(4001540100001)(106116001)(81156007)(5001960100002)(86362001)(33656002)(5001770100001)(107886002)(2201001)(5001830100001)(55846006)(2656002)(2920100001)(46406003)(2950100001)(6806004)(2900100001)(2501003)(5250100002)(19580395003)(19580405001)(87936001)(106466001)(102836002)(23726002)(5890100001)(50986999)(92566002)(63266004)(76176999)(64706001)(54356999)(50466002)(107986001)(4001450100001)(4001430100001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1AFFO11HUB032;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11HUB032;2:ZPsEPgIvVMZKYA0muuH1oIAQMQcPS96HdZcYr66agfwntqfqHuog3L0nHwGWmG6W;2:5FFgAXHitoVMqKrcvrQrG3/db52xt3I/cjx1/MERKjTr+xEfCYR42ARotCkUdXJ0bXiXPITXlnOhTq7gEvP3YmvLP5OTVshraKBjcRHdopXOlRHGjjX1gKJI/KnS1aDyJyEJ1oPB57ZOH81Kw9oxn6ZZ6AM/OIRYNv14+/GAUbFzp/d4GKVGJ/4h+kr41R4J8CgyRUtgrDkgENxUQ70NO011/KWzocCLhqpRM+o1LxGE/rjyXmcNOLQkrYwfJqez;6:G61FCiBDzReMvaxkykVIhrU/wAJRefhirZWyOEYWfdx7HHANfQTJgtPIexgqCNmBxD39VBQIX5PBH+hTQTfu+kurtELwsdMHQt3osj+4DlevuZqF+fsQdRRQEB9RIssUJ/LvCyVLIXukXfTVVBgng8rU5JtbaBO7Vwf0PVNzhBTe+gLY1LIwvrNvLK/SD+CwxtDk4ILXyqaB/tbWEo2WBQNTMA5slkBd/K3A2JGrksFAUhAfTUnxmG03MeMQrQ3o1jXPGcQyejaFBHIhIvbnLL8DbqRUOq9bKp9zlm1RsDo8sTpboKP72xHY0dbP3HyLf95YAjUYUbJEXMubmchiUhRblZhn40mD1Vedx/Vy8d35GnbrX6+gwOxeXNLtHDpi44oZXTku1v6Sl+Fc2p0sidTgih6vLbOj+VoDWsuHYzC7z3wZsNhCsSFQbM/dbfM9JG1SgEJSpF+7oFiQp0aoQYLYVn3fJGYG3rPej9r0p78GwEdk7D5bTxkP/5nFrnj1 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1AFFO11HUB032; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(520003)(5005006)(3002001);SRVR:BN1AFFO11HUB032;BCL:0;PCL:0;RULEID:;SRVR:BN1AFFO11HUB032; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11HUB032;3:9/FkP/RcU6DreUSP/cqSmVd9m+pg56svODFZyHpEiiPT/UI98KJD/Jdh0Xqknr/J2SJ3aWPsbilnHhdOAhHVEiQBGUgBWlnkp/FbDeMgBZ8Ox+CbyufkrX/bYa+ZsOdWKTy536bM57ikkt71rEuRguEaGtZngukg7EP9iF/IwlQYKfgyHaNt0jIfIJ1ZKR4ED7HCAgLhR0E1OqE8P8hvA1ul3GtbTj82UYhXSpVts16qgbgFK13FY4JwrbLbFdTer8NAY0xxv9v1O8yE4yAw4RngQzJC/V4DQDfys3Acqz58alMRzQzQWXc51gZlppQp X-Forefront-PRVS: 05961EBAFC X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN1AFFO11HUB032;9:5ujHaGLZnHhUNA9djojfUioBW9rcSKyY6B6+oamD?= =?us-ascii?Q?UC3zlgQXFUmL5+5Xh+LOXRiU/P1irqPijHDe/IFjxoYgX/dlZLyxmjYHITBG?= =?us-ascii?Q?RTIowBp5vIltv+XHO5x0wW7L68LT2sJ/wtwv6X6dgkzGz/zdZk0HODTSnPfm?= =?us-ascii?Q?d84rkFuf3LN0wKhMyat7oF8AaQUy/+l9wOnX7k1E7EtqBpJ51RrspKiMLf5r?= =?us-ascii?Q?66X8QaFjEi/zvpZpt2K8CR/ERlavAPK7E7IFZn4183LkJMd9Kl2aBTOVeP+A?= =?us-ascii?Q?aI39cqD2CYcbkLIa0wAbTdC5+BPbc+Vrb5xUZYA21ud7Y2gdBRi3tdt5lfWW?= =?us-ascii?Q?8bEgVF03aQjnnCS1ooZGMggbEgz4014C83lrDCa6O9btoQrDdfjK2EtAHmII?= =?us-ascii?Q?yeaMKgtXsrdybqFTYRKd2C1dDNZ8uz3BGo3umIpE3NWe1qpcLIY/7sKAB3cZ?= =?us-ascii?Q?QakXLXWCdKs+pLrBWldoQt8n0TvwINgPoKjS1aK7wFoFMdRiyNtOwhnP9S0L?= =?us-ascii?Q?KHk3tHFGMQjcPqONMnNkU1c4ioS3nI/bUXTNP2l3DGgfeaG3xcQ+bnVMBKoH?= =?us-ascii?Q?7fmYvg+u+Gh0hEpJpAz1IB1FXotHc+Kle3c81/t9xcDX/u9hIEcLjdXnN2RO?= =?us-ascii?Q?HWQWssFPZi+L3f+R0cd8939rKsTYvdLkjrwPI09/bCZLM5eWPet5sHIHSfDa?= =?us-ascii?Q?rt1tc8B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PfcSAo+1s= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2015 06:21:31.0608 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1AFFO11HUB032 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4101 Lines: 111 Ping! > -----Original Message----- > From: Kedareswara rao Appana [mailto:appana.durga.rao@xilinx.com] > Sent: Thursday, May 21, 2015 10:40 PM > To: robh+dt@kernel.org; pawel.moll@arm.com; mark.rutland@arm.com; > ijc+devicetree@hellion.org.uk; Michal Simek; galak@codeaurora.org; > appand@xilinx.com; Soren Brinkmann > Cc: devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux- > kernel@vger.kernel.org; Appana Durga Kedareswara Rao; Srikanth Thokala > Subject: [PATCH v4 1/2] dma: Add Xilinx Central DMA DT Binding > Documentation > > Device-tree binding documentation of Xilinx Central DMA Engine. > > Signed-off-by: Srikanth Thokala > Signed-off-by: Kedareswara rao Appana > --- > This patch is rebased on the commit > Merge tag 'nfs-for-4.1-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs > > Changes in v4: > - None. > Changes in v3: > - Used proper alignment for all the properties. > Changes in v2: > - Change property 'xlnx,data-width' to 'xlnx,datawidth' in the description > to match the implementation. > > .../devicetree/bindings/dma/xilinx/xilinx_cdma.txt | 54 > ++++++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/dma/xilinx/xilinx_cdma.txt > > diff --git a/Documentation/devicetree/bindings/dma/xilinx/xilinx_cdma.txt > b/Documentation/devicetree/bindings/dma/xilinx/xilinx_cdma.txt > new file mode 100644 > index 0000000..d1637de > --- /dev/null > +++ b/Documentation/devicetree/bindings/dma/xilinx/xilinx_cdma.txt > @@ -0,0 +1,54 @@ > +Xilinx AXI CDMA engine, it does transfers between memory-mapped > source > +address and a memory-mapped destination address. > + > +Required properties: > +- compatible : Should be "xlnx,axi-cdma-1.00.a" > +- #dma-cells : Should be <1>, see "dmas" property below > +- reg : Should contain cdma registers location and length. > +- dma-channel child node: Should have only one channel > + > +Optional properties: > +- xlnx,include-sg : Tells whether configured for Scatter-mode in > + the hardware. > + > +Required child node properties: > +- compatible : It should be "xlnx,axi-cdma-channel". > +- interrupts : Should contain per channel CDMA interrupts. > +- xlnx,datawidth : Should contain the stream data width, take values > + {32,64...1024}. > + > +Option child node properties: > +- xlnx,include-dre : Tells whether hardware is configured for Data > + Realignment Engine. > + > +Example: > +++++++++ > + > +axi_cdma_0: axicdma@7e200000 { > + compatible = "xlnx,axi-cdma-1.00.a"; > + #dma_cells = <1>; > + reg = < 0x7e200000 0x10000 >; > + dma-channel@7e200000 { > + compatible = "xlnx,axi-cdma-channel"; > + interrupts = < 0 55 4 >; > + xlnx,datawidth = <0x40>; > + } ; > +} ; > + > + > +* DMA client > + > +Required properties: > +- dmas : a list of <[Central DMA device phandle] [Channel > ID]> pairs, > + where Channel ID is '0' for write/tx and '1' for read/rx > + channel. > +- dma-names : a list of DMA channel names, one per "dmas" entry > + > +Example: > +++++++++ > + > +cdmatest_0: cdmatest@0 { > + compatible ="xlnx,axi-cdma-test-1.00.a"; > + dmas = <&axi_cdma_0 0>; > + dma-names = "cdma"; > +} ; > -- > 2.1.2 This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/