mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 19:51:25 -04:00
ARM: dts: imx6: RDU2: only trigger IRQ on falling edge ucs1002 ALERT pin
The ALERT signaling happens on the falling edge of the signal, as rising edge doesn't really have any notion, as it may happen much later (due to shared IRQ line) or too early if the chip resolves the fault itself. So only trigger the IRQ on the edge we are actually interested in. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
@@ -628,7 +628,7 @@ reg_5p0v_user_usb: charger@32 {
|
||||
pinctrl-0 = <&pinctrl_ucs1002_pins>;
|
||||
reg = <0x32>;
|
||||
interrupts-extended = <&gpio5 2 IRQ_TYPE_EDGE_BOTH>,
|
||||
<&gpio3 21 IRQ_TYPE_EDGE_BOTH>;
|
||||
<&gpio3 21 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupt-names = "a_det", "alert";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user