From patchwork Fri Nov 16 12:48:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Yves MORDRET X-Patchwork-Id: 10686229 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ABF5313BF for ; Fri, 16 Nov 2018 12:49:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A9352CD19 for ; Fri, 16 Nov 2018 12:49:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E3FC2CD4C; Fri, 16 Nov 2018 12:49:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 39FEF2CD19 for ; Fri, 16 Nov 2018 12:49:29 +0000 (UTC) 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=QgbkL3QaIRlJRmvDg2P019NOWj9CHJdK5wHOte3Uv9Q=; b=E72VA7ZTYHXD5J A7Ij+M0rQNxt80su/i9DP/sevGpGgD2Jm6s8tJo4bRabWgETEyrn95hQwphuhWzkwTfnnnFpnNkY9 Io52EGDs4fEI19TSZ0ZSwXPp9bQEBTNkW1wk1JkWffwBM31JDXu+Y4lseGXekrCnHpbS/EHJr3Rsi I7WN8A4NkQjFvmnbRKqB9kwOTWXp8WoD8prJx+Wk/Lf2w47IHnyZtlU91OC62C+PnvGe6OwWA2wh8 O308j/nF3kQXzaNJNa1T2yWOhSM6Zqc33gl8dOetJvNlKDpAgs3ju+qoC8PbQY4ZH5Ywqh8rX3b1w SVJJVTerTNzc73zSM+uA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNdYt-00018e-TK; Fri, 16 Nov 2018 12:49:27 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNdYY-0000j4-AQ for linux-arm-kernel@bombadil.infradead.org; Fri, 16 Nov 2018 12:49:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JbAz9FrTmiYxSPqxk3CajuSKhEDvFU4nGdPXFlLDRjg=; b=i/g2/p+StjhrwpXTCuBMoy4TwR lCjzeecCrP7Mhv/tvbxW5ruu5KWy3vw03OW2yB9K9X1iD0d2M/XRepsZCYXrrT42eW75bhYUqdE9u p+G11VGkj07ZxSVWGg9armObuKQFbXzc/LSdIb/Yl3Jeq5Ko7eWmmt3b0cOETLyDp4XI8LkifL526 llakUuNzSEMMyereQgmieT0QsB8lEA/YDVJMvM8DVTs41bP+rSbqn2q8zgvdKJu+pAjDwGaQ5RSBw g0u50xg3CeZ8zKzfOBgt1ovUu9RCTEhUH7TzD/zq6RBoPwdfeU9zI+agoRu5LJs8CnbkcbZ7c17Mw xucvGFbw==; Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNdYU-0001o3-E6 for linux-arm-kernel@lists.infradead.org; Fri, 16 Nov 2018 12:49:04 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id wAGCiUBN018061; Fri, 16 Nov 2018 13:48:45 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2nr7cyqn57-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 16 Nov 2018 13:48:45 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id EB33031; Fri, 16 Nov 2018 12:48:43 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node2.st.com [10.75.127.14]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id CAC3F2B44; Fri, 16 Nov 2018 12:48:43 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 16 Nov 2018 13:48:43 +0100 From: Pierre-Yves MORDRET To: Dan Williams , Vinod Koul , Maxime Coquelin , Alexandre Torgue , , , , Subject: [PATCH v1 0/3] Add PM Runtime support Date: Fri, 16 Nov 2018 13:48:38 +0100 Message-ID: <1542372521-18073-1-git-send-email-pierre-yves.mordret@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG1NODE1.st.com (10.75.127.1) To SFHDAG5NODE2.st.com (10.75.127.14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-11-16_06:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181116_124902_517323_D725D061 X-CRM114-Status: UNSURE ( 8.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pierre-Yves MORDRET Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Use pm_runtime engine for clock management purpose for both DMA, DMAMUX and MDMA --- Version history: v1: * Initial --- Pierre-Yves MORDRET (3): dmaengine: stm32-dma: Add PM Runtime support dmaengine: stm32-dmamux: Add PM Runtime support dmaengine: stm32-mdma: Add PM Runtime support drivers/dma/stm32-dma.c | 58 ++++++++++++++++++++++++++++++++++++++++------ drivers/dma/stm32-dmamux.c | 58 +++++++++++++++++++++++++++++++++++++--------- drivers/dma/stm32-mdma.c | 52 ++++++++++++++++++++++++++++++++++++----- 3 files changed, 144 insertions(+), 24 deletions(-)