Skip to content

Commit

Permalink
dt-bindings: sound: add dmicen property in dmic driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
huang lin authored and Mark Brown committed Aug 17, 2017
1 parent 29685e2 commit 8c9741b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/sound/dmic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};

0 comments on commit 8c9741b

Please sign in to comment.