[PATCH v1 1/2] ASoC: dt-bindings: Document dmic_sel-gpios optional prop for two DMICs case
Ajye Huang
ajye_huang at compal.corp-partner.google.com
Fri Oct 28 12:24:49 CEST 2022
Document dmic_sel-gpios optional prop for switching between two DMICs.
Ex, the GPIO can control a MUX to select Front or Rear dmic.
Signed-off-by: Ajye Huang <ajye_huang at compal.corp-partner.google.com>
---
Documentation/devicetree/bindings/sound/dmic-codec.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/dmic-codec.yaml b/Documentation/devicetree/bindings/sound/dmic-codec.yaml
index bba27c985996..4013af65f3e7 100644
--- a/Documentation/devicetree/bindings/sound/dmic-codec.yaml
+++ b/Documentation/devicetree/bindings/sound/dmic-codec.yaml
@@ -36,6 +36,10 @@ properties:
wakeup-delay-ms:
description: Delay (in ms) after enabling the DMIC
+ dmic_sel-gpios:
+ maxItems: 1
+ description: GPIO for switching between DMICs, ex Front/Rear dmic
+
required:
- compatible
@@ -48,6 +52,7 @@ examples:
dmic {
compatible = "dmic-codec";
dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
+ dmic_sel-gpios = <&pio 23 GPIO_ACTIVE_HIGH>;
num-channels = <1>;
wakeup-delay-ms = <50>;
modeswitch-delay-ms = <35>;
--
2.25.1
More information about the Alsa-devel
mailing list