summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorhuang lin <hl@rock-chips.com>2017-08-17 10:24:45 +0800
committerMark Brown <broonie@kernel.org>2017-08-17 18:01:40 +0100
commit8c9741b1b91d9fb4f094bfa66f0ae02c9a495f48 (patch)
treec845a55af15848c8e88263f4cd755cadf65f2e1f /Documentation
parent29685e207b37ad7f415e4bf21320076c025f3df1 (diff)
dt-bindings: sound: add dmicen property in dmic driver
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/dmic.txt4
1 files changed, 4 insertions, 0 deletions
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>;
};