Re: omap5 fixing palmas IRQ_TYPE_NONE warning leads to gpadc timeouts
From: Tony Lindgren
Date: Tue Nov 27 2018 - 13:17:52 EST
* Tony Lindgren <tony@xxxxxxxxxxx> [181127 17:55]:
> The only option that works for omap5 at palmas end is if
> PALMAS_POLARITY_CTRL_INT_POLARITY is cleared. Setting the SoC internal
> pulls does not make a difference, so I suspect there is either some
> unknown pull-up/pull-down configuration register in palmas, or there
> is an external pull resistor.
Remuxing the palmas interrupt to gpio_wk16 instead of sys_nirq1
makes the palmas interrupt work just fine configured with active-low
or active-high with the internal pulls. So palmas.c is doing the
right thing, and the issue configuring palmas interrupt active-high
with sys_nirq1 on omap5 is somewhere between omap wkupegen and GIC.
Regards,
Tony