From patchwork Mon Jan 30 12:06:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13121521 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1537DC61D97 for ; Mon, 30 Jan 2023 17:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :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=7tN36yGgSUQn6hdE6VVxc7roz8lomdilcP0VJ8zoTIo=; b=rUxjuDSwxyg6/t x63mkIiQNvl4KM07/E1iCxBOMaaBTi0b3snkbEsNhXywWQC94qQBnRmnTBZeHSB0AlKlvTRydtzYc Spp3bbyhUU/e/EGvZLi6EPR//yAwfg4ywIPSTx9MKfBNb7+csNx+CjMhO+7+KOOp0NUQ64WyEyPFc wnOrsFktlKqcH313/ym4o0eQGfD8TWVrNLVoI8vp2T3ipXpLh2TDxNy0gxuRGa5iS37QgYtjA1b3o ZL539JHoQGeDBjphcMAh9EZes+DQoWbc5d3iD06X6uV18vPTXpOn169KW3tMuXOJs5XB6QU9inmYW 4HPWx+XpR1S6EkFhjShw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMYEL-004gfj-21; Mon, 30 Jan 2023 17:46:09 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMYCY-004fva-3L for linux-arm-kernel@lists.infradead.org; Mon, 30 Jan 2023 17:44:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1675100658; x=1706636658; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Nh6/usZ2THZBSY98qO/fgkA7zKcsohS6tiOaRuCPZGk=; b=l/xdRr3Mv2Xfdf2aNtnMVmOINM8TzsDJ8FGgrqWI1V8mujWBECgugzRy uHa9xNSg1XzYkqYnXGikmH3LEl1Y4AqhL5yzQSbBR84MOCk/Ch+CekDkp es6bZNv+gSq66KtZeee9zWy47yvObDHv8dMV2E1+INJ3T4S0+VeBNmv2n jLqORIOO1OKyUQJCE6MB7gK5XarqOxLd2evzjXaSkpqECgJlFExePVSLn 96vjdNAXGUSRRQ3txsJGLoLTI9GyEPw0Qn8OatPkuJeleoXDZsdovC3+I hbJi+YTnh34Q4E+7Lu+TVw4YIKGvjTySTMcdsKIaa3bPBjiD+1UnD/ZZk g==; X-IronPort-AV: E=Sophos;i="5.97,257,1669100400"; d="scan'208";a="198784198" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 30 Jan 2023 05:07:21 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 30 Jan 2023 05:07:20 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Mon, 30 Jan 2023 05:07:16 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 0/8] ASoC: mchp-spdifrx: add runtime PM support and fixes Date: Mon, 30 Jan 2023 14:06:39 +0200 Message-ID: <20230130120647.638049-1-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230130_094418_212006_56BB4BB6 X-CRM114-Status: UNSURE ( 6.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, This series adds runtime PM support for Microchip SPDIFRX driver. Along with it I added few fixes identified while going though the code and playing with Microchip SPDIFRX controller. Thank you, Claudiu Beznea Claudiu Beznea (8): ASoC: mchp-spdifrx: fix controls which rely on rsr register ASoC: mchp-spdifrx: fix return value in case completion times out ASoC: mchp-spdifrx: fix controls that works with completion mechanism ASoC: mchp-spdifrx: disable all interrupts in mchp_spdifrx_dai_remove() ASoC: mchp-spdifrx: use unsigned long to store clk_get_rate() value ASoC: mchp-spdifrx: remove struct mchp_spdifrx_dev::fmt member ASoC: mchp-spdifrx: add runtime pm support ASoC: mchp-spdifrx: document data structures sound/soc/atmel/mchp-spdifrx.c | 552 ++++++++++++++++++++++++--------- 1 file changed, 403 insertions(+), 149 deletions(-)