mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: mediatek: mt8173-evb: Add interrupts to DA9211 regulator
@ 2026-01-13 11:00 AngeloGioacchino Del Regno
  2026-01-14  8:15 ` Matthias Brugger
  2026-01-14  8:32 ` AngeloGioacchino Del Regno
  0 siblings, 2 replies; 3+ messages in thread
From: AngeloGioacchino Del Regno @ 2026-01-13 11:00 UTC (permalink / raw)
  To: linux-mediatek
  Cc: robh, krzk+dt, conor+dt, matthias.bgg, angelogioacchino.delregno,
	devicetree, linux-kernel, linux-arm-kernel, kernel

Add the required pinmux and assign the right interrupts-extended
to the DA9211 regulator (PIO pin 15).

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
index 51118a4149d8..1049877e6cda 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
@@ -117,6 +117,7 @@ &i2c1 {
 	buck: da9211@68 {
 		compatible = "dlg,da9211";
 		reg = <0x68>;
+		interrupts-extended = <&pio 15 IRQ_TYPE_LEVEL_LOW>;
 
 		regulators {
 			da9211_vcpu_reg: BUCKA {
@@ -179,6 +180,13 @@ pins1 {
 		};
 	};
 
+	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>,
-- 
2.52.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: dts: mediatek: mt8173-evb: Add interrupts to DA9211 regulator
  2026-01-13 11:00 [PATCH] arm64: dts: mediatek: mt8173-evb: Add interrupts to DA9211 regulator AngeloGioacchino Del Regno
@ 2026-01-14  8:15 ` Matthias Brugger
  2026-01-14  8:32 ` AngeloGioacchino Del Regno
  1 sibling, 0 replies; 3+ messages in thread
From: Matthias Brugger @ 2026-01-14  8:15 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, linux-mediatek
  Cc: robh, krzk+dt, conor+dt, matthias.bgg, devicetree, linux-kernel,
	linux-arm-kernel, kernel

On 13/1/26 12:00, AngeloGioacchino Del Regno wrote:
> Add the required pinmux and assign the right interrupts-extended
> to the DA9211 regulator (PIO pin 15).
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>

> ---
>   arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> index 51118a4149d8..1049877e6cda 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> @@ -117,6 +117,7 @@ &i2c1 {
>   	buck: da9211@68 {
>   		compatible = "dlg,da9211";
>   		reg = <0x68>;
> +		interrupts-extended = <&pio 15 IRQ_TYPE_LEVEL_LOW>;
>   
>   		regulators {
>   			da9211_vcpu_reg: BUCKA {
> @@ -179,6 +180,13 @@ pins1 {
>   		};
>   	};
>   
> +	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>,


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: dts: mediatek: mt8173-evb: Add interrupts to DA9211 regulator
  2026-01-13 11:00 [PATCH] arm64: dts: mediatek: mt8173-evb: Add interrupts to DA9211 regulator AngeloGioacchino Del Regno
  2026-01-14  8:15 ` Matthias Brugger
@ 2026-01-14  8:32 ` AngeloGioacchino Del Regno
  1 sibling, 0 replies; 3+ messages in thread
From: AngeloGioacchino Del Regno @ 2026-01-14  8:32 UTC (permalink / raw)
  To: linux-mediatek, AngeloGioacchino Del Regno
  Cc: robh, krzk+dt, conor+dt, matthias.bgg, devicetree, linux-kernel,
	linux-arm-kernel, kernel

On Tue, 13 Jan 2026 12:00:26 +0100, AngeloGioacchino Del Regno wrote:
> Add the required pinmux and assign the right interrupts-extended
> to the DA9211 regulator (PIO pin 15).
> 
> 

Applied to v6.19-next/dts64, thanks!

[1/1] arm64: dts: mediatek: mt8173-evb: Add interrupts to DA9211 regulator
      commit: 093d6e332259583a94d630897bdb07d6141bff57

Cheers,
Angelo



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-01-14  8:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-13 11:00 [PATCH] arm64: dts: mediatek: mt8173-evb: Add interrupts to DA9211 regulator AngeloGioacchino Del Regno
2026-01-14  8:15 ` Matthias Brugger
2026-01-14  8:32 ` AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®