From patchwork Mon Dec 12 16:41:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13071234 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 5D183C4332F for ; Mon, 12 Dec 2022 16:37:53 +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=iVsC/7C+nE+gE0AvWeGgpQPzPZ3xe/ekcH4Ez1P9bUA=; b=Ycph8JGV6NgdNN vQBwT0RPKcPR6H/L4ua/IkJadITmOhLXDk125YuCkk7VX3OsRJBZ5Gl9dDGXsWhEuKxD9+t4HT/gP /0S1wT2WWlOc4assg4jy0Ve9dw5eAgzgscoiGEsd8YEYgrisEbXVp1Fy/71EoOBDgm/1Pr4ocLHgr Fli8A74+Z+gEJAV9/fMWROLYLA8p2/LmOC/sbq2URNH7dYWqFIT4Zq7ziCZiHGR13TWqDJ1yMZesJ IwCLSYANhg6fxV0m5aJen+LbbVMm6WKh+uFel2qaRKnO+MyBhrC+3ACb9EIY4DA3NY3SEqgrIk+ay GEGApPmSIrbEy1XIN4EA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p4lnM-002AGm-TG; Mon, 12 Dec 2022 16:36:49 +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 1p4lnI-002A1I-AC for linux-arm-kernel@lists.infradead.org; Mon, 12 Dec 2022 16:36:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1670863004; x=1702399004; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=iy5q+w5KsVwT75Q4h3iNbvjdzEM5LASpylZyLWvqsmU=; b=TpUw0VPKo/sF5C6UN1QHWhOvvS5uYdOBmC5F63dh57ESx2TSpEBjeLeP PClSuOPmkaUxrXHH02elewAczdZ3S4Ro6eQksFvMk4Rbk3Z/vWG9tnah5 /6HdIRBPFnM4JC3NlC5IFdpGnt/lHnOlkovjKsWrcPDJdvI9Q0MNUwzdb hkq1UqJKmKRcAYJEerxJ/yXWtB+1DcBvtfxNBoSKG7kQjs6B1Rv5zJ1FU cgokXIBWi7CxZspMaLpqK+5EMwZjtl2L5PLg7xRU68Qy5XwMky74LJZMX 86NGUJWcyxJl4PYD1y09SkifAtKm51rWy7hfzV7qbP4iMYHdkKdnh8+hu w==; X-IronPort-AV: E=Sophos;i="5.96,238,1665471600"; d="scan'208";a="127727088" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 12 Dec 2022 09:36:33 -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, 12 Dec 2022 09:36:33 -0700 Received: from localhost.localdomain (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, 12 Dec 2022 09:36:30 -0700 From: Claudiu Beznea To: , , , , , , , CC: , , , , Claudiu Beznea Subject: [PATCH v2 0/4] ASoC: microchip: power saving features and cleanups Date: Mon, 12 Dec 2022 18:41:49 +0200 Message-ID: <20221212164153.78677-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-20221212_083644_886150_1D9A71F6 X-CRM114-Status: UNSURE ( 6.79 ) 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 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 .../bindings/sound/mchp,i2s-mcc.yaml | 108 ------------- ...,pdmc.yaml => microchip,sama7g5-pdmc.yaml} | 0 ...rx.yaml => microchip,sama7g5-spdifrx.yaml} | 0 ...tx.yaml => microchip,sama7g5-spdiftx.yaml} | 0 sound/soc/atmel/mchp-pdmc.c | 145 ++++++++++++------ sound/soc/atmel/mchp-spdiftx.c | 8 +- 6 files changed, 101 insertions(+), 160 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/mchp,i2s-mcc.yaml rename Documentation/devicetree/bindings/sound/{microchip,pdmc.yaml => microchip,sama7g5-pdmc.yaml} (100%) rename Documentation/devicetree/bindings/sound/{mchp,spdifrx.yaml => microchip,sama7g5-spdifrx.yaml} (100%) rename Documentation/devicetree/bindings/sound/{mchp,spdiftx.yaml => microchip,sama7g5-spdiftx.yaml} (100%)