arm64: dts: mediatek: mt8183: Use interrupts-extended where possible

Change all instances of interrupt-parent + interrupts to one line
as interrupts-extended where possible across all MT8183 DTs to both
simplify and reduce code size.
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
parent a37edd20
...@@ -11,8 +11,7 @@ da7219: da7219@1a { ...@@ -11,8 +11,7 @@ da7219: da7219@1a {
pinctrl-0 = <&da7219_pins>; pinctrl-0 = <&da7219_pins>;
compatible = "dlg,da7219"; compatible = "dlg,da7219";
reg = <0x1a>; reg = <0x1a>;
interrupt-parent = <&pio>; interrupts-extended = <&pio 165 IRQ_TYPE_LEVEL_LOW>;
interrupts = <165 IRQ_TYPE_LEVEL_LOW 165 0>;
dlg,micbias-lvl = <2600>; dlg,micbias-lvl = <2600>;
dlg,mic-amp-in-sel = "diff"; dlg,mic-amp-in-sel = "diff";
......
...@@ -11,8 +11,7 @@ ts3a227e: ts3a227e@3b { ...@@ -11,8 +11,7 @@ ts3a227e: ts3a227e@3b {
pinctrl-0 = <&ts3a227e_pins>; pinctrl-0 = <&ts3a227e_pins>;
compatible = "ti,ts3a227e"; compatible = "ti,ts3a227e";
reg = <0x3b>; reg = <0x3b>;
interrupt-parent = <&pio>; interrupts-extended = <&pio 157 IRQ_TYPE_LEVEL_LOW>;
interrupts = <157 IRQ_TYPE_LEVEL_LOW>;
status = "okay"; status = "okay";
}; };
}; };
......
...@@ -18,8 +18,7 @@ &touchscreen { ...@@ -18,8 +18,7 @@ &touchscreen {
compatible = "hid-over-i2c"; compatible = "hid-over-i2c";
reg = <0x10>; reg = <0x10>;
interrupt-parent = <&pio>; interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
interrupts = <155 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&touchscreen_pins>; pinctrl-0 = <&touchscreen_pins>;
......
...@@ -30,8 +30,7 @@ &touchscreen { ...@@ -30,8 +30,7 @@ &touchscreen {
compatible = "hid-over-i2c"; compatible = "hid-over-i2c";
reg = <0x10>; reg = <0x10>;
interrupt-parent = <&pio>; interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
interrupts = <155 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&touchscreen_pins>; pinctrl-0 = <&touchscreen_pins>;
......
...@@ -17,8 +17,7 @@ &touchscreen { ...@@ -17,8 +17,7 @@ &touchscreen {
compatible = "hid-over-i2c"; compatible = "hid-over-i2c";
reg = <0x10>; reg = <0x10>;
interrupt-parent = <&pio>; interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
interrupts = <155 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&touchscreen_pins>; pinctrl-0 = <&touchscreen_pins>;
......
...@@ -17,8 +17,7 @@ &touchscreen { ...@@ -17,8 +17,7 @@ &touchscreen {
compatible = "hid-over-i2c"; compatible = "hid-over-i2c";
reg = <0x10>; reg = <0x10>;
interrupt-parent = <&pio>; interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
interrupts = <155 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&touchscreen_pins>; pinctrl-0 = <&touchscreen_pins>;
......
...@@ -70,8 +70,7 @@ touchscreen: touchscreen@10 { ...@@ -70,8 +70,7 @@ touchscreen: touchscreen@10 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&open_touch>; pinctrl-0 = <&open_touch>;
interrupt-parent = <&pio>; interrupts-extended = <&pio 155 IRQ_TYPE_EDGE_FALLING>;
interrupts = <155 IRQ_TYPE_EDGE_FALLING>;
post-power-on-delay-ms = <10>; post-power-on-delay-ms = <10>;
hid-descr-addr = <0x0001>; hid-descr-addr = <0x0001>;
......
...@@ -48,8 +48,7 @@ &i2c0 { ...@@ -48,8 +48,7 @@ &i2c0 {
touchscreen: touchscreen@10 { touchscreen: touchscreen@10 {
compatible = "hid-over-i2c"; compatible = "hid-over-i2c";
reg = <0x10>; reg = <0x10>;
interrupt-parent = <&pio>; interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
interrupts = <155 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&touch_default>; pinctrl-0 = <&touch_default>;
......
...@@ -54,8 +54,7 @@ touchscreen4: touchscreen@5d { ...@@ -54,8 +54,7 @@ touchscreen4: touchscreen@5d {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&open_touch>; pinctrl-0 = <&open_touch>;
interrupt-parent = <&pio>; interrupts-extended = <&pio 155 IRQ_TYPE_EDGE_FALLING>;
interrupts = <155 IRQ_TYPE_EDGE_FALLING>;
post-power-on-delay-ms = <10>; post-power-on-delay-ms = <10>;
hid-descr-addr = <0x0001>; hid-descr-addr = <0x0001>;
......
...@@ -890,8 +890,7 @@ cr50@0 { ...@@ -890,8 +890,7 @@ cr50@0 {
spi-max-frequency = <1000000>; spi-max-frequency = <1000000>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&h1_int_od_l>; pinctrl-0 = <&h1_int_od_l>;
interrupt-parent = <&pio>; interrupts-extended = <&pio 153 IRQ_TYPE_EDGE_RISING>;
interrupts = <153 IRQ_TYPE_EDGE_RISING>;
}; };
}; };
...@@ -918,8 +917,7 @@ cros_ec: cros-ec@0 { ...@@ -918,8 +917,7 @@ cros_ec: cros-ec@0 {
compatible = "google,cros-ec-spi"; compatible = "google,cros-ec-spi";
reg = <0>; reg = <0>;
spi-max-frequency = <3000000>; spi-max-frequency = <3000000>;
interrupt-parent = <&pio>; interrupts-extended = <&pio 151 IRQ_TYPE_LEVEL_LOW>;
interrupts = <151 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&ec_ap_int_odl>; pinctrl-0 = <&ec_ap_int_odl>;
......
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