arm64: dts: mediatek: Move MT6358 PMIC interrupts to MT8183 boards

MT6358 is a PMIC that is typically used on MT8183 boards, and it has
its own dtsi file, declaring interrupts-extended on its node.

The interrupt pin of that PMIC is connected to a SoC GPIO and that
is therefore not only SoC-specific, but board-specific: this means
that the interrupt-extended property does not belong to the PMIC
dtsi file, but to board files using that PMIC.

For correctness, transfer the interrupts-extended property from the
PMIC-specific mt6358.dtsi to board files.
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
parent de7e42e9
...@@ -8,7 +8,6 @@ &pwrap { ...@@ -8,7 +8,6 @@ &pwrap {
pmic: pmic { pmic: pmic {
compatible = "mediatek,mt6358"; compatible = "mediatek,mt6358";
interrupt-controller; interrupt-controller;
interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
mt6358codec: mt6358codec { mt6358codec: mt6358codec {
......
...@@ -381,6 +381,10 @@ pins_pwm { ...@@ -381,6 +381,10 @@ pins_pwm {
}; };
}; };
&pmic {
interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
};
&mfg { &mfg {
domain-supply = <&mt6358_vgpu_reg>; domain-supply = <&mt6358_vgpu_reg>;
}; };
......
...@@ -846,6 +846,10 @@ pins_wifi_wakeup { ...@@ -846,6 +846,10 @@ pins_wifi_wakeup {
}; };
}; };
&pmic {
interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
};
&pwm0 { &pwm0 {
status = "okay"; status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -370,6 +370,10 @@ pins_clk { ...@@ -370,6 +370,10 @@ pins_clk {
}; };
}; };
&pmic {
interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
};
&mfg { &mfg {
domain-supply = <&mt6358_vgpu_reg>; domain-supply = <&mt6358_vgpu_reg>;
}; };
......
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