diff mbox series

[v2,3/5] dt-bindings: mfd: motorola-cpcap: Document audio-codec interrupts

Message ID 20250122164129.807247-4-ivo.g.dimitrov.75@gmail.com (mailing list archive)
State New
Headers show
Series ASoC: cpcap: Implement jack headset detection | expand

Commit Message

Ivaylo Dimitrov Jan. 22, 2025, 4:41 p.m. UTC
Add DT binding for the audio-codec headset detection interrupts.

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
---
 Documentation/devicetree/bindings/mfd/motorola-cpcap.txt | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Mark Brown Jan. 23, 2025, 11:49 a.m. UTC | #1
On Wed, Jan 22, 2025 at 06:41:27PM +0200, Ivaylo Dimitrov wrote:
> Add DT binding for the audio-codec headset detection interrupts.

Lee, would it be OK to merge this via ASoC?
Lee Jones Jan. 27, 2025, 1:27 p.m. UTC | #2
On Thu, 23 Jan 2025, Mark Brown wrote:

> On Wed, Jan 22, 2025 at 06:41:27PM +0200, Ivaylo Dimitrov wrote:
> > Add DT binding for the audio-codec headset detection interrupts.
> 
> Lee, would it be OK to merge this via ASoC?

I'm not sure why you would want to and it may make subsequent changes
more challenging to merge, but if you really want to ...
Mark Brown Jan. 27, 2025, 1:34 p.m. UTC | #3
On Mon, Jan 27, 2025 at 01:27:25PM +0000, Lee Jones wrote:
> On Thu, 23 Jan 2025, Mark Brown wrote:

> > On Wed, Jan 22, 2025 at 06:41:27PM +0200, Ivaylo Dimitrov wrote:
> > > Add DT binding for the audio-codec headset detection interrupts.

> > Lee, would it be OK to merge this via ASoC?

> I'm not sure why you would want to and it may make subsequent changes
> more challenging to merge, but if you really want to ...

It's the binding documentation for the ASoC change in the final patch.
Rob Herring Jan. 27, 2025, 7 p.m. UTC | #4
On Wed, 22 Jan 2025 18:41:27 +0200, Ivaylo Dimitrov wrote:
> Add DT binding for the audio-codec headset detection interrupts.
> 
> Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
> ---
>  Documentation/devicetree/bindings/mfd/motorola-cpcap.txt | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt b/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
index 190230216de8..f00827c9b67f 100644
--- a/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
+++ b/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
@@ -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 {