power: smb1360: use the interrupt flags specified in device tree
The stat irq pin on smb1360 can be used for interrupt notification and
blink-led function. The blinking can be configured for low-battery /
charging failure / temperature condition. This requires the interrupt to
be configured with different type/level.
The trigger flags specified in the interrupt specifier is set when doing
interrupt parsing and mapping, it don't need to assign trigger type when
requesting threaded irqs. This makes the same code handle different
hardware designs on state irq pin.
Change-Id: Ied474659eb69c208c755ad5515a616695419fd60
Signed-off-by:
Fenglin Wu <fenglinw@codeaurora.org>
Loading
Please register or sign in to comment