dt-bindings: sound: add dmicen property in dmic driver
authorhuang lin <hl@rock-chips.com>
Thu, 17 Aug 2017 02:24:45 +0000 (10:24 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 17 Aug 2017 17:01:40 +0000 (18:01 +0100)
there may use enable pin to control dmic start and stop,
so add this property in dt-bindings.

Signed-off-by: Lin Huang <hl@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/dmic.txt

index a0c58f2a162a4d28710f10cb840f6f2390c3995a..54c8ef6498a87d26b830cfe3ed69543c2b97ae12 100644 (file)
@@ -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>;
        };