Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1144810ybt; Wed, 8 Jul 2020 23:03:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXj1geu8z5tGqmLDO9hEDTWmnPbhqH8lyqzHfc2BdaSGvxrkIl9ED+7JTwagzHOARVPH0w X-Received: by 2002:a05:6402:ca1:: with SMTP id cn1mr57742387edb.223.1594274621297; Wed, 08 Jul 2020 23:03:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594274621; cv=none; d=google.com; s=arc-20160816; b=LcSKcKuF7lRaYJgPrMvmQb5z1HLOpmJSfj2hwf0uTvtbQSVgitYHVmlb1SzxiyuT+h /pndMZEmcSNjCKgAul2K2+BVrsuPjqCfsQHkRE7SSOnQBSbVEK5TNvTNPuLu6eHQw9Bx s1tkiWAIXpgI27JLLF1jkyw/MDLTaFydr8Eodd7nqEMHKDkLzXiF9+oeN4O87aHlhvnj oTTn79IImbA7ESg8h1ueLTw+U7omtYRoFSdjQ8bH/yU8P62WcYQbg+YPqV7ezHc7lAgI 04brj3ZWGTJgm5bm3HYtu8ClJnl0BhVRRWxzDyrrLHQ9OkyHInmHqTc0Tig7MKjcpdEd s+Ww== 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=gnfwrwWUhmjY+/pfo+UgqzkXBSMzuw2BVoj8D0emong=; b=wAOJ1lpaIM1LQA2D0FKpdOb9KJ1wosR4EBa0iMZG/aIHyHGQh2jHNCbG1BZG/usAXp RQfHoe8JrA3+H+WNnuBX+U0hw98HFFWd1mMHvir0eCEyomT+ByvYcD2urFBL4lGBSVed 0URVOYQrpg5TvDgAFxC387yksEQi+OHI5ahneJU2DfGxmsmiSvNzVB4hSxBYywL7pCJM xvFa+ma5D5zxXvequHcgw6LL0JXbtnQQi0Me4+Estn7eIwyvzoGRSQdC3R4rTF0sZC3w dFvQ6JSAw2abM/ShEmd9wg37Izk/WizfgWhPUkhfnNLcGv709fLNI4zb0IsHN/Hkpu+e pSKA== 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 v18si1239466ejr.577.2020.07.08.23.03.19; Wed, 08 Jul 2020 23:03:41 -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 S1726319AbgGIGDM (ORCPT + 99 others); Thu, 9 Jul 2020 02:03:12 -0400 Received: from mga04.intel.com ([192.55.52.120]:15017 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726006AbgGIGDM (ORCPT ); Thu, 9 Jul 2020 02:03:12 -0400 IronPort-SDR: i54EN+lWaiVsYg4SehIuvc7472UWcGWUkMxeSCP3QzQegobIivG/zJxsOYFeh3GqLQSvryv5kJ 58Mcv6tOj9Jg== X-IronPort-AV: E=McAfee;i="6000,8403,9676"; a="145435991" X-IronPort-AV: E=Sophos;i="5.75,330,1589266800"; d="scan'208";a="145435991" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2020 23:03:11 -0700 IronPort-SDR: GiZehNVYF/sLlsz2eFopFaLSfGnyK685+9m8FyeWevC+LvsTgOYBwym6AzvT6ePd8NeNSrmGoO 3i5VC5fiuv2w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,330,1589266800"; d="scan'208";a="323141362" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by FMSMGA003.fm.intel.com with ESMTP; 08 Jul 2020 23:03:09 -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 v4 0/2] Add Intel LGM soc DMA support Date: Thu, 9 Jul 2020 14:01:04 +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 | 416 +++++ drivers/dma/Kconfig | 2 + drivers/dma/Makefile | 1 + drivers/dma/lgm/Kconfig | 9 + drivers/dma/lgm/Makefile | 2 + drivers/dma/lgm/lgm-dma.c | 1941 ++++++++++++++++++++ include/linux/dma/lgm_dma.h | 27 + 7 files changed, 2398 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