From: huang lin Date: Thu, 17 Aug 2017 02:24:45 +0000 (+0800) Subject: dt-bindings: sound: add dmicen property in dmic driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8c9741b1b91d9fb4f094bfa66f0ae02c9a495f48;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mark Brown --- 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>; };