From patchwork Tue Dec 13 11:28:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13071949 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 E63AAC4332F for ; Tue, 13 Dec 2022 11:25:11 +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=o+irKu2dgpN2nN6tFQBp4ncGzg+oVTGjO6b3q8ZXSgc=; b=lz4yZCBKqNNxu3 1xJde5CCiWnygHc9w1dMyCCG254PKlE0QNrkWJbOcpEh7vR2RvKXxZYTGzpQ190W5e3SIlcMBRAMZ 4HMlXPoVgt6xj2OWajXtZs0F3FKfu4zHZYlp2tMTv5+0tD9daxhKg/GbhNFz7Oe39dZ2+O4x9cfTH artlf/JMsOyktqMaM6npG0f7VvAIDGjjnXNwN4lXdZi/P1SPK5fh+nuvPaULYM7Yxu8wopeVm9FLv uyUN3kqgN9SNzlMNvUtB+wCtJXA77Ro1FR+EdQ8wtLmjNLOP5GfUa269RJxG/il49VITuTJPsahal BtE7maI5NRXphbZMLIwQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p53OM-00GLPW-V4; Tue, 13 Dec 2022 11:24:11 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p53O0-00GKsz-02 for linux-arm-kernel@lists.infradead.org; Tue, 13 Dec 2022 11:23:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1670930628; x=1702466628; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=9xO7lRNTpGk6Xw7msQY+tumPYTeSzK6G728DFAXM2UI=; b=EOmKxJ/GNtnIJxOFJ9tWeIxG9WeIwVtO8/mPZNd6SDMadWrwc7SbfX9n LfdEyfDTGrQsj6v7C63eT0+IVHLH2UJuy0QJwEBsu9eMn0FsvAXp/fNPI IBLjE8XpDj+nCXg5U41s7sybXXkU6xgcFhBbqLDhoGlQd5yIJg98Li3w5 JxCUUiXjSIrox/0QKHvn7kZ4pgR2VFuxhiWUSxPvy77KZIgmXs9gjzPeo Fy94+6ngetyPNldEgcZHPL0LmZ55cXvLezgtl+3lzjtC7Dz7C7UDsSsvl zpkixyipTWTH0uKOvYasYrZZ3g71dsmpBwYQUCuS4DMJJXTJnHS3fXphL Q==; X-IronPort-AV: E=Sophos;i="5.96,241,1665471600"; d="scan'208";a="187911739" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 Dec 2022 04:23:32 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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; Tue, 13 Dec 2022 04:23:32 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Tue, 13 Dec 2022 04:23:29 -0700 From: Claudiu Beznea To: , , , , , , , CC: , , , , Claudiu Beznea Subject: [PATCH v3 0/4] ASoC: microchip: power saving features and cleanups Date: Tue, 13 Dec 2022 13:28:47 +0200 Message-ID: <20221213112851.89212-1-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221213_032348_136705_7E3DABF9 X-CRM114-Status: UNSURE ( 6.62 ) 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, The following series adds runtime PM and suspend to RAM features for mchp-pdmc driver. Along with it 2 cleanup patches were added: - patch 1/4: use vendor,device.yaml file format for Microchip AT91 ASoC bindings - patch 4/4: use FIELD_PREP() in mchp-spdiftx.c Thank you, Claudiu Beznea Changes in v3: - in patch 1/4 add back microchip,sama7g5-i2smcc.yaml as it was removed by mistake in v2 - in patch 1/4 fixed the schema id to match the new naming Changes in v2: - s/microchip,sama7g5-i2s-mcc/microchip,sama7g5-i2smcc as this is the 1st available compatible Claudiu Beznea (4): ASoC: dt-bindings: microchip: use proper naming syntax ASoC: mchp-pdmc: use runtime pm for clock power saving ASoC: mchp-pdmc: add support for suspend to RAM ASoC: mchp-spdiftx: use FIELD_PREP() where possible ...mcc.yaml => microchip,sama7g5-i2smcc.yaml} | 2 +- ...,pdmc.yaml => microchip,sama7g5-pdmc.yaml} | 2 +- ...rx.yaml => microchip,sama7g5-spdifrx.yaml} | 2 +- ...tx.yaml => microchip,sama7g5-spdiftx.yaml} | 2 +- sound/soc/atmel/mchp-pdmc.c | 145 ++++++++++++------ sound/soc/atmel/mchp-spdiftx.c | 8 +- 6 files changed, 105 insertions(+), 56 deletions(-) rename Documentation/devicetree/bindings/sound/{mchp,i2s-mcc.yaml => microchip,sama7g5-i2smcc.yaml} (97%) rename Documentation/devicetree/bindings/sound/{microchip,pdmc.yaml => microchip,sama7g5-pdmc.yaml} (97%) rename Documentation/devicetree/bindings/sound/{mchp,spdifrx.yaml => microchip,sama7g5-spdifrx.yaml} (95%) rename Documentation/devicetree/bindings/sound/{mchp,spdiftx.yaml => microchip,sama7g5-spdiftx.yaml} (95%)