2018-05-13 23:31:43

by Hernán Gonzalez

[permalink] [raw]
Subject: [PATCH] ARM: dts: imx53-qsb: Use IRQ_TYPE specifier

Replace magic number with the proper IRQ_TYPE specifier to improve DT
readability.

Signed-off-by: Hernán Gonzalez <[email protected]>
---
arch/arm/boot/dts/imx53-qsb.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx53-qsb.dts b/arch/arm/boot/dts/imx53-qsb.dts
index d3d662e..dca6c32 100644
--- a/arch/arm/boot/dts/imx53-qsb.dts
+++ b/arch/arm/boot/dts/imx53-qsb.dts
@@ -23,7 +23,7 @@
compatible = "dlg,da9053-aa", "dlg,da9052";
reg = <0x48>;
interrupt-parent = <&gpio7>;
- interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
+ interrupts = <11 IRQ_TYPE_LEVEL_LOW>; /* low-level active IRQ at GPIO7_11 */

regulators {
buck1_reg: buck1 {
--
2.7.4



2018-05-15 07:13:37

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: imx53-qsb: Use IRQ_TYPE specifier

On Sun, May 13, 2018 at 08:26:28PM -0300, Hern?n Gonzalez wrote:
> Replace magic number with the proper IRQ_TYPE specifier to improve DT
> readability.
>
> Signed-off-by: Hern?n Gonzalez <[email protected]>

Applied, thanks.