blob: 7d3c25757a9af0f952226df2b8b549ea1de2f221 [file] [log] [blame]
/*
* Platform data for Cirrus Logic Madera codecs irqchip driver
*
* Copyright 2016 Cirrus Logic
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef _IRQCHIP_MADERA_PDATA_H
#define _IRQCHIP_MADERA_PDATA_H
struct madera_irqchip_pdata {
/** Mode for primary IRQ (defaults to active low) */
unsigned int irq_flags;
/** GPIO for primary IRQ
* Required if the codec IRQ output is connected to an edge-triggered
* input on the host interrupt controller
*/
int irq_gpio;
};
#endif