Unverified Commit 02d4a97c authored by Ivaylo Dimitrov's avatar Ivaylo Dimitrov Committed by Mark Brown
Browse files

dt-bindings: mfd: motorola-cpcap: Document audio-codec interrupts



Add DT binding for the audio-codec headset detection interrupts.

Signed-off-by: default avatarIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Link: https://patch.msgid.link/20250122164129.807247-4-ivo.g.dimitrov.75@gmail.com


Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5b428879
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -31,6 +31,10 @@ node must be named "audio-codec".
Required properties for the audio-codec subnode:

- #sound-dai-cells = <1>;
- interrupts		: should contain jack detection interrupts, with headset
			  detect interrupt matching "hs" and microphone bias 2
			  detect interrupt matching "mb2" in interrupt-names.
- interrupt-names	: Contains "hs", "mb2"

The audio-codec provides two DAIs. The first one is connected to the
Stereo HiFi DAC and the second one is connected to the Voice DAC.
@@ -52,6 +56,8 @@ Example:

		audio-codec {
			#sound-dai-cells = <1>;
			interrupts-extended = <&cpcap 9 0>, <&cpcap 10 0>;
			interrupt-names = "hs", "mb2";

			/* HiFi */
			port@0 {