Message ID | 20190422190213.30726-1-daniel.baluta@nxp.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 75D6C1575 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 22 Apr 2019 19:03:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F772286B0 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 22 Apr 2019 19:03:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 53E37287A6; Mon, 22 Apr 2019 19:03:31 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C3B3C286B0 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 22 Apr 2019 19:03:29 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 9F6D0846; Mon, 22 Apr 2019 21:02:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9F6D0846 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1555959807; bh=+UEMiqp695PmoPDYk2kWdWPI4mlT3LtCh4Gn8Da1UMg=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=S2XM0IMGIxA1gRQpm2arXTb+ll+AFOYwr/CaeMQmo6BKzB535BTq3n3KkenB6KdOo P+OmIFcA42inOgMReUmE/V3/P/4KmWJIAtXJUUVxALoLXPWIC8Oj0uzdMPYXT2JVWY mK6mqeeepXNrsgiDO9Kbx6nd2YMLzkpKZKXWb8yI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8C737F896E0; Mon, 22 Apr 2019 21:02:36 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1499CF896E6; Mon, 22 Apr 2019 21:02:34 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140089.outbound.protection.outlook.com [40.107.14.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 38512F80713 for <alsa-devel@alsa-project.org>; Mon, 22 Apr 2019 21:02:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 38512F80713 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="vULHCCUa" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Bb82zrKmbm16xt5HL/+4W9f9Z7Emx9BUv630OvZDwmE=; b=vULHCCUaHSbUNGS6uA+BgfOwc1MgqLYF1cnPE3FePciN4dZRN1zmpnebCAV3pAsmwM7KqYA2rQv22dHE1zfuJN2SonOQbPJ4KiqfoBLo4Cg09ME5sIRHCJHYgohfkKmvdbaebX34HZceph5W41xQ9vzbdsN7oiXwsE9JZGk/KX4= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1PR0402MB2815.eurprd04.prod.outlook.com (10.172.255.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.14; Mon, 22 Apr 2019 19:02:27 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::c16b:662d:9299:6be6]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::c16b:662d:9299:6be6%6]) with mapi id 15.20.1813.017; Mon, 22 Apr 2019 19:02:27 +0000 From: Daniel Baluta <daniel.baluta@nxp.com> To: "broonie@kernel.org" <broonie@kernel.org> Thread-Topic: [PATCH v3 0/3] Add runtime PM for SAI digital audio interface Thread-Index: AQHU+T3tSn5Uzcioa0qU6cJ3oZM02Q== Date: Mon, 22 Apr 2019 19:02:27 +0000 Message-ID: <20190422190213.30726-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR06CA0114.eurprd06.prod.outlook.com (2603:10a6:803:8c::43) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3a337b98-9158-46ca-7248-08d6c7550fc7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VI1PR0402MB2815; x-ms-traffictypediagnostic: VI1PR0402MB2815: x-microsoft-antispam-prvs: <VI1PR0402MB28156FE934B5EE4BD7E302C5F9220@VI1PR0402MB2815.eurprd04.prod.outlook.com> x-forefront-prvs: 00159D1518 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(366004)(396003)(346002)(39860400002)(199004)(189003)(2906002)(6512007)(53936002)(7736002)(305945005)(316002)(386003)(6506007)(99286004)(102836004)(52116002)(186003)(8936002)(54906003)(50226002)(26005)(25786009)(4326008)(66066001)(8676002)(36756003)(6116002)(3846002)(6916009)(2501003)(81166006)(1730700003)(81156014)(68736007)(2351001)(5640700003)(14454004)(478600001)(71190400001)(64756008)(6486002)(66446008)(5660300002)(66556008)(97736004)(2616005)(476003)(44832011)(4744005)(256004)(14444005)(86362001)(66476007)(73956011)(66946007)(6436002)(7416002)(486006)(1076003)(71200400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB2815; H:VI1PR0402MB3357.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: VpYRi8hyCAvg+kWCAuOb7eln1kA0CpIIEEJoxwCVMa7RCAE2BXPhgn7BYZj/DF6uAtclJQ57+ozSgHVIeL4G12k4gH+tv4HyNOEaNBUUXiPeaHSasN2t7w/Szfuz+rTggRiYEIaIM1uyzP23aclNDL9Yd+tSzHSxKJGTt5lIbrmVgEEKLbxni6tfMncy+hO7+eYg7wZPBsTa7EUpIH3Okrn412Fj3riPHp9v/i6Nss1wt6QfCKcdAiawAbzGVYsMhORs0qMSkf1ZOgolk19bKodcshhROdQVSjF1FhsHiB4MH7bL82/mr1xy50hlZzcULNsxX75GnNYzUizqDWlGMh/djeTOkFt33r/foW4f1yCkce5CYWahKXPgSPjxmq7U3Pysz41+ZV8c/a6kLwi5HF4xs9qQrduzwpKdPK8hGWA= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a337b98-9158-46ca-7248-08d6c7550fc7 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2019 19:02:27.5053 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2815 Cc: Daniel Baluta <daniel.baluta@nxp.com>, "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>, "timur@kernel.org" <timur@kernel.org>, "Xiubo.Lee@gmail.com" <Xiubo.Lee@gmail.com>, "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>, "S.j. Wang" <shengjiu.wang@nxp.com>, "tiwai@suse.com" <tiwai@suse.com>, "lgirdwood@gmail.com" <lgirdwood@gmail.com>, dl-linux-imx <linux-imx@nxp.com>, "festevam@gmail.com" <festevam@gmail.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Subject: [alsa-devel] [PATCH v3 0/3] Add runtime PM for SAI digital audio interface X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <https://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <https://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" <alsa-devel-bounces@alsa-project.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Add runtime PM for SAI digital audio interface
|
expand
|
For this series: Reviewed-by: Viorel Suman <viorel.suman@nxp.com> On Lu, 2019-04-22 at 19:02 +0000, Daniel Baluta wrote: > First patch fixes a bug by correctly setting is_slave_mode, then > second patch adds support for runtime PM and finally 3rd patch moves > clock handling from startup/shtudown function to runtime PM handlers. > > Changes since v2: (after Viorel's comments) > - no need to check for is_slave_mode when enabling/disabling the clocks > because sai->mclk_streams is only set when SAI is in master mode. > > Changes since v1: (after Nicolin's comments) > - added patch 1 > - added fsl_sai_remove in order to call pm_runtime_disable > - only disable/enable mclk when SAI in master mode. > > Daniel Baluta (2): > ASoC: fsl_sai: Update is_slave_mode with correct value > ASoC: fsl_sai: Add support for runtime pm > > Shengjiu Wang (1): > ASoC: fsl_sai: Move clock operation to PM runtime > > sound/soc/fsl/fsl_sai.c | 78 +++++++++++++++++++++++++++++++++-------- > 1 file changed, 63 insertions(+), 15 deletions(-) > > -- > 2.17.1 >