Message ID | 20250218-genio700-dmic-v1-6-6bc653da60f7@collabora.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Enable DMIC for Genio 700/510 EVK | expand |
On Wed, Feb 19, 2025 at 5:27 AM Nícolas F. R. A. Prado <nfraprado@collabora.com> wrote: > > Add necessary routes for the onboard dual DMIC present on the Genio > 700/510 EVK. The dmic is supplied by micbias0 and micbias2, and inputs > into the MT8188 DMIC DAI. > > Co-developed-by: parkeryang <Parker.Yang@mediatek.com> > Signed-off-by: parkeryang <Parker.Yang@mediatek.com> > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> > --- > arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi b/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi > index a37cf102a6e928440cc88e7e8fe0225fc28ec962..efdeca88b8c4e58f0c17825156276babf19af145 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi > @@ -959,7 +959,11 @@ &sound { > pinctrl-0 = <&audio_default_pins>; > audio-routing = > "Headphone", "Headphone L", > - "Headphone", "Headphone R"; > + "Headphone", "Headphone R", > + "DMIC_INPUT", "AP DMIC", > + "AP DMIC", "AUDGLB", > + "AP DMIC", "MIC_BIAS_0", > + "AP DMIC", "MIC_BIAS_2"; > mediatek,adsp = <&adsp>; > status = "okay"; Shouldn't there also be one or two new dmic-codecs, and a dai-link here? ChenYu > > -- > 2.48.1 > >
Il 18/02/25 21:52, Nícolas F. R. A. Prado ha scritto: > Add necessary routes for the onboard dual DMIC present on the Genio > 700/510 EVK. The dmic is supplied by micbias0 and micbias2, and inputs > into the MT8188 DMIC DAI. > > Co-developed-by: parkeryang <Parker.Yang@mediatek.com> > Signed-off-by: parkeryang <Parker.Yang@mediatek.com> > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
On Wed, Feb 19, 2025 at 12:29:15PM +0800, Chen-Yu Tsai wrote: > On Wed, Feb 19, 2025 at 5:27 AM Nícolas F. R. A. Prado > <nfraprado@collabora.com> wrote: > > > > Add necessary routes for the onboard dual DMIC present on the Genio > > 700/510 EVK. The dmic is supplied by micbias0 and micbias2, and inputs > > into the MT8188 DMIC DAI. > > > > Co-developed-by: parkeryang <Parker.Yang@mediatek.com> > > Signed-off-by: parkeryang <Parker.Yang@mediatek.com> > > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> > > --- > > arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi | 6 +++++- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi b/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi > > index a37cf102a6e928440cc88e7e8fe0225fc28ec962..efdeca88b8c4e58f0c17825156276babf19af145 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi > > +++ b/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi > > @@ -959,7 +959,11 @@ &sound { > > pinctrl-0 = <&audio_default_pins>; > > audio-routing = > > "Headphone", "Headphone L", > > - "Headphone", "Headphone R"; > > + "Headphone", "Headphone R", > > + "DMIC_INPUT", "AP DMIC", > > + "AP DMIC", "AUDGLB", > > + "AP DMIC", "MIC_BIAS_0", > > + "AP DMIC", "MIC_BIAS_2"; > > mediatek,adsp = <&adsp>; > > status = "okay"; > > Shouldn't there also be one or two new dmic-codecs, and a dai-link here? The DMIC codec is only needed to get a wakeup delay and avoid an initial "pop" noise. Same as for the analog mic, for which I've recently sent a patch [1]. Depending on the order that things get picked up, I can either add the patch for it to this series, or the series in [1]. (Well, looks like I'll be sending a v2 for this series anyway, so I can add that patch here). Thanks, Nícolas [1] https://lore.kernel.org/all/20250214-genio700-amic-wakeup-delay-200ms-v1-1-0094837c62b7@collabora.com
diff --git a/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi b/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi index a37cf102a6e928440cc88e7e8fe0225fc28ec962..efdeca88b8c4e58f0c17825156276babf19af145 100644 --- a/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi @@ -959,7 +959,11 @@ &sound { pinctrl-0 = <&audio_default_pins>; audio-routing = "Headphone", "Headphone L", - "Headphone", "Headphone R"; + "Headphone", "Headphone R", + "DMIC_INPUT", "AP DMIC", + "AP DMIC", "AUDGLB", + "AP DMIC", "MIC_BIAS_0", + "AP DMIC", "MIC_BIAS_2"; mediatek,adsp = <&adsp>; status = "okay";