Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c9741b1 authored by huang lin's avatar huang lin Committed by Mark Brown
Browse files

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: default avatarLin Huang <hl@rock-chips.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 29685e20
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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>;
	};