Commit 1d8a9f04 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Shawn Guo

arm64: dts: imx8: use defines for interrupts

Replace hard-coded interrupt flags with standard defines for
readability.  No changes in resulting DTBs.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 645e59e6
...@@ -400,7 +400,7 @@ ptn5110: tcpc@50 { ...@@ -400,7 +400,7 @@ ptn5110: tcpc@50 {
pinctrl-0 = <&pinctrl_typec1>; pinctrl-0 = <&pinctrl_typec1>;
reg = <0x50>; reg = <0x50>;
interrupt-parent = <&gpio2>; interrupt-parent = <&gpio2>;
interrupts = <11 8>; interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
status = "okay"; status = "okay";
typec1_con: connector { typec1_con: connector {
......
...@@ -193,7 +193,7 @@ light-sensor@44 { ...@@ -193,7 +193,7 @@ light-sensor@44 {
compatible = "isil,isl29023"; compatible = "isil,isl29023";
reg = <0x44>; reg = <0x44>;
interrupt-parent = <&lsio_gpio4>; interrupt-parent = <&lsio_gpio4>;
interrupts = <11 2>; interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
}; };
pressure-sensor@60 { pressure-sensor@60 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment