[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1502436689-21123-2-git-send-email-hl@rock-chips.com>
Date: Fri, 11 Aug 2017 15:31:29 +0800
From: Lin Huang <hl@...k-chips.com>
To: broonie@...nel.org, arnaud.pouliquen@...com, dgreif@...omium.org
Cc: perex@...ex.cz, tiwai@...e.com, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org, briannorris@...omium.org,
dianders@...omium.org, lgirdwood@...il.com,
Lin Huang <hl@...k-chips.com>
Subject: [PATCH 2/2] 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@...k-chips.com>
---
Documentation/devicetree/bindings/sound/dmic.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/dmic.txt b/Documentation/devicetree/bindings/sound/dmic.txt
index a0c58f2..54c8ef6 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>;
};
--
2.7.4
Powered by blists - more mailing lists