ASoC: codec: use enable pin to control dmic start and stop
Subsystems (3)
PATCH 1/2 ASoC: codec: use enable pin to control dmic start and stop
on some board use enable pin to control dmic start and stop, so add this feature in dmic driver.
--- sound/soc/codecs/Kconfig | 2 +- sound/soc/codecs/dmic.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 1 deletion(-)
sound/soc/codecs/Kconfig +1 -1
@@ -61,7 +61,7 @@ config SND_SOC_ALL_CODECS select SND_SOC_DA7219 if I2C select SND_SOC_DA732X if I2C select SND_SOC_DA9055 if I2C - select SND_SOC_DMIC + select SND_SOC_DMIC if GPIOLIB select SND_SOC_BT_SCO select SND_SOC_ES8328_SPI if SPI_MASTER select SND_SOC_ES8328_I2C if I2C
sound/soc/codecs/dmic.c +61 -0
93 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 2/2 dt-bindings: sound: add dmicen property in dmic driver
there may use enable pin to control dmic start and stop, so add this property in dt-bindings.
--- Documentation/devicetree/bindings/sound/dmic.txt | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/sound/dmic.txt +4 -0
@@ -5,8 +5,12 @@ This device support generic PDM digital microphone. Required properties: - compatible: should be "dmic-codec". +Optional properties: + - dmicen-gpios: GPIO specifier for dmic to control start and stop + Example node: dmic_codec: dmic@0 { compatible = "dmic-codec"; + dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>; };
Signature · 1 line
2.7.4
Mark Brown
maintainerApplied "dt-bindings: sound: add dmicen property in dmic driver" to the asoc tree
The patch
dt-bindings: sound: add dmicen property in dmic driver
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
8c9741b1b91d9fb4f094bfa66f0ae02c9a495f48Mon Sep 17 00:00:00 2001
From: huang lin <[email protected]>
Date: Thu, 17 Aug 2017 10:24:45 +0800
Subject: [PATCH] dt-bindings: sound: add dmicen property in dmic driver
there may use enable pin to control dmic start and stop, so add this property in dt-bindings.
--- Documentation/devicetree/bindings/sound/dmic.txt | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/sound/dmic.txt +4 -0
@@ -5,8 +5,12 @@ This device support generic PDM digital microphone. Required properties: - compatible: should be "dmic-codec". +Optional properties: + - dmicen-gpios: GPIO specifier for dmic to control start and stop + Example node: dmic_codec: dmic@0 { compatible = "dmic-codec"; + dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>; };
Signature · 1 line
2.13.3
Mark Brown
maintainerQuoted 2 lines · Lin Huang
on some board use enable pin to control dmic start and stop, so add this feature in dmic driver.
This doens't apply against current code, please check and resend.
Quoted 4 lines · Mark Brown
Quoted 2 lines · Lin Huang
on some board use enable pin to control dmic start and stop, so add this feature in dmic driver.
This doens't apply against current code, please check and resend.
Oh, Thanks for pointing it, have send new version patches.