Repository navigation
Commit c9fbf7e
committed
mfd: Add WM8994 interrupt controller support
The WM8994 has an interrupt controller which supports interrupts for
both CODEC and GPIO portions of the chip. Support this using genirq,
while allowing for systems that do not have an interrupt hooked up.
Wrapper functions are provided for the IRQ request and free to simplify
the code in consumer drivers when handling cases where IRQs are not
set up.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>1 parent 8c0d8fa commit c9fbf7e
6 files changed
Lines changed: 406 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
175 | 191 | | |
176 | | - | |
177 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
178 | 203 | | |
179 | 204 | | |
180 | 205 | | |
| |||
235 | 260 | | |
236 | 261 | | |
237 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
238 | 268 | | |
239 | 269 | | |
240 | 270 | | |
| |||
347 | 377 | | |
348 | 378 | | |
349 | 379 | | |
| 380 | + | |
350 | 381 | | |
351 | 382 | | |
352 | 383 | | |
| |||
374 | 405 | | |
375 | 406 | | |
376 | 407 | | |
| 408 | + | |
| 409 | + | |
377 | 410 | | |
378 | 411 | | |
379 | 412 | | |
380 | 413 | | |
381 | 414 | | |
382 | | - | |
| 415 | + | |
383 | 416 | | |
384 | 417 | | |
385 | 418 | | |
386 | 419 | | |
| 420 | + | |
| 421 | + | |
387 | 422 | | |
388 | 423 | | |
389 | 424 | | |
| |||
400 | 435 | | |
401 | 436 | | |
402 | 437 | | |
| 438 | + | |
403 | 439 | | |
404 | 440 | | |
405 | 441 | | |
| |||
468 | 504 | | |
469 | 505 | | |
470 | 506 | | |
| 507 | + | |
471 | 508 | | |
472 | 509 | | |
473 | 510 | | |
| |||
0 commit comments