blob: 931baeb2d0c1e671f0ab514a061110104048a70c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
* 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
|