From 1c20443ce07fcb814909bb7f648c651213675d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20G=C5=82=C4=85bek?= Date: Tue, 1 Mar 2022 17:02:33 +0100 Subject: [PATCH] drivers: audio: dmic_nrfx_pdm: Add support for pinctrl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add support for the new pinctrl API to the DMIC driver that handles the nRF PDM peripheral. Update code of the driver and the related devicetree binding. Signed-off-by: Andrzej Głąbek --- drivers/audio/dmic_nrfx_pdm.c | 26 ++++++++++++++++++++--- dts/bindings/audio/nordic,nrf-pdm.yaml | 29 +++++++++++++++++++++----- 2 files changed, 47 insertions(+), 8 deletions(-) diff --git a/drivers/audio/dmic_nrfx_pdm.c b/drivers/audio/dmic_nrfx_pdm.c index 63dced1e93d..a743bc72f55 100644 --- a/drivers/audio/dmic_nrfx_pdm.c +++ b/drivers/audio/dmic_nrfx_pdm.c @@ -6,6 +6,8 @@ #include