Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4286477pxk; Tue, 8 Sep 2020 16:09:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXEnb8hX3nEc4rB93IAy6sbk8Pf3Q3V4hM7tHS2Vx5ZT0FmD488Q9QWmSxw2Yo9nBp5PtK X-Received: by 2002:a17:906:a3d0:: with SMTP id ca16mr758946ejb.455.1599606565712; Tue, 08 Sep 2020 16:09:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599606565; cv=none; d=google.com; s=arc-20160816; b=wNxGO7HfIC2uIrzxIe3SIO1irRKzTlMOHBv5SQiOpOEVUaSTTnNcWVDtyWlcrYtY5g haZp2LjD/KkAuSuejXhkKD3WMq2fOoXjrLOgkraSxofugS8xmOcGwpXMkhAN34cFel7T 44nQjZMTqTUysUODkwLKCPqaNr0YotEN+VzHDLpLGDWWmjS0xRTV7llBb4ptaARLUL9q oz8oz57E/2uDl3l2viYlzZ2/Ge8pk0/rqVU4A+UPtEAD9gLkUm9lH3EdjkJyjksEIoya D+wMpxhKplKit8H6jCfX6imbgIK5ZR0gglOOFshwPZpmUROjm7Bc1ziHLDm+4VrsEeh9 VqBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=GJpL/nTl9d7WSW8hkx7D2CF45pdm8+cjUy4GjSFPjZc=; b=qkCgQdlJ7aO98cI7slChrxl6Cphq3sYgM6X0D91jPPWJkTLtlMkPm8FvW6aoAk6CxS 8UCRg1D2wNA/i0HwTcBHO6YVnHzCOfQlIVhQkiFGohFgG/k3ATewHsb/Sq2R1c4zLNcp GBR7kGfsuGhJcID3NKWzBbmeTSrzqYnJPqUjDpkXZVq6m86/p5gxAIz5QJBH1tVtkRB2 HeWfatbQ3N7epO5SS4qlcoe5/DxmBGxByJB6/A5Xj+QIJQfT2anAsdIWXWlouDEVlSzC OVIZ5uX/vcqZge8ZnoQ2brK9sYNnQyV2cRgXLmRwoupDqqcIrX63a1t9kcMCIqCNU7nI bLzg== 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 r20si271164ejc.678.2020.09.08.16.09.02; Tue, 08 Sep 2020 16:09:25 -0700 (PDT) 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 S1728647AbgIHXIR (ORCPT + 99 others); Tue, 8 Sep 2020 19:08:17 -0400 Received: from mga09.intel.com ([134.134.136.24]:23747 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726657AbgIHXIP (ORCPT ); Tue, 8 Sep 2020 19:08:15 -0400 IronPort-SDR: sunMVXiPIPkrUCoeesjT0POax4bf/8cq5LhTphUSeEGL7/ZFjsjM9mF2O5HNMCFZ1n9k6jBNJt 4MU+NrHooI0w== X-IronPort-AV: E=McAfee;i="6000,8403,9738"; a="159206845" X-IronPort-AV: E=Sophos;i="5.76,407,1592895600"; d="scan'208";a="159206845" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2020 16:08:15 -0700 IronPort-SDR: q6UN51X7VenEz3Y+y9fnqJfyw2upWD6sBpx2dbHg3eq05fLuIxX7yuYHKeoUTUns8a49ddqubt c/Rr13/4I6EA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,407,1592895600"; d="scan'208";a="504537182" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by fmsmga006.fm.intel.com with ESMTP; 08 Sep 2020 16:08:11 -0700 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 v6 0/2] Add Intel LGM soc DMA support Date: Wed, 9 Sep 2020 07:07:32 +0800 Message-Id: X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org 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 DPlus compliant 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 | 154 ++ drivers/dma/Kconfig | 2 + drivers/dma/Makefile | 1 + drivers/dma/lgm/Kconfig | 9 + drivers/dma/lgm/Makefile | 2 + drivers/dma/lgm/lgm-dma.c | 1809 ++++++++++++++++++++ include/linux/dma/lgm_dma.h | 27 + 7 files changed, 2004 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