Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3cfa8d8b authored by Fenglin Wu's avatar Fenglin Wu
Browse files

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: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent 29fdcf36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment