Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp264977ybl; Wed, 11 Dec 2019 17:57:16 -0800 (PST) X-Google-Smtp-Source: APXvYqy+izkRUTicRz5kIExVZ8X34szyAVPnBuMiCom2NejgCeIxnOSwMR0bUE3BCeWmzVZLzews X-Received: by 2002:a05:6830:1116:: with SMTP id w22mr5382533otq.63.1576115836137; Wed, 11 Dec 2019 17:57:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1576115836; cv=pass; d=google.com; s=arc-20160816; b=vRvENE/f3RCrSS1oab4obcuQiaThqBMAplqTD4d+VLY1Dmxtzz055y5Wj7e3nuaQX2 Js4IOT4fu4S7UK6inTjMgBAw3coM6BfGJnUPAOs/uJ/5ZdOsKZRe5YKIl2GdWhmENIls HDD50cM10GYXsn61Ai5zbxLkU4FouLYywhyFkfsFqVSpfoLRjJXyq/oa5rULAfbqg+Bd xfW47EVk/MVfeN0XwiItp4eIG8yfqtRkuf6QJCNCeL8ncs5jMU2zyS8ko6WnVxoGCiDG qF4DD6F1J+5q99pu0pZvbyT5/1k6mloH9uXMjhQNWYFaBsUV5Ilv4o7g9WiBmEeZF8pA 5cHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=NGNsv+Yn3CX+aUNKzN0PTi9u1GNxvEgvZ9Pv5K6wZks=; b=ACjxM9XnuNsrkRms3LG/NFzw+b6KFPjP/Yl3tlpYYQYz+vNy/fO38d2C7upqEC4VS/ PaKhSQL7H4Fewor2PR5CLG3vprMi3lS8QfCNYDCcXkXC82fjEcFwDnI7r8CBFqYXQZOv +5+51g2bcMIbjI2SQfQyOwyB452mhdYp5tA8FglGURL4MZAgablrG6Vwy5/dCNEP6gEI Hn0qaoLHcSeNINQUDTabSetfRypMqgdkPqyGYNfrrrzKXTxqipngJIeN8JZ9nu/+SBxc AB/VnkSfWVrzes3E7IQ5Skb6YkPXUAwoioTvTFHRFV/21WjaIflaFDS4VI1Sr+BHdhdJ hEtw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=SH7Am+5F; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10si2284250oto.293.2019.12.11.17.57.03; Wed, 11 Dec 2019 17:57:16 -0800 (PST) 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=@nxp.com header.s=selector2 header.b=SH7Am+5F; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727602AbfLLB4a (ORCPT + 99 others); Wed, 11 Dec 2019 20:56:30 -0500 Received: from mail-eopbgr20051.outbound.protection.outlook.com ([40.107.2.51]:9090 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727504AbfLLB4a (ORCPT ); Wed, 11 Dec 2019 20:56:30 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NaIsc90vgofJ/NQL5OBc/aQSIRl2047Hna8Wj7MM4ug/9fC2AeJFPv2RAJXGvTH0I2HYlzlIJidJUwXR9xwgjwL12KXZlf+QWjMnFAjxkkjceovPvxBC+X+vJsniFo3WOE04WDPNGtL8lBRiL5Xm7haWaab9OLiQAZUyjm8yJeiTe63w5QCAswqmM1UDPddkIwFZr7TKj/Ea35r+flwQclexRbxhv6ldisX5F2hKF+Dg4T7/nlCW7nm89kbQ25tELKQu4A4N68p2d1ObM+tH8Fzoac07SNUpGiL+tWVIXiwDeqlY1vExY9DMqcEgOlVH2G1UEAWHvJGMEWUXb570Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NGNsv+Yn3CX+aUNKzN0PTi9u1GNxvEgvZ9Pv5K6wZks=; b=EseKOL/6NK6lWW0P3iDqof/BL3HmDhWUl+UZ/Kexo6c79MX51VHLXahTDxeOF2gKyC9FsdX2fm5HMxCc2Ho/zPpqS7qa043IjGNVyeOgeYr+DswsEgqYKCY4rc33p2D0/jk4Pgi2AeD4fXUbtWrCPOa3AXGCj40VL1rL9bhY5fdXUUDS09eo1rF7Cx4Qa5rQ4rIeU72LNvcv3b1XGkgpm+tE2GCxq2kgIz3Z+CM9P9hlbV2K3kLt4r91qywtPZ0VZPhStK4NwzbutufHl24GRYVWpRD+8wxhzDcAnXMJsECGgnPOEYkVY8ZROaQqyjYmB35sN/GEGpuLNhmXquPJoA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NGNsv+Yn3CX+aUNKzN0PTi9u1GNxvEgvZ9Pv5K6wZks=; b=SH7Am+5FwLE2H7j5FbM+u3rfNfjZr5A2LUFRJ13vvQhjtGZ/ttrgi9hzKuGGxDsLIaViOqFVTBAwvCYbv5ldTm5yqBd3zFbLY50qBviYIwkbeNdm+sy4AldgYrVvlMH5G7ybs8t3mubqnT4DhLd5CnHyoab5ozMHHB2/uDesKyM= Received: from VE1PR04MB6638.eurprd04.prod.outlook.com (20.179.232.15) by VE1PR04MB6464.eurprd04.prod.outlook.com (20.179.233.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.15; Thu, 12 Dec 2019 01:56:26 +0000 Received: from VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::100:f42b:82a1:68c2]) by VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::100:f42b:82a1:68c2%7]) with mapi id 15.20.2538.017; Thu, 12 Dec 2019 01:56:26 +0000 From: Robin Gong To: Peng Ma , "vkoul@kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , Leo Li , "dan.j.williams@intel.com" CC: "dmaengine@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: RE: [v4 1/2] dmaengine: fsl-edma: Add eDMA support for QorIQ LS1028A platform Thread-Topic: [v4 1/2] dmaengine: fsl-edma: Add eDMA support for QorIQ LS1028A platform Thread-Index: AQHVr/pSW2nKczVFpUqjkN1Zue3zHqe1vhDg Date: Thu, 12 Dec 2019 01:56:26 +0000 Message-ID: References: <20191211080749.30751-1-peng.ma@nxp.com> In-Reply-To: <20191211080749.30751-1-peng.ma@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yibin.gong@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: cdec6179-d1b3-45e7-26b5-08d77ea67f83 x-ms-traffictypediagnostic: VE1PR04MB6464:|VE1PR04MB6464: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:669; x-forefront-prvs: 0249EFCB0B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(346002)(366004)(396003)(39860400002)(376002)(189003)(199004)(110136005)(54906003)(81156014)(8676002)(8936002)(81166006)(26005)(186003)(4326008)(86362001)(9686003)(55016002)(71200400001)(316002)(2906002)(53546011)(66446008)(6506007)(64756008)(7696005)(66946007)(478600001)(66476007)(76116006)(66556008)(52536014)(5660300002)(33656002);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR04MB6464;H:VE1PR04MB6638.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BU2sLz04DAuRhhIrjsUfPu1wFqbEO0V1pN9BRYg93ZnNReoVHuDouDa7NF/XD7HEpUBCcyFqZZY5Cwl3/2K07Sc1vT3KFZ5DeAKdcPO2Z9NkoKNqeuey283l7GOpw5scOW8onqit39mUnd3iBJhjfjekL2rQi4+oaMvtMovWvmXOW7RTvlpbvskM0aYvYbfDH4uuISmUtpV17gcL84Dk/TdLGIzyMgoraClGcyrYwdg3IfJrNTpKDdkkoAkv2YRWUtt507MDIQkBajYspqN/fXXwGEkdNaQe5Bs8cbBRL8HyhUr0nP1FtQe+U7qNLC9BCbSQEUIzXGqIPwl2J856Z2wangsdIjvbx+i8T33+ZtJYFLYnwTZN3+Y8/QrJd5MdojtagBBzFIbyJHyksP7hiez4kBAqTlnG4a1JKurA92RD73jlCY9u073FN1MQZNAd Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cdec6179-d1b3-45e7-26b5-08d77ea67f83 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Dec 2019 01:56:26.3797 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 5KiLbeRV5KUsGC09KBoNm6LQP3VpnnNYtHpUJl6qcVjhI1kOtQT5LU6JrhZM+J04S8Zd4aR6Hz1K9EYofmuWMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6464 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/11/12 16:10 Peng Ma wrote: > Our platforms(such as LS1021A, LS1012A, LS1043A, LS1046A, LS1028A) with > below registers(CHCFG0 - CHCFG15) of eDMA as follows: > *-----------------------------------------------------------* > | Offset | OTHERS | LS1028A | > |--------------|--------------------|-----------------------| > | 0x0 | CHCFG0 | CHCFG3 | > |--------------|--------------------|-----------------------| > | 0x1 | CHCFG1 | CHCFG2 | > |--------------|--------------------|-----------------------| > | 0x2 | CHCFG2 | CHCFG1 | > |--------------|--------------------|-----------------------| > | 0x3 | CHCFG3 | CHCFG0 | > |--------------|--------------------|-----------------------| > | ... | ...... | ...... | > |--------------|--------------------|-----------------------| > | 0xC | CHCFG12 | CHCFG15 | > |--------------|--------------------|-----------------------| > | 0xD | CHCFG13 | CHCFG14 | > |--------------|--------------------|-----------------------| > | 0xE | CHCFG14 | CHCFG13 | > |--------------|--------------------|-----------------------| > | 0xF | CHCFG15 | CHCFG12 | > *-----------------------------------------------------------* >=20 > This patch is to improve edma driver to fit LS1028A platform. >=20 > Signed-off-by: Peng Ma Reviewed-by: Robin Gong