From patchwork Tue Jan 14 21:43:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Han Xu X-Patchwork-Id: 1223090 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20170209 header.b=jbNhL2po; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47y3yM5JLtz9s4Y for ; Wed, 15 Jan 2020 08:49:31 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=JX2HeP40F5PjyGngefFwkB8+n2SE7DkTxIHxx+hzUKU=; b=jbN hL2po3OkzqOM6F+G3ynk02cvM5kQ/gX5NxAGZ5/Ii+CSgDuMfw00OFt4X6COGsLEK65EnNQKy5Xz+ PNdTe57I8aqwPM7gjcSllTK/pYIJUelRHQ6gapn9a9iAzPoVu6AV1dN+zYXuHVmJuNemVKWPLK1m0 yEi/WQAoQu9vD+rliYbZozM+J7JtNf+RhOOGo7O9LgMgXl+Y2zPo6rx4aZOCGHJwCoDp/OS4yNtAj hEeH1TcMCr9PK/FdL8LiswRwONlv0e0rq3DfwM29oVTk4MHEylX/8Tj2poejkbsdd4vO+/u/H7PgF WtwZZKmaBUlvyHcEAN5WdpmQDTPfUbw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1irU3p-000551-RV; Tue, 14 Jan 2020 21:49:17 +0000 Received: from inva021.nxp.com ([92.121.34.21]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1irU2x-0004Ir-Vr; Tue, 14 Jan 2020 21:48:27 +0000 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id EC927200507; Tue, 14 Jan 2020 22:48:19 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id ED0012000EA; Tue, 14 Jan 2020 22:48:13 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 5B31A40285; Wed, 15 Jan 2020 05:48:06 +0800 (SGT) From: Han Xu To: vkoul@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, esben@geanix.com, boris.brezillon@collabora.com Subject: [PATCH 0/6] gpmi/mxs-dma runtime pm patch set Date: Wed, 15 Jan 2020 05:43:57 +0800 Message-Id: <1579038243-28550-1-git-send-email-han.xu@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200114_134824_164235_6E9DB93C X-CRM114-Status: UNSURE ( 3.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [92.121.34.21 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-imx@nxp.com, dmaengine@vger.kernel.org, han.xu@nxp.com, festevam@gmail.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org enable the system pm and runtime pm for mxs-dma and refine the gpmi runtime pm code Han Xu (6): dmaengine: mxs: change the way to register probe function dmaengine: mxs: add the remove function dmaengine: mxs: add the power management functions dmaengine: mxs: switch from dma_coherent to dma_pool mtd: rawnand: gpmi: refine the runtime pm ops mtd: rawnand: gpmi: set the pinctrl state for suspend/reusme drivers/dma/mxs-dma.c | 155 ++++++++++++++++++--- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 60 ++++---- 2 files changed, 167 insertions(+), 48 deletions(-)