mfd: arizona: Basic support for edge triggered IRQs
Allow the user to configure edge triggered IRQs, though we do not yet fully handle new interrupts occurring while an interrupt is being handled. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
@@ -99,7 +99,8 @@ struct arizona_pdata {
|
||||
/** If a direct 32kHz clock is provided on an MCLK specify it here */
|
||||
int clk32k_src;
|
||||
|
||||
bool irq_active_high; /** IRQ polarity */
|
||||
/** Mode for primary IRQ (defaults to active low) */
|
||||
unsigned int irq_flags;
|
||||
|
||||
/* Base GPIO */
|
||||
int gpio_base;
|
||||
|
Reference in New Issue
Block a user