From patchwork Fri Aug 18 10:01:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "guomengqi (A)" X-Patchwork-Id: 13357721 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3986C7113D for ; Fri, 18 Aug 2023 10:12:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359740AbjHRKMK (ORCPT ); Fri, 18 Aug 2023 06:12:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359771AbjHRKLm (ORCPT ); Fri, 18 Aug 2023 06:11:42 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2720630E6; Fri, 18 Aug 2023 03:11:15 -0700 (PDT) Received: from kwepemm600013.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RRyFS5rFdztRwB; Fri, 18 Aug 2023 18:06:20 +0800 (CST) Received: from huawei.com (10.175.112.208) by kwepemm600013.china.huawei.com (7.193.23.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Fri, 18 Aug 2023 18:09:58 +0800 From: Guo Mengqi To: , , , , , CC: , , Subject: [PATCH v2 0/2] Add dma controller for hisi ascend310/910 Date: Fri, 18 Aug 2023 18:01:26 +0800 Message-ID: <20230818100128.112491-1-guomengqi3@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.175.112.208] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm600013.china.huawei.com (7.193.23.68) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org The patch set add driver and device-tree bindings for a dma controller on hisi ascend310/910 platform. Changes in v2: - Use common driver apis: dev_xxx() devm_xxx() - Fix dts-binding properties, based on feedbacks - If iommu sva feature is disabled, probe will not lead to failure Guo Mengqi (2): dmaengine: Add HiSilicon Ascend SDMA engine support dt-bindings: dma: hisi: Add bindings for Hisi Ascend sdma .../bindings/dma/hisi,ascend-sdma.yaml | 75 ++ drivers/dma/Kconfig | 9 + drivers/dma/Makefile | 1 + drivers/dma/ascend_sdma.c | 817 ++++++++++++++++++ 4 files changed, 902 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/hisi,ascend-sdma.yaml create mode 100644 drivers/dma/ascend_sdma.c