4 May
2015
4 May
'15
2:59 p.m.
On Mon, May 04, 2015 at 05:21:59AM +0000, Bard Liao wrote:
- Boolean. Indicate if codec IRQ is used or not. It is usually used
+for JD
- and/or headset button detection.
I'm not sure I understand what this is for? I'd expect that the interrupt would be used if specified, though if a GPIO is specified I guess that'd override it.
It is for codec IRQ though it is called en-jd-func. rt5645 IRQ is not for JD only but also other functions (like button detection). Another thing is that a separate CPU pin is used for JD IRQ in some HW design. It means some HW design use their own JD function. That's what hp-det-gpio for.
I'm still not clear here - why is there a need for a separate flag over just specifying the additional GPIO/interrupt to use for this function?