Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2471705ybd; Mon, 24 Jun 2019 07:03:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLnj5p1Uo1QOrBckR6RF8kvgLpm9lgT282dqY9okdaFqZ2KJzb3WICFKZbq6WucadHYiUN X-Received: by 2002:a17:902:7787:: with SMTP id o7mr2417570pll.120.1561384986671; Mon, 24 Jun 2019 07:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561384986; cv=none; d=google.com; s=arc-20160816; b=dOAQZMMQGIJodW74/zWO67/exoyZ0N3gqP1zERnUmDFKdc7SG9wts79ovEFJ8DwoEm /yxBmkz74q0nL3ogF8FXc7uPSdyb8o/gzZST3iEkWn0rqmLOrbtji/kk/QjDpWZqFFY9 ELxYgE28qIaXBWx+uSnwOcxlujtZ5onJwAyts+pS4pUpCYjFzd+QqjCAv7zHIV+0b8WG et9eUWyxwDP6OmmaNGR10jbyh2oDDxxFUCqnxdUumoIUf0lwgDvY0y5ES2Ja1u8dGE0A cqKO+qweQVFdywt0DEFREHEmjoVisTcocQTSp+2ql2jVAjKh13YL1MaIb1TKd5gwx2Jp KTdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=m4fUqXLe2chlM2Qf+V0iRJljPtSQYVlXltwsp2dic14=; b=B8sX3I3+hO+Xys79yFM/wZndBm9zahs65JfueWh5o+5MadqSmDKeQLB+yy5i3xvbNy I7ZXkRrsSeRsNN4/WNQ34aEHzDeM8B4aq4CsQCoahkPlFgrXKNb7PdD0o/iWT9PXctMi NPodqKiBkWSTVgrwe8LI0v3+hGTyJfGwSMlw/NU5rbMHjXRK5Rc2OkDfcLe7N9dnSRnR AoAMTvjvdNL1pFahYVlGdVQQWYlXGmlS9YDHHWRzai5CU3wcJjfAYMw8mM0CE+yEq2sb xYFViCHJc68jSi3KwyEagOtO60/ewC2FSbp32bamvTeoq6i3qusuvGCRTa9UeZEaBBYL YzTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BTRWMzH8; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8si10371780pgd.64.2019.06.24.07.02.50; Mon, 24 Jun 2019 07:03:06 -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=@kernel.org header.s=default header.b=BTRWMzH8; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728092AbfFXMEI (ORCPT + 99 others); Mon, 24 Jun 2019 08:04:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:46894 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726375AbfFXMEH (ORCPT ); Mon, 24 Jun 2019 08:04:07 -0400 Received: from localhost (unknown [106.201.35.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 12539212F5; Mon, 24 Jun 2019 12:04:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561377846; bh=Oz3COF33WpA043TGrrlVv1NbWayAXkghVvgEFRTlZ/E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BTRWMzH8naU0/87BsjrJicex3tVnB4dgKpKjYzEo7TCi30MNMaJXC/rIz2YsO97li Q8MpYUT0kQDq4SlMQoY2AI11743HqbzFsEloorlsDm3XyGGYvk5pcO85CO5hqaQSKj urdX2ebL6w9eNcT6i25nUauGxRAPywbAuh0fE//0= Date: Mon, 24 Jun 2019 17:30:55 +0530 From: Vinod Koul To: Peng Ma Cc: dan.j.williams@intel.com, leoyang.li@nxp.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [V2] dmaengine: fsl-edma: support little endian for edma driver Message-ID: <20190624120055.GB2962@vkoul-mobl> References: <20190613102708.21606-1-peng.ma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190613102708.21606-1-peng.ma@nxp.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13-06-19, 10:27, Peng Ma wrote: > Our platforms with below registers(CHCFG0 - CHCFG15) of eDMA > *-----------------------------------------------------------* > | Offset | Big endian Register| Little endian Register| > |--------------|--------------------|-----------------------| > | 0x0 | CHCFG0 | CHCFG3 | > |--------------|--------------------|-----------------------| > | 0x1 | CHCFG1 | CHCFG2 | > |--------------|--------------------|-----------------------| > | 0x2 | CHCFG2 | CHCFG1 | > |--------------|--------------------|-----------------------| > | 0x3 | CHCFG3 | CHCFG0 | > |--------------|--------------------|-----------------------| > | ... | ...... | ...... | > |--------------|--------------------|-----------------------| > | 0xC | CHCFG12 | CHCFG15 | > |--------------|--------------------|-----------------------| > | 0xD | CHCFG13 | CHCFG14 | > |--------------|--------------------|-----------------------| > | 0xE | CHCFG14 | CHCFG13 | > |--------------|--------------------|-----------------------| > | 0xF | CHCFG15 | CHCFG12 | > *-----------------------------------------------------------* > > Current eDMA driver does not support Little endian, so this > patch is to improve edma driver to support little endian. Applied, thanks -- ~Vinod