Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp948166ybp; Wed, 9 Oct 2019 06:44:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqygVfIP1QjY46bMBt+NQyRPnAG7XMdY8cCvx+TOsQ/TqwunsoUT1CLPsFxqqDy17Sy5Qid1 X-Received: by 2002:a50:c949:: with SMTP id p9mr2987135edh.25.1570628644593; Wed, 09 Oct 2019 06:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570628644; cv=none; d=google.com; s=arc-20160816; b=ZsczE3H2KOjLRLwSUtj0NOR/Mq/v7dt+/T16lNmuTWOAsP07GovcNAbwXE1o/j8Be8 lmmtPWDsAotZiEHffeSn4gjBYw45682RqOKHsRlZ6kchEizytr56PR26ko6Au+f6TqYj WZATySGysEvSzVeztRnPHXaIB0Yiy3O8b0CadJKaL4yVbwgj8UDiqdxUVvrUb3Rd11y/ xWjXQB27Fpb/1lw0zi1kJ3pixvycwTCAcfrn9DDjZwnFliW6dRuc9xawO1LdN1iFI0eW KyaUc+CDG+nb9ss4c7QsemX3VFitPiwbuKR6DDE2WdEymLKs9w27P/XAWZ4TQyPKURPz zH9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=SsWCaK0u568BJNLYQT3qNkhvXINTJ8zHD7fBBHIwLt4=; b=ebNaQAvRRpg8Cmo/OTCdACej3CfhmTNbdFx3X9Tnaob57QbgE6St0gGRX96h2a/m0o X81gVNMnlTkXCpV8mLL+Z0GMv8++CQ0qhEXxqMFTirH6ZFiRWF4Yt4/+ppOZBLx6ApFf tJrutwgnFA65JRK21L23Is3jeNpzmbG7bHLyslg4mNBqqkJPbBQIY6kTbf8RidLkgmy1 WmyPboIRZVQhX5uaKRvNMxPC8Gs9gibJVNeE66v8HuTnMNbLdn0FAkWApW5ZzmQHTUsO K7hz2ugR312laHs49viH+SP1nRhRLXOPjBtdsNVDYCQmdwGMxvaet74pBXYvn2AStg3m EZRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JTafH1Z3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nl6si1128760ejb.207.2019.10.09.06.43.40; Wed, 09 Oct 2019 06:44:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JTafH1Z3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731387AbfJINlN (ORCPT + 99 others); Wed, 9 Oct 2019 09:41:13 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:48178 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731254AbfJINlN (ORCPT ); Wed, 9 Oct 2019 09:41:13 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x99Df5sN105925; Wed, 9 Oct 2019 08:41:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1570628465; bh=SsWCaK0u568BJNLYQT3qNkhvXINTJ8zHD7fBBHIwLt4=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=JTafH1Z3hknmtTUE2L6QNZjY+A5PGwZztPE6/rIM1fQf0BzitaE1wJ6FwU8Gwq9+p NA6GhortGRHuhA/FdFwjOovda8C5q7mUB5/qa73KoCo6QoSjNEhPcrYqdO3+A2Jk4V P3/mvLIuVgA6ctK8W1AaIxFrXDYhZ01xTczq7iUE= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x99Df4I7084862; Wed, 9 Oct 2019 08:41:05 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 9 Oct 2019 08:41:03 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 9 Oct 2019 08:41:03 -0500 Received: from [127.0.0.1] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x99Df0HJ075056; Wed, 9 Oct 2019 08:41:00 -0500 Subject: Re: [PATCH v3 08/14] dmaengine: ti: New driver for K3 UDMA - split#1: defines, structs, io func To: Peter Ujfalusi , , , , CC: , , , , , , , , References: <20191001061704.2399-1-peter.ujfalusi@ti.com> <20191001061704.2399-9-peter.ujfalusi@ti.com> From: Tero Kristo Message-ID: <8bd7db20-811d-b7c7-38ec-75f1c9d94b8f@ti.com> Date: Wed, 9 Oct 2019 16:40:59 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20191001061704.2399-9-peter.ujfalusi@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/10/2019 09:16, Peter Ujfalusi wrote: > Split patch for review containing: defines, structs, io and low level > functions and interrupt callbacks. > > DMA driver for > Texas Instruments K3 NAVSS Unified DMA – Peripheral Root Complex (UDMA-P) > > The UDMA-P is intended to perform similar (but significantly upgraded) functions > as the packet-oriented DMA used on previous SoC devices. The UDMA-P module > supports the transmission and reception of various packet types. The UDMA-P is > architected to facilitate the segmentation and reassembly of SoC DMA data > structure compliant packets to/from smaller data blocks that are natively > compatible with the specific requirements of each connected peripheral. Multiple > Tx and Rx channels are provided within the DMA which allow multiple segmentation > or reassembly operations to be ongoing. The DMA controller maintains state > information for each of the channels which allows packet segmentation and > reassembly operations to be time division multiplexed between channels in order > to share the underlying DMA hardware. An external DMA scheduler is used to > control the ordering and rate at which this multiplexing occurs for Transmit > operations. The ordering and rate of Receive operations is indirectly controlled > by the order in which blocks are pushed into the DMA on the Rx PSI-L interface. > > The UDMA-P also supports acting as both a UTC and UDMA-C for its internal > channels. Channels in the UDMA-P can be configured to be either Packet-Based or > Third-Party channels on a channel by channel basis. > > The initial driver supports: > - MEM_TO_MEM (TR mode) > - DEV_TO_MEM (Packet / TR mode) > - MEM_TO_DEV (Packet / TR mode) > - Cyclic (Packet / TR mode) > - Metadata for descriptors > > Signed-off-by: Peter Ujfalusi Did review this to best of my ability but could not find anything obviously broken, thus: Reviewed-by: Tero Kristo -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki