Skip to contentSkip to conversation

ARM: dts: sama5d4: use macro instead of numeric value

PATCH New Ludovic Desroches 2 participants 2 messages Nov 13, 2014 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: sama5d4: use macro instead of numeric value

There is a macro for the irq type.

---
 arch/arm/boot/dts/sama5d4.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sama5d4.dtsi +1 -1
index e0157b0..338dfd8 100644
@@ -817,7 +817,7 @@
 			i2c2: i2c at f8024000 {
 				compatible = "atmel,at91sam9x5-i2c";
 				reg = <0xf8024000 0x4000>;
-				interrupts = <34 4 6>;
+				interrupts = <34 IRQ_TYPE_LEVEL_HIGH 6>;
 				pinctrl-names = "default";
 				pinctrl-0 = <&pinctrl_i2c2>;
 				#address-cells = <1>;
Signature · 1 line
2.0.3
#1 lore raw

PATCH 1/1 ARM: dts: sama5d4: use macro instead of numeric value

On 13/11/2014 10:29, Ludovic Desroches :

Quoted 3 lines

There is a macro for the irq type.

queued in at91-3.18-fixes (but low priority though: don't know if it'll make it for 3.18).

Bye,

Quoted 18 lines
---
 arch/arm/boot/dts/sama5d4.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sama5d4.dtsi +1 -1
index e0157b0..338dfd8 100644
@@ -817,7 +817,7 @@
 			i2c2: i2c at f8024000 {
 				compatible = "atmel,at91sam9x5-i2c";
 				reg = <0xf8024000 0x4000>;
-				interrupts = <34 4 6>;
+				interrupts = <34 IRQ_TYPE_LEVEL_HIGH 6>;
 				pinctrl-names = "default";
 				pinctrl-0 = <&pinctrl_i2c2>;
 				#address-cells = <1>;
Signature · 1 line
Nicolas Ferre