From patchwork Thu Mar 6 17:18:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Moysan X-Patchwork-Id: 14005038 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2767A269B0D; Thu, 6 Mar 2025 17:22:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741281747; cv=none; b=Lv3vSVpBU+FgEA7YtevfiqKiBVi7mGeyRzXrIb4h0kqjvz74HaQAs8WZt1moeuAgvlk6ql/IcZHITG4PAdm05KWHUdVUNDXawjh1/Lcyyap3DbO8YA5lsQd1O5rMet9SilzGD3CuF+9G7QGBxzXTfJqAJ5nxQWzTmHnDQWpLAsI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741281747; c=relaxed/simple; bh=08P9t7z+0iaP9AReeQLGEWl2CRs3dzKlUMMTS6H0ozA=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=EGiMvGUrl8FyEPE3eMNZ9bImkcBI68TWdoeyCf39rvzp8SOs7VLWcT5g+QND0ehzac1+eotQ17eILzkTWUqdpFer6NLXptaS9TTiRiW6qqBnJPKvUHtS8lFAMrQD7Wz1dlwLSIoQuC6WfZHtkiVcF1CUasPKMEwZbnA+kwIKl2Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=Eo2UUSmp; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="Eo2UUSmp" Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 526Gv4Kt023582; Thu, 6 Mar 2025 18:22:07 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=selector1; bh=/PPklAG6geLL4eMw+nR29j qi4fEzvDe416XEvTDGmSE=; b=Eo2UUSmp+fVNGsZtxD8V8W4f7Vy6WVfo6f+WRo o15jxIH47UHALSR9amF2Im5ysPL0Qgr1dm+ehWepJCjCO6PLwlQj9uYTKx150S8b IcasYSg/cRIvpnJxm2ro8yeZIX7IYulmcgBDvHs6UuQXPFnxqxS0sUppQ/t8k/26 hKV9us0mxfCD2Rn/BB+xyCEF6J6CQIyUD7dMBQGiiGEj1uh6OWcz/5ubvCx2R8C5 zIz+za0EzaiAJuM3CaNvCpzmBVqns2dQJAktseFrQYWv1oF5hcPPzA6wSl68bFvK YlrrWW00ZnjtxYl/6uFLc7mnKrhH1IiGDc2spUf7Z+qNPqrw== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 457dr0h88y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Mar 2025 18:22:07 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id B1FB040078; Thu, 6 Mar 2025 18:21:30 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 6A2895B9D6D; Thu, 6 Mar 2025 18:18:48 +0100 (CET) Received: from localhost (10.252.22.44) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 6 Mar 2025 18:18:48 +0100 From: Olivier Moysan To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Arnaud Pouliquen CC: Olivier Moysan , , , Subject: [PATCH 0/2] ASoC: dmic: add regulator support Date: Thu, 6 Mar 2025 18:18:38 +0100 Message-ID: <20250306171840.593443-1-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-06_05,2025-03-06_01,2024-11-22_01 Digital microphones may be supplied by a regulator. Add regulator support in dmic codec, to allow power management of the regulator through the ASoC DAPM widgets. Olivier Moysan (2): ASoC: dt-bindings: add regulator support to dmic codec ASoC: dmic: add regulator support .../devicetree/bindings/sound/dmic-codec.yaml | 3 +++ sound/soc/codecs/dmic.c | 19 ++++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) base-commit: 989180be7182f518e3cc7c8057c6c23ffd6ddf47