Skip to contentSkip to conversation

ARM: imx53: include IRQ dt-bindings header

PATCH New Lucas Stach 2 participants 3 messages Aug 19, 2015 – Sep 6, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: imx53: include IRQ dt-bindings header

Allows to use the more meaningful IRQ flag defines instead of the raw values.

---
 arch/arm/boot/dts/imx53.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx53.dtsi +1 -0
index c3e3ca9362fb..cd170376eaca 100644
@@ -15,6 +15,7 @@
 #include <dt-bindings/clock/imx5-clock.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/interrupt-controller/irq.h>
 
 / {
 	aliases {
Signature · 1 line
2.4.6
#1 lore raw

PATCH 2/2 ARM: imx53: qsrb: fix PMIC interrupt level

The MC34708 PMIC interrupt level is active high, but was set to active low in the devicetree, probably as a result of a copy and paste error from the QSB board.

This caused IRQ storms and led to the kernel disabling the PMIC interrupt.

---
 arch/arm/boot/dts/imx53-qsrb.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx53-qsrb.dts +1 -1
index 82d623d05915..bbb3f4b7a7fe 100644
@@ -48,7 +48,7 @@
 		pinctrl-0 = <&pinctrl_pmic>;
 		reg = <0x08>;
 		interrupt-parent = <&gpio5>;
-		interrupts = <23 0x8>;
+		interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;
 		regulators {
 			sw1_reg: sw1a {
 				regulator-name = "SW1";
Signature · 1 line
2.4.6