Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753264AbcD0Hdc (ORCPT ); Wed, 27 Apr 2016 03:33:32 -0400 Received: from mail-cys01nam02on0075.outbound.protection.outlook.com ([104.47.37.75]:18192 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752330AbcD0Hd3 convert rfc822-to-8bit (ORCPT ); Wed, 27 Apr 2016 03:33:29 -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: Lars-Peter Clausen , "robh+dt@kernel.org" , "pawel.moll@arm.com" , "mark.rutland@arm.com" , "ijc+devicetree@hellion.org.uk" , "galak@codeaurora.org" , Michal Simek , Soren Brinkmann , "vinod.koul@intel.com" , "dan.j.williams@intel.com" , "moritz.fischer@ettus.com" , "laurent.pinchart@ideasonboard.com" , "luis@debethencourt.com" , Anirudha Sarangi , "Punnaiah Choudary Kalluri" CC: "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "dmaengine@vger.kernel.org" Subject: RE: [PATCH v7 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation Thread-Topic: [PATCH v7 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation Thread-Index: AQHRoFND6QhtA/UQr0ONf5+PmTNCA5+c4VsAgACKRoA= Date: Wed, 27 Apr 2016 07:33:22 +0000 Message-ID: References: <1461740729-30715-1-git-send-email-appanad@xilinx.com> <57206632.7010508@metafoo.de> In-Reply-To: <57206632.7010508@metafoo.de> 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="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-22286.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)(377454003)(13464003)(24454002)(199003)(50986999)(76176999)(54356999)(19580405001)(19580395003)(55846006)(47776003)(46406003)(50466002)(1220700001)(189998001)(81166005)(2906002)(106116001)(106466001)(6806005)(5003600100002)(11100500001)(5004730100002)(63266004)(33656002)(2201001)(97756001)(551934003)(86362001)(5001770100001)(87936001)(4326007)(586003)(2501003)(5008740100001)(1096002)(5250100002)(23726003)(6116002)(2900100001)(2920100001)(2950100001)(102836003)(4001450100002)(3846002)(92566002)(921003)(107986001)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1NAM02HT150;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;MLV:sfv;MX:1;A:1;LANG:en; X-MS-Office365-Filtering-Correlation-Id: d99c840a-79af-4619-aed8-08d36e6e3901 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(8251501002);SRVR:CY1NAM02HT150; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(9101521072)(601004)(2401047)(5005006)(13017025)(13018025)(13024025)(8121501046)(13023025)(13015025)(10201501046)(3002001)(6055026);SRVR:CY1NAM02HT150;BCL:0;PCL:0;RULEID:;SRVR:CY1NAM02HT150; X-Forefront-PRVS: 0925081676 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2016 07:33:26.2959 (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: CY1NAM02HT150 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2065 Lines: 45 Hi Lars, > -----Original Message----- > From: Lars-Peter Clausen [mailto:lars@metafoo.de] > Sent: Wednesday, April 27, 2016 12:42 PM > To: Appana Durga Kedareswara Rao ; > robh+dt@kernel.org; pawel.moll@arm.com; mark.rutland@arm.com; > ijc+devicetree@hellion.org.uk; galak@codeaurora.org; Michal Simek > ; Soren Brinkmann ; > vinod.koul@intel.com; dan.j.williams@intel.com; Appana Durga Kedareswara > Rao ; moritz.fischer@ettus.com; > laurent.pinchart@ideasonboard.com; luis@debethencourt.com; Anirudha > Sarangi ; Punnaiah Choudary Kalluri > > Cc: devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux- > kernel@vger.kernel.org; dmaengine@vger.kernel.org > Subject: Re: [PATCH v7 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma > device tree binding documentation > > On 04/27/2016 09:05 AM, Kedareswara rao Appana wrote: > [...] > > +- xlnx,include-sg : Indicates the controller to operate in simple or > > + scatter gather dma mode > > +- xlnx,ratectrl : Scheduling interval in terms of clock cycles for > > + source AXI transaction > > +- xlnx,overfetch : Tells whether the channel is allowed to over > > + fetch the data > > +- xlnx,src-issue : Number of AXI outstanding transactions on source > side > > +- xlnx,src-burst-len : AXI length for data read. Support only power of > > + 2 byte values. > > +- xlnx,dst-burst-len : AXI length for data write. Support only power of > > These are all software runtime configuration parameters that you'd want to > change at runtime depending on which peripheral you are targeting with a > specific DMA transfer. These really do not belong into the devicetree. You mean to have a separate config structure in the driver and handle the above parameters Through that structure??? I understand that above will work for slave dma transfer types what about memory to memory Transfers where we don't have provision to the use this parameters... Regards, Kedar.