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: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
This commit is contained in:
AngeloGioacchino Del Regno 2023-10-25 11:38:12 +02:00
parent de7e42e994
commit b924b73835
No known key found for this signature in database
GPG Key ID: 9A3604CFAD978478
4 changed files with 12 additions and 1 deletions

View File

@ -8,7 +8,6 @@
pmic: pmic {
compatible = "mediatek,mt6358";
interrupt-controller;
interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
#interrupt-cells = <2>;
mt6358codec: mt6358codec {

View File

@ -381,6 +381,10 @@
};
};
&pmic {
interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
};
&mfg {
domain-supply = <&mt6358_vgpu_reg>;
};

View File

@ -846,6 +846,10 @@
};
};
&pmic {
interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
};
&pwm0 {
status = "okay";
pinctrl-names = "default";

View File

@ -370,6 +370,10 @@
};
};
&pmic {
interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
};
&mfg {
domain-supply = <&mt6358_vgpu_reg>;
};