Re: [PATCH 4/4] ASoC: wm8904: add DMIC support

2 messages, 2 authors, 2022-06-20 · open the first message on its own page

Re: [PATCH 4/4] ASoC: wm8904: add DMIC support

From: Pierluigi Passaro <hidden>
Date: 2022-06-20 15:15:58

quoted
quoted
quoted
+static const char *cin_text[] = {
+     "ADC", "DMIC"
+};
quoted
quoted
quoted
+static SOC_ENUM_SINGLE_DECL(cin_enum,
+                         WM8904_DIGITAL_MICROPHONE_0, 12, cin_text);
quoted
quoted
Why would this be runtime selectable?  I'd expect the decision to use
an analogue or digital microphone to be made in the hardware design.
quoted
I agree that dedicated HW is required, but currently SW side there's no support at all.
This patch is aiming to provide a way to enable DMIC on boards using it.
Is this supposed to be managed in a different way ?
Via firmware description.
Can you please provide any reference approach in the kernel code ?

Re: [PATCH 4/4] ASoC: wm8904: add DMIC support

From: Mark Brown <broonie@kernel.org>
Date: 2022-06-20 15:18:19

On Mon, Jun 20, 2022 at 03:03:50PM +0000, Pierluigi Passaro wrote:
quoted
Via firmware description.
Can you please provide any reference approach in the kernel code ?
git grep of_
git grep fwnode_

and I don't immediately remember what the prefix is for ACPI functions.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help