Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934605AbcCPGJC (ORCPT ); Wed, 16 Mar 2016 02:09:02 -0400 Received: from mail-cys01nam02on0056.outbound.protection.outlook.com ([104.47.37.56]:37856 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751542AbcCPGJA (ORCPT ); Wed, 16 Mar 2016 02:09:00 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; From: Appana Durga Kedareswara Rao To: Moritz Fischer CC: Dan Williams , Vinod Koul , Michal Simek , Soren Brinkmann , Laurent Pinchart , Luis de Bethencourt , Anirudha Sarangi , "dmaengine@vger.kernel.org" , linux-arm-kernel , Linux Kernel Mailing List Subject: RE: [PATCH 5/7] dmaengine: xilinx_vdma: Remove unnecessary axi dma device-tree binding doc Thread-Topic: [PATCH 5/7] dmaengine: xilinx_vdma: Remove unnecessary axi dma device-tree binding doc Thread-Index: AQHRft9+bH7aIp3K/EWNeEg0RlZ5x59axBgAgADSKyA= Date: Wed, 16 Mar 2016 06:08:53 +0000 Message-ID: References: <1458062592-27981-1-git-send-email-appanad@xilinx.com> <1458062592-27981-6-git-send-email-appanad@xilinx.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.23.95.64] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22194.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(189002)(199003)(377454003)(24454002)(13464003)(2950100001)(92566002)(5003600100002)(86362001)(586003)(5008740100001)(47776003)(4326007)(1096002)(3846002)(6806005)(11100500001)(102836003)(1220700001)(5004730100002)(33656002)(189998001)(23676002)(6116002)(81166005)(63266004)(5250100002)(106116001)(110136002)(2920100001)(19580395003)(2900100001)(106466001)(19580405001)(50986999)(54356999)(50466002)(76176999)(2906002)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1NAM02HT232;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;MLV:sfv;MX:1;A:1;LANG:en; X-MS-Office365-Filtering-Correlation-Id: a687937e-8770-4fac-1623-08d34d617594 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(8251501002);SRVR:CY1NAM02HT232; X-Microsoft-Antispam-PRVS: <1316500b80c64e41842208cf5ff94ca1@CY1NAM02HT232.eop-nam02.prod.protection.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(13017025)(13023025)(8121501046)(13018025)(13015025)(13024025)(10201501046)(3002001);SRVR:CY1NAM02HT232;BCL:0;PCL:0;RULEID:;SRVR:CY1NAM02HT232; X-Forefront-PRVS: 08831F51DC X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Mar 2016 06:08:56.4333 (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.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1NAM02HT232 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 base64 to 8bit by mail.home.local id u2G69P6F008236 Content-Length: 3290 Lines: 94 Hi Moritz, > -----Original Message----- > From: Moritz Fischer [mailto:moritz.fischer@ettus.com] > Sent: Wednesday, March 16, 2016 7:04 AM > To: Appana Durga Kedareswara Rao > Cc: Dan Williams; Vinod Koul; Michal Simek; Soren Brinkmann; Appana Durga > Kedareswara Rao; Laurent Pinchart; Luis de Bethencourt; Anirudha Sarangi; > dmaengine@vger.kernel.org; linux-arm-kernel; Linux Kernel Mailing List > Subject: Re: [PATCH 5/7] dmaengine: xilinx_vdma: Remove unnecessary axi dma > device-tree binding doc > > Hi there, > > On Tue, Mar 15, 2016 at 10:23 AM, Kedareswara rao Appana > wrote: > > AXI DMA support is added to the existing AXI VDMA driver. > > The binding doc for AXI DMA should also be updated in the VDMA > > device-tree binding doc. > > > > Signed-off-by: Kedareswara rao Appana > > --- > > .../devicetree/bindings/dma/xilinx/xilinx_dma.txt | 65 > > ---------------------- > > 1 file changed, 65 deletions(-) > > delete mode 100644 > > Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt > > > > diff --git > > a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt > > b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt > > deleted file mode 100644 > > index 2291c40..0000000 > > --- a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt > > +++ /dev/null > > @@ -1,65 +0,0 @@ > > -Xilinx AXI DMA engine, it does transfers between memory and AXI4 > > stream -target devices. It can be configured to have one channel or two > channels. > > -If configured as two channels, one is to transmit to the device and > > another -is to receive from the device. > > - > > -Required properties: > > -- compatible: Should be "xlnx,axi-dma-1.00.a" > > -- #dma-cells: Should be <1>, see "dmas" property below > > -- reg: Should contain DMA registers location and length. > > -- dma-channel child node: Should have atleast one channel and can have upto > > - two channels per device. This node specifies the properties of each > > - DMA channel (see child node properties below). > > at least vs atleast, up to vs upto. > > - > > -Optional properties: > > -- xlnx,include-sg: Tells whether configured for Scatter-mode in > > - the hardware. > > How about: 'If present, hardware supports scatter-gather mode' I am deleting this binding doc as AXI DMA IP support is being added to the Existing VDMA driver. Will fix your comments in the vdma device-tree binding doc. Regards, Kedar. > > - > > -Required child node properties: > > -- compatible: It should be either "xlnx,axi-dma-mm2s-channel" or > > - "xlnx,axi-dma-s2mm-channel". > > -- interrupts: Should contain per channel DMA 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. > > How about: 'If present, hardware supports Data Realignment Engine' > > > - > > -Example: > > -++++++++ > > - > > -axi_dma_0: axidma@40400000 { > > - compatible = "xlnx,axi-dma-1.00.a"; > > - #dma_cells = <1>; > > I think you meant #dma-cells = <1>; here. That caught me while testing ;-) > > Cheers, > > Moritz