Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3449852rdh; Mon, 27 Nov 2023 14:56:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5SnbMC4Zia7soT2tgR/8ckGttDNVE/+CTCZ0S+ZYLAYiREQP5rGfPfpKA3oxVGW0M6TZ9 X-Received: by 2002:a05:6a20:4909:b0:186:ff2d:f964 with SMTP id ft9-20020a056a20490900b00186ff2df964mr15546920pzb.36.1701125780567; Mon, 27 Nov 2023 14:56:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701125780; cv=pass; d=google.com; s=arc-20160816; b=jUQOlvE4HoBuPQe3WYinw4x+rzLvtxMxlMJUdqKMhNeNeUMncKuwnQC/Xuz05l8J4k y7+k2DBKNk+CLAovuOhuRJAQNDPufwldAWiF2RAhNgD4/mJM/zqeJ7ytmI7rUxtT3V6V AM7EX2Xi8esNKBDvwjpvMDHxrL0ZNrQ6RePMUCTCgZipqN+aPcv+d+dcXZA/Hpt+/CRL 6A3y4DIZLkm/+0vJRPidpqysMwTQrdQP97IzYL1hyaZlIJqf++zSCk6Cffsgj7qwpQao I2N1GHmFJna+cucHeWdp7M4MwvIDbTumenWj7J52l/ChyGBqoT5xXIjill2AeyPh30au ULFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=TyvZDVlie6UETphNaN3YSjifx3N56AINGHECLDutGwc=; fh=WwdwxswekiDlcDQNcHvu2C9Zy8N9YQStHu/6mj4Dj6c=; b=KqTMkmtS5ok5oEHXKmWaXT10XyCy5MJxHZm5ZC0mzxHlaVOnPKHkaykddPM5hDCq0M HAXEzQgLrBvjTmSSm8xRcjeMx/Tz1LOIJv/HZctvQTsHhG+kM0vub5hLKqbGZPWtPm1x 3iJ7eHNuvHN0LTjf6eZrSRhDFa9djrazB/ITMZ8BuN2eDTcNgtkmNUE8ZjA/qk49vRfw PjXSAirg0o5pv6Nt7FTNVeEqwMa0Rtimas/TTmKTEQ4Qav/4nvj9pTRPcymfvU/jidC0 jMhCHZHzFdLmZH+0H48uPZ+uNOgPPXbt2BsycyUitcdnulLcew9bZRrh9GSd6OKb9sZW 6jsg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=mUI3vVoD; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id y21-20020a63e255000000b0058974d3c296si11024768pgj.815.2023.11.27.14.56.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 14:56:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=mUI3vVoD; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 9F8FA81112C6; Mon, 27 Nov 2023 14:56:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233369AbjK0W4B (ORCPT + 99 others); Mon, 27 Nov 2023 17:56:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229821AbjK0W4A (ORCPT ); Mon, 27 Nov 2023 17:56:00 -0500 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on062b.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1e::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A82A5137; Mon, 27 Nov 2023 14:56:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h1vbf0wFqCOArSnjrevm5Srgy4ZxWn0YX0/aPkgQQ6X5qCbPFRawS9QoSDlTbscNpVZ3qUTTz/VJuJbM+k5JgnqH/D0oSEbfP5ZLaH5E5RyL803VvmRj+EcPkhov8355Oe/yNqk8ONb4oNctvjubNMZUDkMC8XiR6EwPRxtaLwkcoS1qcyiWx7RR80Prr8Xq+LYsIID/C7qowJezJppjEdzjhNhRGOFfk+N+THZ9KQ/UWHkyVwsVLfR6Xk8bgv12awWHgr296hSWLgVMlcyfkh3cqSn8tMkDhQdxJiFsx6wP7epeiqa6CACJojUJDLHRODPpL4cgi1oZkggszeRiYA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TyvZDVlie6UETphNaN3YSjifx3N56AINGHECLDutGwc=; b=JLYu8vfrUORRPjmF/hHoX/RdIpSbibSTq236KBOOD5quYUrv0lpejpywryv6/AeDff55p+s/vBrQZseNdLlyc8Z1QbM1lpZR8zx2WcVp+SCZ7byqdOgm2beK/C0mrWNInxPzgBQFHviCG1c94xVvq1nRogwPifFMn5AUrRpu9qrrlxJbrAD0Y2RsPNHLGZAe4kGKR47fi6qOgsuCdEOuFQd121FML/1GKQ6qWpo9A/Da0zRQPb5TSsLWacvmgBTihkf75wrFWf+jZlowidQhHIkgaqjo7w/r0l0akq2SYXwqFqILubxJDiMXmPtppWG/l4/F7qZ2lr6Xij8+zQfGxw== 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=TyvZDVlie6UETphNaN3YSjifx3N56AINGHECLDutGwc=; b=mUI3vVoDu4y6olgQY4wjqJHQjLhdEmBUDzPHwbHAc3ARcYWgJz5eZfVjcybEGN/JFLqx1GcFWidvwGBoXf1VqZmxh0dD+8iHeOofXI9KWBgOOETUtH9L3NSJqfxxzq3/uECTB0K9xqFd7kr98inZ6MuTLhmNZNiXG2ZBJuozjqo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by AM8PR04MB7858.eurprd04.prod.outlook.com (2603:10a6:20b:237::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.21; Mon, 27 Nov 2023 22:56:00 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::95f5:5118:258f:ee40]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::95f5:5118:258f:ee40%6]) with mapi id 15.20.7046.015; Mon, 27 Nov 2023 22:56:00 +0000 From: Frank Li To: frank.li@nxp.com, vkoul@kernel.org Cc: devicetree@vger.kernel.org, dmaengine@vger.kernel.org, imx@lists.linux.dev, joy.zou@nxp.com, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, peng.fan@nxp.com, robh+dt@kernel.org, shenwei.wang@nxp.com Subject: [PATCH v3 0/6] dmaengine: fsl-edma: integrate TCD64 support for 64bit physical address Date: Mon, 27 Nov 2023 17:55:36 -0500 Message-Id: <20231127225542.2744711-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR05CA0116.namprd05.prod.outlook.com (2603:10b6:a03:334::31) To VI1PR04MB4845.eurprd04.prod.outlook.com (2603:10a6:803:51::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|AM8PR04MB7858:EE_ X-MS-Office365-Filtering-Correlation-Id: e9f251ad-22b8-4199-06f9-08dbef9c0583 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zXNdoPMGhbgGZZGms4+ZGd9gjxeWGDaq62t+IGB3Fz2GpKxfuSeRKxxGWvY2FBCdMY9lmAi7GfFYfnlvny0chGoLexq37FEDFPyGfzRtYy3lhiWMwPph50XBagicOOb51KFfg1jUKUoKvYgu4pTT9IjxHZXvSqAVW3xl/KeXE9P26sonVaWGsruTjJDr7eF6a4LetaUzjqxKAgq8i7LHIbNlBik8606nY4QMiKiSfBF9j9uu6STxWkZhFAoAD8GpkTFziFpovIWtFCSXvgANmlXTjfCn2pqwmzcsAZM10Qx5oeD4Mxi7nyWl+on0le6yq4yRqnsAYMwCIrMSTnMMraCgw6AcfohgJNWaVCof1QbP+K4x3dJ+6anFK3hU0N2p+6XZYUg6JXXWAFUu+mVcAR+RNsWdH//E4LANNvN+EjYbMakWNorn4FnR6vq77FKj7Gn9YOfOERK8Ev/NUJ4tW9Hwze9K6i30rFKswM8F+2EPA1F7mebxCOXggROFCB9S++w+PHis6ukWCfTr6cX+8pGXv/uGw7UYqubr2gkknHnB8IUhLQXfMrlS34b9++c4uctqVg8f1Cbqf8oeeAf1poopvSB7g7bV4FiveQcm9roAghFktOTOKlWVEhsxY9IsrhkMj+Cq5Rp3qgBSKeIczweM+Dud3nm8VksTtWoguHA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4838.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(396003)(136003)(346002)(366004)(376002)(230173577357003)(230273577357003)(230922051799003)(64100799003)(186009)(451199024)(1800799012)(2616005)(26005)(1076003)(6666004)(6506007)(8676002)(52116002)(4326008)(8936002)(6486002)(86362001)(5660300002)(478600001)(316002)(66946007)(66476007)(66556008)(38100700002)(83380400001)(6512007)(38350700005)(2906002)(41300700001)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Xp0Dac0v9JTJtG4H2CRP8WRbIG544GNjirM7yhYDyM94KnMOT6VGu0/aOn2J?= =?us-ascii?Q?Aao/AdLu79fiIBHktS/jKAFtY5lh0MxVMYXPjQoo3bx7VcG9s+WZZOj9Jln3?= =?us-ascii?Q?cIrstQWwyOQQAHr4IfJv0tyGFHIDSMqXAy5PWZCoYd39ed1R/hvND1JpTw9T?= =?us-ascii?Q?N1b07ims6jHOrKp6T3RizU/ZHlvuekD6gkUo8B2Zxd3npnkzyfo/lG/f1WfT?= =?us-ascii?Q?99S4ubYyHlh5bo4GwDrtXdDKk+XaOB7UDTVy1Vrfz3BR/OXBOn6UyrwP956R?= =?us-ascii?Q?wTMsXTfRb+Kw587d5YZy/2N2Cf+Ut4bOyOlAXvtp/5msNdUT5cPiZa6aw7Ga?= =?us-ascii?Q?8a6dYiml5/ikYBEVNki2AmEwAEXsxFLqCRDOUOEv5cRcnFI/YMKCiC9fFDHd?= =?us-ascii?Q?fUkV72M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kxKLc?= =?us-ascii?Q?H4gox2tLvzLliBJG0v9V5JCgUmFkV0jTgUr7+cwlPaSxEpp7JV423mLBACSl?= =?us-ascii?Q?LD3tJ2gw6Z1zGUIS8oQLqsv2VT9pEtlR9GHr73zKj/UDiZZ0vuXnGgr1+V9V?= =?us-ascii?Q?saaf55Cutuvumm5oglOS6K8EwoGJssiSpyjTRwTDk9mQ5qaKWnQAFeWIXcO2?= =?us-ascii?Q?9OZQVPk2WKbgmpzhUZqpolPiNTbOg/FE4hoMcAQy7NfmadgT6L0zIhXWFSfn?= =?us-ascii?Q?pPLmZy6M5Q1eZaVoQII=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e9f251ad-22b8-4199-06f9-08dbef9c0583 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4845.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2023 22:56:00.0649 (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: Hoauu8BklMOMlJjCbNxAqLsqNQD2vMwwK4Q3txChSMQxHe5fJlOFv0wttKAJW/L9x/jHDMwdPUtZ8/2m5XD/VQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7858 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 27 Nov 2023 14:56:16 -0800 (PST) Change from v2 to v3: - fix sparse build warning Change from v1 to v2: - fixed mcf-edma-main.c build error. - fixed readq build error. readq actually is not atomic read in imx95. So split to two ioread32\iowrite32. It needs read at least twice to avoid lower 32 bit part wrap during read up 32bit part. first 2 patch is prepare, No function change. 3rd patch is dt-bind doc 4rd patch is actuall support TCD64 Frank Li (6): dmaengine: fsl-edma: involve help macro fsl_edma_set(get)_tcd() dmaengine: fsl-edma: fix spare build warning dmaengine: fsl-edma: add address for channel mux register in fsl_edma_chan dmaengine: mcf-edma: utilize edma_write_tcdreg() macro for TCD Access dt-bindings: fsl-dma: fsl-edma: add fsl,imx95-edma5 compatible string dmaengine: fsl-edma: integrate TCD64 support for i.MX95 .../devicetree/bindings/dma/fsl,edma.yaml | 2 + drivers/dma/fsl-edma-common.c | 101 ++++++----- drivers/dma/fsl-edma-common.h | 161 ++++++++++++++++-- drivers/dma/fsl-edma-main.c | 19 ++- drivers/dma/mcf-edma-main.c | 2 +- 5 files changed, 223 insertions(+), 62 deletions(-) -- 2.34.1