Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3237967pxb; Mon, 9 Nov 2020 06:18:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzixdMB6LwiB6VhzIEieW+qcDaNNzs0FMpFDvMLtA8d5awaU7+z3AZQesBpSVUqc4Okns/Y X-Received: by 2002:a17:906:c41:: with SMTP id t1mr15343173ejf.19.1604931496763; Mon, 09 Nov 2020 06:18:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604931496; cv=none; d=google.com; s=arc-20160816; b=wHL7pBFlh7zFnYQaaAW62oPzEPtcpdmDFEyJdvH0/ijg8th0fvPu7Bn5g9QnKH0Fon GUIOEmcV+7Qz+IISo5tvF1f0DWF7r4ZdIRu5zq4dTEX40xcWIM0eQrK03C5ZBNI+Tdjd pGiAirjs8sDfRmsuSp/3AKkXR3yWbIr26hxUfifLDVsEB/8uJ4u5UBqNWmhWpcYQUtU/ Fa6NRmf0g4sWjP+UERgnPZJuUGS4M/xRkyhzxWAoXd7zq/IO4cgmZ51DF1jBSf3vir9O YgY86aMakCf/hin3VOfFQmpvG4AYBo5MOZXM7Usx6HGrUTi+nm1lKbIywn6K1lRK6zYv XDfQ== 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=c0vB5wgHuu9PJtX36wTQnTkwFCb6GChVW1Fp6703EC8=; b=ypSxis/LXjkNLH5Vhn+qOExu3sW0AaGU/0edEG+jdZQu6UT1kbFaoaHPjhXksmhRvj SAMWE/Y0rXNHb1EqEhQbnsJnr9cL4uOnehyW/f12GcBqFqEIJL0sgHEVX7WHB32QUzAT 5rWAahos7ULeAtO/nW6RrDYl8EBab6FMmPQTqxQdB2D9gCUfz27btkCaZN9VZPwlXhbi cu9ir8urrd2hjM7pBhjlgw181rSKg79FbHIiLTjta/ZZrqeeu+WhVpa+nOu9PwuggEpn 70QD+h8pNifDmRqvkBLCKnLqcSEYbv935E0n19lRyHtcm0B2hUozkrXKPY8SWB4uCxqX yU4w== 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 j6si7089239edr.531.2020.11.09.06.17.52; Mon, 09 Nov 2020 06:18:16 -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 S1730711AbgKIOOc (ORCPT + 99 others); Mon, 9 Nov 2020 09:14:32 -0500 Received: from mga09.intel.com ([134.134.136.24]:23208 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730204AbgKIOOc (ORCPT ); Mon, 9 Nov 2020 09:14:32 -0500 IronPort-SDR: U0JkdkLxc4kS0lHe2YyrL6ua0S4avkF32euQW81caRTMZ6dhCBov9FNbTefiKwgvnVOJWgNQea AZkxKZoIBZ2g== X-IronPort-AV: E=McAfee;i="6000,8403,9799"; a="169960529" X-IronPort-AV: E=Sophos;i="5.77,463,1596524400"; d="scan'208";a="169960529" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2020 06:14:31 -0800 IronPort-SDR: /2AUkUFFIHye50qeOb/wwWUcErayFXr0rCRMXb5iJ1IACz/U5c+aiNUo+FpCckFq4Jy8bipb9Q Ew0sV3MozvXA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,463,1596524400"; d="scan'208";a="307661594" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by fmsmga008.fm.intel.com with ESMTP; 09 Nov 2020 06:14:28 -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:14:23 +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