Lines Matching +full:sub +full:- +full:blocks
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
17 * The BD9576 has own IRQ 'blocks' for:
18 * - I2C/thermal,
19 * - Over voltage protection
20 * - Short-circuit protection
21 * - Over current protection
22 * - Over voltage detection
23 * - Under voltage detection
24 * - Under voltage protection
25 * - 'system interrupt'.
27 * Each of the blocks have a status register giving more accurate IRQ source
28 * information - for example which of the regulators have over-voltage.
31 * which of sub-blocks have active IRQs. Fine. That would fit regmap-irq main
33 * - Only some sub-IRQs can be masked.
34 * - The IRQ informs us about fault-condition, not when fault state changes.
40 * For now we do just use the main-IRQ register as source for our IRQ
41 * information and bind the regmap-irq to this. We leave fine-grained sub-IRQ
42 * register handling to handlers in sub-devices. The regulator driver shall
43 * read which regulators are source for problem - or if the detected error is
44 * regulator temperature error. The sub-drivers do also handle masking of "sub-
48 * disable_irq_nosync() from sub-device handler and add a delayed work to
49 * re-enable IRQ roughly 1 second later. This should keep our CPU out of
50 * busy-loop.