diff options
author | huang lin <hl@rock-chips.com> | 2017-08-17 04:24:45 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-17 19:01:40 +0200 |
commit | 8c9741b1b91d9fb4f094bfa66f0ae02c9a495f48 (patch) | |
tree | c845a55af15848c8e88263f4cd755cadf65f2e1f /Documentation | |
parent | ASoC: codec: add DT support in dmic codec (diff) | |
download | linux-8c9741b1b91d9fb4f094bfa66f0ae02c9a495f48.tar.xz linux-8c9741b1b91d9fb4f094bfa66f0ae02c9a495f48.zip |
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.txt | 4 |
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>; }; |