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>
This commit is contained in:
huang lin 2017-08-17 10:24:45 +08:00 committed by Mark Brown
parent 29685e207b
commit 8c9741b1b9
1 changed files with 4 additions and 0 deletions

View File

@ -5,8 +5,12 @@ This device support generic PDM digital microphone.
Required properties: Required properties:
- compatible: should be "dmic-codec". - compatible: should be "dmic-codec".
Optional properties:
- dmicen-gpios: GPIO specifier for dmic to control start and stop
Example node: Example node:
dmic_codec: dmic@0 { dmic_codec: dmic@0 {
compatible = "dmic-codec"; compatible = "dmic-codec";
dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
}; };