Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1713483

[PATCH v2 2/2] dt-bindings: sound: add dmicen property in dmic driver

From Lin Huang <hl@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH v2 2/2] dt-bindings: sound: add dmicen property in dmic driver
Date 2017-08-17 04:30 +0200
Message-ID <ufiJk-6RK-13@gated-at.bofh.it> (permalink)
References <ufiJk-6RK-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: huang lin <hl@rock-chips.com>

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>
---
 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v2 2/2] dt-bindings: sound: add dmicen property in dmic driver Lin Huang <hl@rock-chips.com> - 2017-08-17 04:30 +0200

csiph-web