]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8173-evb: Add interrupts to DA9211 regulator
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 13 Jan 2026 11:00:26 +0000 (12:00 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 14 Jan 2026 08:25:04 +0000 (09:25 +0100)
Add the required pinmux and assign the right interrupts-extended
to the DA9211 regulator (PIO pin 15).

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8173-evb.dts

index 51118a4149d86ffa0c7e5574b730af6442e2b460..1049877e6cdae67ec760e1e9770901c3d6a8f89c 100644 (file)
        buck: da9211@68 {
                compatible = "dlg,da9211";
                reg = <0x68>;
+               interrupts-extended = <&pio 15 IRQ_TYPE_LEVEL_LOW>;
 
                regulators {
                        da9211_vcpu_reg: BUCKA {
                };
        };
 
+       i2c1_pins_a: i2c1-pins {
+               pins-da9211 {
+                       pinmux = <MT8173_PIN_15_EINT15__FUNC_GPIO15>;
+                       bias-pull-up;
+               };
+       };
+
        mmc0_pins_default: mmc0-default-pins {
                pins-cmd-dat {
                        pinmux = <MT8173_PIN_57_MSDC0_DAT0__FUNC_MSDC0_DAT0>,