Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3245051pxb; Mon, 9 Nov 2020 06:27:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvG9k5QEYQJfvHq70nQiV9bK76y7NJ3BktE39hdIgz0WyaJTKomBWHk91FvxF6cX1sPv7u X-Received: by 2002:a50:8ada:: with SMTP id k26mr15500309edk.281.1604932077605; Mon, 09 Nov 2020 06:27:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604932077; cv=none; d=google.com; s=arc-20160816; b=ihbRgwijZd5j/+AhW85U+VZgh67RCKeXSaONqV3ximZXfJ3ug5BUhzaaij7uwEI1XI cdtkhYwv2x39uEIpYExG5+Yij1HrJGGAqRfG5bfhWoXmij0oYBXpRwNYBl4488S879FW ToekKjlLsyx3/57ogwjaibjxdtA+tRlWVpkEGIWHIFGjJrQhxcuQFRMf7yHcwTHzTZ65 KWBNqteTZFV6rjVjqo3/LYqdi7YQeFSwuX+MGsyqEeJYp4D4TiET+lNKNRl++S4c2RSF rC2e3JMvgNM86ZduDMFFqmt2OWLPb8v2b6jwjuBZ0XBgnc5jmN0eCzCq579kr2LiMHQh ge2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=UOeaEMJbPUgLDkryEGEz/Y2KlcnmvzArw6SZj6rkxMM=; b=dNQMdNAeowiBVvSeHPbho89wW6hzZz+9j5V5dHWAB3wcBbTqR4h48NtQ9iTxY6hlwx SdMnTavy4uiBT6wbSCnkmfpFxyCyx9a2FAlWWxXtEVQcVkbh0yM1NV2V6dgsLYEwFikH r/Z4VlWdJNVZTJs94RcWYNesPkCzRCi5z+0TiGAjH/uqMjq5te5vfH8dO6Dqz0fxViL6 1EhywrWBXM/cvcXdP6dEgUQ6BpPMt+M4W/NzXfl/zEuDuL1PklPKcMBUY4N2eCSYm+b5 RD1JfrjtVKqGFmL9n0mAH4ZDVYQ+GPvqmwthCjjJeYszLwhOFn2CqHRQGfL9gUugjkOb GuNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si8329260ejv.189.2020.11.09.06.27.33; Mon, 09 Nov 2020 06:27:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730782AbgKIO0L (ORCPT + 99 others); Mon, 9 Nov 2020 09:26:11 -0500 Received: from mga09.intel.com ([134.134.136.24]:24094 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729454AbgKIO0L (ORCPT ); Mon, 9 Nov 2020 09:26:11 -0500 IronPort-SDR: pnVJxMcNCmI737Ts7Be5z1q0Tj6mwlDJTGYDoUxOFfyvpk+kDDbC1GxwZ1XZYoumcFXsTGGQEH 1JX7ihTZ63Ig== X-IronPort-AV: E=McAfee;i="6000,8403,9799"; a="169961952" X-IronPort-AV: E=Sophos;i="5.77,463,1596524400"; d="scan'208";a="169961952" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2020 06:26:10 -0800 IronPort-SDR: mY2wdeebCZqKgDBEWwCXA6FJna9yWrJw4ckiD4ryWpIwFa7VLUq/25o6Fq+lb8ekm8xXZMLLyS 6gnvrDRS8Iug== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,463,1596524400"; d="scan'208";a="354142722" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by orsmga008.jf.intel.com with ESMTP; 09 Nov 2020 06:26:07 -0800 From: Amireddy Mallikarjuna reddy To: dmaengine@vger.kernel.org, vkoul@kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org Cc: linux-kernel@vger.kernel.org, andriy.shevchenko@intel.com, chuanhua.lei@linux.intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, mallikarjunax.reddy@linux.intel.com, malliamireddy009@gmail.com, peter.ujfalusi@ti.com Subject: [PATCH v8 0/2] Add Intel LGM SoC DMA support Date: Mon, 9 Nov 2020 22:26:03 +0800 Message-Id: X-Mailer: git-send-email 2.11.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DMA controller driver for Lightning Mountain (LGM) family of SoCs. The main function of the DMA controller is the transfer of data from/to any peripheral to/from the memory. A memory to memory copy capability can also be configured. This ldma driver is used for configure the device and channnels for data and control paths. These controllers provide DMA capabilities for a variety of on-chip devices such as SSC, HSNAND and GSWIP. ------------- Future Plans: ------------- LGM SoC also supports Hardware Memory Copy engine. The role of the HW Memory copy engine is to offload memory copy operations from the CPU. Amireddy Mallikarjuna reddy (2): dt-bindings: dma: Add bindings for Intel LGM SoC Add Intel LGM SoC DMA support. .../devicetree/bindings/dma/intel,ldma.yaml | 134 ++ drivers/dma/Kconfig | 2 + drivers/dma/Makefile | 1 + drivers/dma/lgm/Kconfig | 9 + drivers/dma/lgm/Makefile | 2 + drivers/dma/lgm/lgm-dma.c | 1742 ++++++++++++++++++++ include/linux/dma/lgm_dma.h | 27 + 7 files changed, 1917 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/intel,ldma.yaml create mode 100644 drivers/dma/lgm/Kconfig create mode 100644 drivers/dma/lgm/Makefile create mode 100644 drivers/dma/lgm/lgm-dma.c create mode 100644 include/linux/dma/lgm_dma.h -- 2.11.0