Commit 6cecf916 authored by Stephen Warren's avatar Stephen Warren

ARM: tegra: convert device tree files to use IRQ defines

Use the GIC and standard IRQ binding defines in all IRQ specifiers.
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent 3325f1bc
...@@ -748,7 +748,7 @@ tps65090 { ...@@ -748,7 +748,7 @@ tps65090 {
compatible = "ti,tps65090"; compatible = "ti,tps65090";
reg = <0x48>; reg = <0x48>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <72 0x04>; /* gpio PJ0 */ interrupts = <TEGRA_GPIO(J, 0) IRQ_TYPE_LEVEL_HIGH>;
vsys1-supply = <&vdd_ac_bat_reg>; vsys1-supply = <&vdd_ac_bat_reg>;
vsys2-supply = <&vdd_ac_bat_reg>; vsys2-supply = <&vdd_ac_bat_reg>;
......
This diff is collapsed.
...@@ -218,7 +218,7 @@ i2c@7000d000 { ...@@ -218,7 +218,7 @@ i2c@7000d000 {
pmic: tps6586x@34 { pmic: tps6586x@34 {
compatible = "ti,tps6586x"; compatible = "ti,tps6586x";
reg = <0x34>; reg = <0x34>;
interrupts = <0 86 0x4>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
ti,system-power-controller; ti,system-power-controller;
......
...@@ -263,7 +263,7 @@ wm8903: wm8903@1a { ...@@ -263,7 +263,7 @@ wm8903: wm8903@1a {
compatible = "wlf,wm8903"; compatible = "wlf,wm8903";
reg = <0x1a>; reg = <0x1a>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(X, 3) 0x04>; interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -291,7 +291,7 @@ i2c@7000d000 { ...@@ -291,7 +291,7 @@ i2c@7000d000 {
pmic: tps6586x@34 { pmic: tps6586x@34 {
compatible = "ti,tps6586x"; compatible = "ti,tps6586x";
reg = <0x34>; reg = <0x34>;
interrupts = <0 86 0x4>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
ti,system-power-controller; ti,system-power-controller;
......
...@@ -15,7 +15,7 @@ wm8903: wm8903@1a { ...@@ -15,7 +15,7 @@ wm8903: wm8903@1a {
compatible = "wlf,wm8903"; compatible = "wlf,wm8903";
reg = <0x1a>; reg = <0x1a>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(X, 3) 0x04>; interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -271,7 +271,7 @@ hdmi_ddc: i2c@7000c400 { ...@@ -271,7 +271,7 @@ hdmi_ddc: i2c@7000c400 {
nvec { nvec {
compatible = "nvidia,nvec"; compatible = "nvidia,nvec";
reg = <0x7000c500 0x100>; reg = <0x7000c500 0x100>;
interrupts = <0 92 0x04>; interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clock-frequency = <80000>; clock-frequency = <80000>;
...@@ -288,7 +288,7 @@ i2c@7000d000 { ...@@ -288,7 +288,7 @@ i2c@7000d000 {
pmic: tps6586x@34 { pmic: tps6586x@34 {
compatible = "ti,tps6586x"; compatible = "ti,tps6586x";
reg = <0x34>; reg = <0x34>;
interrupts = <0 86 0x4>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
......
...@@ -17,7 +17,7 @@ wm8903: wm8903@1a { ...@@ -17,7 +17,7 @@ wm8903: wm8903@1a {
compatible = "wlf,wm8903"; compatible = "wlf,wm8903";
reg = <0x1a>; reg = <0x1a>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(X, 3) 0x04>; interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -314,7 +314,7 @@ wm8903: wm8903@1a { ...@@ -314,7 +314,7 @@ wm8903: wm8903@1a {
compatible = "wlf,wm8903"; compatible = "wlf,wm8903";
reg = <0x1a>; reg = <0x1a>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(X, 3) 0x04>; interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -329,14 +329,14 @@ isl29018@44 { ...@@ -329,14 +329,14 @@ isl29018@44 {
compatible = "isil,isl29018"; compatible = "isil,isl29018";
reg = <0x44>; reg = <0x44>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(Z, 2) 0x04>; interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>;
}; };
gyrometer@68 { gyrometer@68 {
compatible = "invn,mpu3050"; compatible = "invn,mpu3050";
reg = <0x68>; reg = <0x68>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(Z, 4) 0x04>; interrupts = <TEGRA_GPIO(Z, 4) IRQ_TYPE_LEVEL_HIGH>;
}; };
}; };
...@@ -389,7 +389,7 @@ i2c@7000d000 { ...@@ -389,7 +389,7 @@ i2c@7000d000 {
pmic: tps6586x@34 { pmic: tps6586x@34 {
compatible = "ti,tps6586x"; compatible = "ti,tps6586x";
reg = <0x34>; reg = <0x34>;
interrupts = <0 86 0x4>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
ti,system-power-controller; ti,system-power-controller;
...@@ -512,7 +512,7 @@ magnetometer@c { ...@@ -512,7 +512,7 @@ magnetometer@c {
compatible = "ak,ak8975"; compatible = "ak,ak8975";
reg = <0xc>; reg = <0xc>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(N, 5) 0x04>; interrupts = <TEGRA_GPIO(N, 5) IRQ_TYPE_LEVEL_HIGH>;
}; };
}; };
......
...@@ -322,7 +322,7 @@ i2c@7000d000 { ...@@ -322,7 +322,7 @@ i2c@7000d000 {
pmic: tps6586x@34 { pmic: tps6586x@34 {
compatible = "ti,tps6586x"; compatible = "ti,tps6586x";
reg = <0x34>; reg = <0x34>;
interrupts = <0 86 0x4>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
ti,system-power-controller; ti,system-power-controller;
......
...@@ -17,7 +17,7 @@ wm8903: wm8903@1a { ...@@ -17,7 +17,7 @@ wm8903: wm8903@1a {
compatible = "wlf,wm8903"; compatible = "wlf,wm8903";
reg = <0x1a>; reg = <0x1a>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(X, 3) 0x04>; interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -311,7 +311,7 @@ wm8903: wm8903@1a { ...@@ -311,7 +311,7 @@ wm8903: wm8903@1a {
compatible = "wlf,wm8903"; compatible = "wlf,wm8903";
reg = <0x1a>; reg = <0x1a>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(X, 3) 0x04>; interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -326,7 +326,7 @@ isl29018@44 { ...@@ -326,7 +326,7 @@ isl29018@44 {
compatible = "isil,isl29018"; compatible = "isil,isl29018";
reg = <0x44>; reg = <0x44>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(Z, 2) 0x04>; interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>;
}; };
}; };
...@@ -372,7 +372,7 @@ i2c@7000d000 { ...@@ -372,7 +372,7 @@ i2c@7000d000 {
pmic: tps6586x@34 { pmic: tps6586x@34 {
compatible = "ti,tps6586x"; compatible = "ti,tps6586x";
reg = <0x34>; reg = <0x34>;
interrupts = <0 86 0x4>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
ti,system-power-controller; ti,system-power-controller;
......
...@@ -282,7 +282,7 @@ tca6416: gpio@20 { ...@@ -282,7 +282,7 @@ tca6416: gpio@20 {
max8907@3c { max8907@3c {
compatible = "maxim,max8907"; compatible = "maxim,max8907";
reg = <0x3c>; reg = <0x3c>;
interrupts = <0 86 0x4>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
maxim,system-power-controller; maxim,system-power-controller;
......
This diff is collapsed.
...@@ -133,7 +133,7 @@ pmic: tps65911@2d { ...@@ -133,7 +133,7 @@ pmic: tps65911@2d {
compatible = "ti,tps65911"; compatible = "ti,tps65911";
reg = <0x2d>; reg = <0x2d>;
interrupts = <0 86 0x4>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
interrupt-controller; interrupt-controller;
......
...@@ -146,7 +146,7 @@ isl29028@44 { ...@@ -146,7 +146,7 @@ isl29028@44 {
compatible = "isil,isl29028"; compatible = "isil,isl29028";
reg = <0x44>; reg = <0x44>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(L, 0) 0x04>; interrupts = <TEGRA_GPIO(L, 0) IRQ_TYPE_LEVEL_HIGH>;
}; };
}; };
...@@ -163,7 +163,7 @@ wm8903: wm8903@1a { ...@@ -163,7 +163,7 @@ wm8903: wm8903@1a {
compatible = "wlf,wm8903"; compatible = "wlf,wm8903";
reg = <0x1a>; reg = <0x1a>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(W, 3) 0x04>; interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_HIGH>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -190,7 +190,7 @@ pmic: tps65911@2d { ...@@ -190,7 +190,7 @@ pmic: tps65911@2d {
compatible = "ti,tps65911"; compatible = "ti,tps65911";
reg = <0x2d>; reg = <0x2d>;
interrupts = <0 86 0x4>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
interrupt-controller; interrupt-controller;
......
This diff is collapsed.
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