Skip to content

Commit

Permalink
ARM: dts: imx53-ppd: Use IRQ_TYPE_* constants
Browse files Browse the repository at this point in the history
Replace magic numbers with IRQ_TYPE_* constants to improve
DT readability.

Signed-off-by: Sebastian Reichel <[email protected]>
Reviewed-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
sre authored and Shawn Guo committed May 2, 2018
1 parent 1bf52b9 commit 340c540
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm/boot/dts/imx53-ppd.dts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@
compatible = "dlg,da9053-aa";
reg = <0>;
interrupt-parent = <&gpio3>;
interrupts = <12 0x8>;
interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
spi-max-frequency = <1000000>;
dlg,tsi-as-adc;
tsiref-supply = <&reg_tsiref>;
Expand Down Expand Up @@ -473,7 +473,7 @@
compatible = "fsl,mma8453";
reg = <0x1c>;
interrupt-parent = <&gpio1>;
interrupts = <6 0>;
interrupts = <6 IRQ_TYPE_NONE>;
interrupt-names = "INT1";
};

Expand Down Expand Up @@ -539,7 +539,7 @@
reset-gpio = <&gpio5 19 GPIO_ACTIVE_HIGH>;
reg = <0x4b>;
interrupt-parent = <&gpio5>;
interrupts = <4 0x8>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
};
};

Expand Down

0 comments on commit 340c540

Please sign in to comment.