Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp104374pxb; Wed, 11 Nov 2020 21:43:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxY60iYnmnbuuwSrDSxdQj1lkGtfcokN9+p55MYhzTrTrNvyY3g7D44X7FXRoM4W7OUdLd6 X-Received: by 2002:aa7:c358:: with SMTP id j24mr3377200edr.265.1605159803902; Wed, 11 Nov 2020 21:43:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605159803; cv=none; d=google.com; s=arc-20160816; b=fC1uwEBsznlGfJTUPb6JSJ3PHN8K4F8dd1fLYaWTTulF0XX8BeZerh2h34/0TXEmk9 l7ul8RpGpJT//kLryoRRe1JN2cab92k41IXGM4PPiDLLO773bGiez1KJhF24uY9e0t5r VATsqLS5CvqVrlxPdHzpi5YHmOYmGwrBCO6c4unqNvF8uIB/8YxXCMT6Qm8gwZgwK3oM BKiwiUYUC1bT9QTkY3h0tff4JbHMGgpydWNY0AC5PEf9Rha18lLESDsjrvh1gskM1kGz IjajcgtnyKpJUku3C3ap0hAskbF4Y+CPnz/VnPSSeq8w70z3n0Outpx7Vs0C3lIYMcoE tFJA== 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=JOW+o6pmc8EypkO6o2RXdNOW4PSwPj+/3WSBcdnAqc4=; b=XqSnTl/hZZURxEoVkCNoVcJlgaKOSOfrxI93PQ2rf8FJAqaZRfgkBJcG3MVJJDJ2Yx METDCDeUq/wLJz6ggtoG72s/6lKsAMKGLu6sCbpHLXP6CBzkPBeBm5v5QdY3OCyle4oc ecvvWZXU2CWkOaO/AXvyv5rTO/+JIq9K4UUCeWF8Fdgx7Y1D76s4eoMDRQdFBXHxiaTb ZjwRV4SLV/DcSZB4eBgRvxMyOSHN1gSks4SyegyDhW8ggeMKyzIcf3LFwYsegviTjT36 l3vuOKpKmJziPAiVnccJS6Tey48dEr7bOo9XY4dmacL7npe33rzSZ+hxDANL614dOC4A aqKQ== 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 t14si3249706edr.290.2020.11.11.21.43.01; Wed, 11 Nov 2020 21:43:23 -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 S1727938AbgKLFlr (ORCPT + 99 others); Thu, 12 Nov 2020 00:41:47 -0500 Received: from mga14.intel.com ([192.55.52.115]:12042 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728841AbgKLFix (ORCPT ); Thu, 12 Nov 2020 00:38:53 -0500 IronPort-SDR: ePwsw66m86wR0LMrqw7WJf9tmF7PUl82u6u2acexrIIdY0DZzjZeGOCHsisAWcgtqVW3dzeWm7 H2CLHGJMvuFA== X-IronPort-AV: E=McAfee;i="6000,8403,9802"; a="169476996" X-IronPort-AV: E=Sophos;i="5.77,471,1596524400"; d="scan'208";a="169476996" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2020 21:38:52 -0800 IronPort-SDR: 05XFbaySl5a4zsaNS3HMfc863Hhss8abiz3A15lD5OLNY/XPqbuiOPX/fTTZCo160+BC/UZ6GC 3Ej2Vg1tkaHw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,471,1596524400"; d="scan'208";a="308742085" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by fmsmga008.fm.intel.com with ESMTP; 11 Nov 2020 21:38:49 -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 v9 0/2] Add Intel LGM SoC DMA support Date: Thu, 12 Nov 2020 13:38:44 +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 | 130 ++ 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, 1913 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