Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3443808ybt; Tue, 23 Jun 2020 02:24:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTvecaweYDkMxNMmkyE+f5DEgQs/IzImyvi67DzDz6N/9WjsCVhMjzp3+fnoIhT6d0gYVd X-Received: by 2002:a17:906:b88c:: with SMTP id hb12mr18739483ejb.483.1592904283823; Tue, 23 Jun 2020 02:24:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592904283; cv=none; d=google.com; s=arc-20160816; b=oJlMLirjkavXWsp2BldZhIPFJb+1WWi9kGMIoRiD3OPN4Y4muTziR2/TmaiE5Ila/3 me6tcHTiPU+6VyxbNVSspCS+3R6735ItaDfLAT/lx0kzdghWnLdJ+bWDhkfbFdJG2hS7 YxeWGZNMoUhkVjngTkLDXzcmXVtoYODcfMkVodea5mzyhMKWXlogeqxYikSRzrjf+85p 4mW0lNFKp5ns1blBwSoJkXMQ6c9Q0UT+JaHRyycHhR8tXgOXIRNDeh0RWtxOzg/Wf0cR zjgs2PA+VDMSe7m4FsQ+YHBhwshGKL5XymgdEp86kWudCVZRwICZWA4vvll7V6s3olAF 1sSA== 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=y0EJsaPcXIz8HO58EP9iyb253+GFuY1fZUzEF2sgJZw=; b=NghTVgvsP+7uz1ZHCtpSTPZjLDv1K5RZ2EjhchHfmaA4wmI2O82YUdQtpagMfzqkbh 36exkV1RTEVUu9De6SS0BB9Qpw1nOOGFVHQTFVH5A1lzOpmxpWT8enDD1d5K246/GqW7 1Ntqn5L/2r9BX96v2jhWTpM1ty/XKw6/v7Ey41vMNBcyXUD1SGAZOE8XinCUFnK4lzyc oIsWrThz7Y/LMu4w3b26/AvqyApEgXulPDH4POr/jD2n6iV5EWVmdXcahyME+yQr7VMe OZ18tj2fL3OtlDI4MBQspUr3j/g/JMyGHReDZ/V4CyMj3hJnvQKnigHOaar7DLtvbml1 43gg== 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 y6si6287450ejr.560.2020.06.23.02.24.21; Tue, 23 Jun 2020 02:24:43 -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 S1732159AbgFWJWG (ORCPT + 99 others); Tue, 23 Jun 2020 05:22:06 -0400 Received: from mga04.intel.com ([192.55.52.120]:51683 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732134AbgFWJWG (ORCPT ); Tue, 23 Jun 2020 05:22:06 -0400 IronPort-SDR: 7SzKYa+qnAO/NiXss/OBe9KtEBI08DecJHxU44g5ZvtTrfyjZDii8wGSOQhIGOUKRqWczRqdiD UKiDZHH/GtaQ== X-IronPort-AV: E=McAfee;i="6000,8403,9660"; a="141517189" X-IronPort-AV: E=Sophos;i="5.75,270,1589266800"; d="scan'208";a="141517189" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2020 02:22:05 -0700 IronPort-SDR: cYBGZ+tJ+b20SzoiRWtVFn+m4nc9i0aYDmjQGbler+JuRvhBUDZMQF4g2RS6gWx/uVdo8xS7Ac iJKAnNDKwyOg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,270,1589266800"; d="scan'208";a="478685778" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by fmsmga006.fm.intel.com with ESMTP; 23 Jun 2020 02:22:01 -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, malliamireddy009@gmail.com, Amireddy Mallikarjuna reddy Subject: [PATCH v3 0/2] Add Intel LGM soc DMA support Date: Tue, 23 Jun 2020 17:20:10 +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 | 428 +++++ drivers/dma/Kconfig | 2 + drivers/dma/Makefile | 1 + drivers/dma/lgm/Kconfig | 9 + drivers/dma/lgm/Makefile | 2 + drivers/dma/lgm/lgm-dma.c | 1956 ++++++++++++++++++++ include/linux/dma/lgm_dma.h | 27 + 7 files changed, 2425 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