diff options
| author | Mark Brown <broonie@linaro.org> | 2013-08-31 14:25:12 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2013-08-31 14:25:12 -0400 |
| commit | 1801ceaf073f77e0f2ccfbd54ee0e93bd6adbb5d (patch) | |
| tree | 3485d3a1d7e40eef5a72df9b21e04a83e8ba4a6f /include/linux/regmap.h | |
| parent | 4ff4eb9e8c535f67ad2c1adc6c168ece1fb763bc (diff) | |
| parent | 68622bdfefb969fd7cf710545d7e758a732ab01d (diff) | |
Merge remote-tracking branch 'regmap/topic/irq' into regmap-next
Diffstat (limited to 'include/linux/regmap.h')
| -rw-r--r-- | include/linux/regmap.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 580a5320cc96..bafda8759be6 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
| @@ -471,6 +471,9 @@ struct regmap_irq { | |||
| 471 | * @ack_base: Base ack address. If zero then the chip is clear on read. | 471 | * @ack_base: Base ack address. If zero then the chip is clear on read. |
| 472 | * @wake_base: Base address for wake enables. If zero unsupported. | 472 | * @wake_base: Base address for wake enables. If zero unsupported. |
| 473 | * @irq_reg_stride: Stride to use for chips where registers are not contiguous. | 473 | * @irq_reg_stride: Stride to use for chips where registers are not contiguous. |
| 474 | * @init_ack_masked: Ack all masked interrupts once during initalization. | ||
| 475 | * @mask_invert: Inverted mask register: cleared bits are masked out. | ||
| 476 | * @wake_invert: Inverted wake register: cleared bits are wake enabled. | ||
| 474 | * @runtime_pm: Hold a runtime PM lock on the device when accessing it. | 477 | * @runtime_pm: Hold a runtime PM lock on the device when accessing it. |
| 475 | * | 478 | * |
| 476 | * @num_regs: Number of registers in each control bank. | 479 | * @num_regs: Number of registers in each control bank. |
| @@ -486,9 +489,10 @@ struct regmap_irq_chip { | |||
| 486 | unsigned int ack_base; | 489 | unsigned int ack_base; |
| 487 | unsigned int wake_base; | 490 | unsigned int wake_base; |
| 488 | unsigned int irq_reg_stride; | 491 | unsigned int irq_reg_stride; |
| 489 | unsigned int mask_invert; | 492 | bool init_ack_masked:1; |
| 490 | unsigned int wake_invert; | 493 | bool mask_invert:1; |
| 491 | bool runtime_pm; | 494 | bool wake_invert:1; |
| 495 | bool runtime_pm:1; | ||
| 492 | 496 | ||
| 493 | int num_regs; | 497 | int num_regs; |
| 494 | 498 | ||
