[PATCH] dt-bindings: sound: add dmicen property in dmic driver
From: huang lin
Date: Wed Aug 16 2017 - 22:24:45 EST
there may use enable pin to control dmic start and stop,
so add this property in dt-bindings.
Signed-off-by: Lin Huang <hl@xxxxxxxxxxxxxx>
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
---
Documentation/devicetree/bindings/sound/dmic.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/dmic.txt b/Documentation/devicetree/bindings/sound/dmic.txt
index a0c58f2a162a..54c8ef6498a8 100644
--- a/Documentation/devicetree/bindings/sound/dmic.txt
+++ b/Documentation/devicetree/bindings/sound/dmic.txt
@@ -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>;
};
--
2.13.3