projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29685e2
)
dt-bindings: sound: add dmicen property in dmic driver
author
huang lin
<hl@rock-chips.com>
Thu, 17 Aug 2017 02:24:45 +0000
(10:24 +0800)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/Documentation/devicetree/bindings/sound/dmic.txt
b/Documentation/devicetree/bindings/sound/dmic.txt
index a0c58f2a162a4d28710f10cb840f6f2390c3995a..54c8ef6498a87d26b830cfe3ed69543c2b97ae12 100644
(file)
--- 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>;
};