Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751831AbbH1Gb6 (ORCPT ); Fri, 28 Aug 2015 02:31:58 -0400 Received: from mail-by2on0054.outbound.protection.outlook.com ([207.46.100.54]:55552 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751327AbbH1Gb4 (ORCPT ); Fri, 28 Aug 2015 02:31:56 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; ettus.com; dkim=none (message not signed) header.d=none;ettus.com; dmarc=bestguesspass action=none header.from=xilinx.com; Subject: Re: [PATCH v9] dmaengine: Add Xilinx AXI Direct Memory Access Engine driver support To: Moritz Fischer , Kedareswara rao Appana References: <1440432666-10310-1-git-send-email-appanad@xilinx.com> CC: , , Michal Simek , =?UTF-8?Q?S=c3=b6ren_Brinkmann?= , Appana Durga Kedareswara Rao , , , linux-arm-kernel , From: Michal Simek Message-ID: <55E00050.2020709@xilinx.com> Date: Fri, 28 Aug 2015 08:31:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21774.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD035;1:j1kf1KcMlSSy+G251EMqxCnjL6DzYZf4/EoJW+CSzoYcG3TSotbW9d40IoyDRXn0E4uuYpY+B+wZ6+jhrOssoFRZUSuK+cvkliairud5mIsxSwoU+t/+r1SbzJcYKyclYXkslsM+3yXhR6WHye4gid3FzfereT+CWxZL/olNTmg2qiAs3saZV+vbG0XrwmO/A47ICdmQXMomqWN+l3f0lgdwBe8h+IJ3OdZOo++U4F9FbFKZQOVjz2ScOj4J+n98e/HUJSW33e20afnF7i8n097nCbfai2LFWmvVonZJ+okkckfTqXiP6xHN0MROlA7OYV65/tDr5GYfA2h+umzDPZV97j1w9b7BkJjDCNlp3Km6aixx0CcjyUe4yUVTFjLW X-Forefront-Antispam-Report: CIP:149.199.60.100;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(3050300001)(189002)(377454003)(479174004)(24454002)(199003)(164054003)(87936001)(36386004)(50986999)(87266999)(65816999)(54356999)(76176999)(59896002)(4001350100001)(80316001)(86362001)(2950100001)(6806004)(4001450100002)(81156007)(4001540100001)(92566002)(23676002)(33656002)(50466002)(46102003)(83506001)(106466001)(63266004)(77096005)(64126003)(62966003)(77156002)(5001830100001)(189998001)(5007970100001)(5001770100001)(5001860100001)(47776003)(64706001)(65956001)(36756003)(65806001)(5001920100001)(5001960100002)(107986001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2FFO11HUB037;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB037;2:lxtOd2jxLvK3ApwLN9CfyEOuMTuUy4/2ZBJDKoLorzE5vyA0proqk1IdQavOBNZv1w8EJ8u/A1ah7PVEaVIfQzcUm1cLkW3KpDJT5dAW35HjdpBReYyzDh9XjgUc5ZvfbtlyJQaiA4T52RRHVKExGQDZ0D34pNOn0Hf7xzIsX0w=;3:rHVmY7Uh7zrqlshLLNM3IJUpW0WnrRMHedbEdODelyi1rrxbY0HPuabvYnaXe1PKwjPATq6fiAoDdNlcZDUyNu9+y2bB+KjjjSbbKOJDD27DQVRhR14gta37MvmBYs2NbcybCPUneqfiFA4Pv8FNytntHJjTN77oIsaaO2/csSg87EVNcq2Vxe+1wXTBrRr6XgSOm8tEQOrWxbT3FEhw8cIT/m1ntjPs7jMakze8/2I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hpYIu4uzIXUCEoAzUZm4buWIYp2x8jkrt1jB+GdOY7K4RAaOif57SR+beCe4NnUqEMDkLja0VyOujjXy8iuJHtO5/2VH6EBvJYaF1mJ91XVn+E4g9vX9MpwOn9ZWu7GtcRYpYdXjp7dswwmCwfAhfYkp0SMMtKjcZtQ8D1X12opKmp2UyLP/f+jyG42o X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(8121501046)(3002001);SRVR:BL2FFO11HUB037;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB037; X-Forefront-PRVS: 0682FC00E8 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTDJGRk8xMUhVQjAzNzsyMzowOENsTGMrSGdqU1pEWVI4L2NUZzg3MzJR?= =?utf-8?B?TUtaMnF6N09iWU43cFpLdFZseFZGOTV2VldmMWdDS25wS3NldjV1VC9GT0VB?= =?utf-8?B?WkdkSFNVd3ppMUNkcTMxMldVWTRoOXU5NWcvY0hGSU9RbWQrdjhoTHJDUkxl?= =?utf-8?B?NjBmMHJWRkFIcVJEcTFuWmtxaWRvK25NVzc1a1oxK2RxNHBKZnhIek1XRTNs?= =?utf-8?B?ZjlVL3FlM0s3d2JvbFIvdFV4V3dFbklUUmd0Z1ZSaTNuOFdSNFYwbE8xazRX?= =?utf-8?B?R2JpREZ5N25UYytzY1o3a1VubGNpVitNSzRhR2ZXR0M2Y2ZDWmFkY1NFbHlW?= =?utf-8?B?MWZqb3M4N2U4K1ZuSFp2SEN5MVBUSHUxQ1dMRy9BOVYzMWFzbnVpUXR0aDVL?= =?utf-8?B?Y3lnaldLanFleGpSeVVHZXIzcG10NjltN2d3VVYyMmt6ZXdxRmJLd21CYVJi?= =?utf-8?B?TmE2RVZ6TlJFMy9OZjdoVGc5R0gxV3ZoYm92N3NFbjBRY3JWSUlLbXBqby9P?= =?utf-8?B?ZjBHSVV3UDhTND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hMNnN5NHlHeFlUV2NEdjJRUFlXaXhqRGUwUHZ5LzBNZG5QZWpWa282MG5D?= =?utf-8?B?RXJoNFh4VDVYRi9zTENGRjhVREdQVTJoalVDZllIZXpwT2xaTjNaQ0V5cUJZ?= =?utf-8?B?b2ptQWlIYjZjUnRuQWdlZFJIb29ubmZRWnoxNTdXWmJ0RTR5TjZWTFJ5UDhr?= =?utf-8?B?NTFualpYM25yNnZUU1FRL2xuRTJDVWYwUGZNTXVFVkQyamxFemNLeTQwaFNN?= =?utf-8?B?N05VN3ZGeG9XQW5DQWxxeDVUNXlxQUxkcm40RHllOXJ3MmVyeGY2eXNUa3la?= =?utf-8?B?dFpORTIrQUlvZWxHTEdScEFMSkJhZ2RlR3NtdU0vZjVGdnRQL04zSjlIdE5x?= =?utf-8?B?dUZ1enEzMVJJeEduMVF6amdWcWVZVEg5Y2VNYndUYnhXMGgvNWo1QjErSGZV?= =?utf-8?Q?7waoJ7crltwSVugOPRz8/QpO+QvbrGQEx?= X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB037;5:1fYsqM+vEqHf3mrHhEyMjhKyqT7I64m7yy6y9EQpmBQ6Ew0KzpTU0fMaZICVfeCoPcF+h+HY5Pp7JEAoJSamT2ZWV799gROwrnHiJv1IVyTZaEmjIm+i/XNbvCG4p4HozFvNzyrwhlpTVpKy8c/wyw==;24:kRdT0Xo99PHLa8DZDTtia/L/zZCf21Ic4mOy/Y/5gn+s+qYuU2vnbVAdmvngAulFgzXgpoP48d0NZ4FUkb5zDrYC0jJIuA8IfayS1WQIlxU= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2015 06:31:53.6049 (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: BL2FFO11HUB037 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1176 Lines: 31 Hi Moritz, On 08/27/2015 04:30 PM, Moritz Fischer wrote: > Hi Kedar, > > one thing that I realized is that you're not grabbing any clocks, does > this assume that you boot your system with fclk_enable to make this > work on Zynq e.g? > I realize the Xilinx VDMA driver in mainline doesn't have clock > handling built in neither, but wouldn't having that in new drivers at > least be desirable? Handling clock for soft IPs is not trivial problem from generation point of view. Adding clock handling to driver is simple and if you look all our soft IP drivers are lacking it. Users can change clocks freq in IP which needs to be covered too. And yes currently fclks are enabled by default that's why adding clock handling to the driver is not needed. Definitely PL clk handling is a topic which we are aware of but we don't have any 100% workable solution now. Current expectation is that clock is just working. Thanks, Michal -- 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/