Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp12296745imu; Tue, 1 Jan 2019 19:57:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN4r4jPsribZZ44X7ZUfM4GFmHGsEy+CyGt5zbBP5AKMTpNcL8w707XC+7K3W44KXltXlpw8 X-Received: by 2002:a63:3e05:: with SMTP id l5mr11509153pga.96.1546401447695; Tue, 01 Jan 2019 19:57:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546401447; cv=none; d=google.com; s=arc-20160816; b=W4ETjy9eTUh7ujW1TKWkG3NtxWehD09ge0rQ9hYKp4w/HO2XOvEt3+CgyQYs9sob3/ xU7kFSr6OVjj6FxVOpbGGkRC25oQNugxYQcD5YdIZwydhSNeoDKOIyl11zNtWjIWbV4D 295VM2BR9gLJ+cTq7BMqbgJZkDGK+M2nDLEkY4MzMHfJLFSJ/Djek7iGlmKd1FH2cn1p gzwIw3sblP0nfcPmUdtdDLb04IQL1GGsvoQieKpZxl8j/DwKDVxCuBF86x8EsWcIIsJ/ YUjhHg66ekAhQhxiOEMHUmMlWLkAcz5aDRBBOF5gg3d0R0mcrH4HYcVvMYX4mQ19z6w0 YGVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=H1ySCdIGKNbwbat43rBUhVH9NOa8/5ZAVRDCZI/Xyz0=; b=gKX8DlC/brfb4co6uXG3GWjYSyHwS7pQqYKL8eRUSEMeP9TVqXeOw832cE0zaw/+KB m6sbLR5TPWnJzUe5wJkr6yYcALLyiSfVfR8ODPsAl47HaIyhDMp/tWlhd+4iewDmpAMd onJZkUHBlyhmsUnC8/7Kimq9EjRzmSUYfc6fQuknI2FOQ10MN9B4kpa9GXyfGGHy82Mc s1Rw/d1iGs2VQ9ESNqSl1zwAd65VJqpS+zLm0KQtYZ4bViioqpfaxk9ld8sFVSugdjfi oVoacxxH5JAV+sR8Ttzcsy+rUps/SKgSMA2PWNOD1e8JimI7v3lvL6r7Fin7Abla7P0m QNag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si27863402plt.213.2019.01.01.19.57.12; Tue, 01 Jan 2019 19:57:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728439AbfABCNJ (ORCPT + 99 others); Tue, 1 Jan 2019 21:13:09 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:32258 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727038AbfABCNJ (ORCPT ); Tue, 1 Jan 2019 21:13:09 -0500 X-UUID: bdad40e2ec374105972ebe7bb9c19437-20190102 X-UUID: bdad40e2ec374105972ebe7bb9c19437-20190102 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1039876166; Wed, 02 Jan 2019 10:13:01 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 2 Jan 2019 10:13:00 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 2 Jan 2019 10:12:59 +0800 From: Long Cheng To: Vinod Koul , Randy Dunlap , Rob Herring , Mark Rutland , Ryder Lee , Sean Wang , Nicolas Boichat CC: Matthias Brugger , Dan Williams , Greg Kroah-Hartman , Jiri Slaby , Sean Wang , , , , , , , , Yingjoe Chen , YT Shen , Zhenbao Liu , Long Cheng Subject: [PATCH v9 0/2] add uart DMA function Date: Wed, 2 Jan 2019 10:12:56 +0800 Message-ID: <1546395178-8880-1-git-send-email-long.cheng@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In Mediatek SOCs, the uart can support DMA function. Base on DMA engine formwork, we add the DMA code to support uart. And put the code under drivers/dma. This series contains document bindings, Kconfig to control the function enable or not, device tree including interrupt and dma device node, the code of UART DMA Changes compared to v8 -revise missing items Changes compared to v7: -modify apdma uart tx Changes compared to v6: -Correct spelling Changes compared to v5: -move 'requst irqs' to alloc channel -remove tasklet. Changes compared to v4: -modify Kconfig depends on. Changes compared to v3: -fix CONFIG_PM, will cause build fail Changes compared to v2: -remove unimportant parameters -instead of cookie, use APIs of virtual channel. -use of_dma_xlate_by_chan_id. Changes compared to v1: -mian revised file, 8250_mtk_dma.c --parameters renamed for standard --remove atomic operation