public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v7 0/9] Add mt8189 dts evaluation board and Makefile
@ 2025-11-11  6:59 Jack Hsu
  2025-11-11  6:59 ` [PATCH v7 1/9] dt-bindings: arm: Add compatible for MediaTek MT8189 Jack Hsu
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Jack Hsu @ 2025-11-11  6:59 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, jic23, dlechner, nuno.sa, andy,
	matthias.bgg, angelogioacchino.delregno, srini, ukleinek, gregkh,
	jirislaby, daniel.lezcano, tglx, chunfeng.yun, wim, linux,
	sean.wang, zhiyong.tao, andrew-ct.chen, lala.lin, jitao.shi
  Cc: devicetree, linux-kernel, linux-iio, linux-arm-kernel,
	linux-mediatek, linux-pwm, linux-serial, linux-usb,
	linux-watchdog, Project_Global_Chrome_Upstream_Group, Jack Hsu


In this patch series, 
we add Mediatek MT8189 evaluation board dts, dtsi and Makefile,
add/update related PMIC MT6319/MT6359 dtsi, 
and also related dt-binding documents.

based on tag: next-20251111

Note:
This patch series depends on following dt-binding headers and yamls
1.dt-binding headers
  1. mt8189-pinfunc.h
       https://patchwork.kernel.org/project/linux-mediatek/patch/20250919020525.7904-1-ot_cathy.xu@mediatek.com/
  2. mt8189_gce.h 
       https://patchwork.kernel.org/project/linux-mediatek/patch/20250820093831.23437-3-xiandong.wang@mediatek.com/ 

---
Changs in v7:
 - update explanation in cover letter
 - remove Applied mediatek,mt2701-auxadc.yaml
   (refer to: https://lore.kernel.org/linux-mediatek/20251101162855.303b3e5e@jic23-huawei/)
 - remove Applied mediatek,efuse.yaml
   (refer to: https://lore.kernel.org/linux-mediatek/176236193629.37589.12615931533548308117.b4-ty@kernel.org/)
 - update dt-bindings commit msg
   (use "mt8189" instead of "mt8189 evb board")
 - update xhci.yaml
   (drop "reset-names" property)
 - update mt6319 dtsi
   (change pmic node name as pmic@ )
 - update mt6359 dtsi node
   (remove mt635x-auadc.h, remove fg nodes)
 - update mt8189 dtsi node
   - update mt8189 clk node
     (refer to: https://lore.kernel.org/linux-mediatek/20251106124330.1145600-1-irving-ch.lin@mediatek.com/)
   - xhci node drop "reset-names" property
   - update mt8189 thermal node
     (refer to: https://lore.kernel.org/linux-mediatek/20251110094113.3965182-1-hanchien.lin@mediatek.com/)

 - Link to v6: https://lore.kernel.org/linux-mediatek/20251030134541.784011-1-jh.hsu@mediatek.com/

Changs in v6:
 - add/fix dt-bindings for mt8189 dts node
 - add pmic mt63xx dtsi for mt8189 evb board
 - add complete device node of mt8189 evb board
 - Fix previous version review comments
 - Link to v5: https://patchwork.kernel.org/project/linux-mediatek/cover/20250718075630.644870-1-sirius.wang@mediatek.com/

Changs in v5:
 - remove unused cpu-dile-state definition.
 - change memory size in "reg" property which if filled in by bootloader.

Changs in v4:
 - Correct cpu-idle-states.
 - Change the "reg" property name of the "memory" node in the
   device tree source (DTS) to lowercase.

Changs in v3:
 - Move ulposc and ulposc3 before cpu nodes.
 - Refactor cpu-map to a single cluster0.
 - Change cpu nodes name from medium core to big core.
 - Move psci before timer nodes.

Changs in v2:
 - Fix warning issues for make CHECK_DTBS=y.
 - Add mediatek,uart.yaml document.

---


Jack Hsu (9):
  dt-bindings: arm: Add compatible for MediaTek MT8189
  dt-bindings: pwm: Support MediaTek MT8189 disp-pwm
  dt-bindings: serial: Support MediaTek MT8189 uart
  dt-bindings: timer: Support MediaTek MT8189 timer
  dt-bindings: usb: Support MediaTek MT8189 xhci
  dt-bindings: watchdog: Support MediaTek MT8189 wdt
  arm64: dts: mediatek: Add MT6319 PMIC Support
  arm64: dts: mediatek: update rtc properties for MT6359
  arm64: dts: mediatek: Add mt8189 evaluation board dts

 .../devicetree/bindings/arm/mediatek.yaml     |    4 +
 .../bindings/pwm/mediatek,pwm-disp.yaml       |    1 +
 .../bindings/serial/mediatek,uart.yaml        |    1 +
 .../bindings/timer/mediatek,timer.yaml        |    1 +
 .../bindings/usb/mediatek,mtk-xhci.yaml       |    4 +-
 .../bindings/watchdog/mediatek,mtk-wdt.yaml   |    1 +
 arch/arm64/boot/dts/mediatek/Makefile         |    1 +
 arch/arm64/boot/dts/mediatek/mt6319.dtsi      |   66 +
 arch/arm64/boot/dts/mediatek/mt6359.dtsi      |    3 +
 arch/arm64/boot/dts/mediatek/mt8189-evb.dts   | 1082 ++++++
 arch/arm64/boot/dts/mediatek/mt8189.dtsi      | 3310 +++++++++++++++++
 11 files changed, 4473 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt6319.dtsi
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8189-evb.dts
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8189.dtsi

-- 
2.45.2



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

* [PATCH v7 1/9] dt-bindings: arm: Add compatible for MediaTek MT8189
  2025-11-11  6:59 [PATCH v7 0/9] Add mt8189 dts evaluation board and Makefile Jack Hsu
@ 2025-11-11  6:59 ` Jack Hsu
  2025-11-11  6:59 ` [PATCH v7 2/9] dt-bindings: pwm: Support MediaTek MT8189 disp-pwm Jack Hsu
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Jack Hsu @ 2025-11-11  6:59 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, jic23, dlechner, nuno.sa, andy,
	matthias.bgg, angelogioacchino.delregno, srini, ukleinek, gregkh,
	jirislaby, daniel.lezcano, tglx, chunfeng.yun, wim, linux,
	sean.wang, zhiyong.tao, andrew-ct.chen, lala.lin, jitao.shi
  Cc: devicetree, linux-kernel, linux-iio, linux-arm-kernel,
	linux-mediatek, linux-pwm, linux-serial, linux-usb,
	linux-watchdog, Project_Global_Chrome_Upstream_Group, Jack Hsu,
	Conor Dooley

This commit adds dt-binding documentation for the MediaTek MT8189
reference board.

Signed-off-by: Jack Hsu <jh.hsu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml
index 718d732174b9..cb0eda4e87ac 100644
--- a/Documentation/devicetree/bindings/arm/mediatek.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek.yaml
@@ -389,6 +389,10 @@ properties:
           - enum:
               - mediatek,mt8188-evb
           - const: mediatek,mt8188
+      - items:
+          - enum:
+              - mediatek,mt8189-evb
+          - const: mediatek,mt8189
       - description: Google Hayato
         items:
           - const: google,hayato-rev1
-- 
2.45.2



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

* [PATCH v7 2/9] dt-bindings: pwm: Support MediaTek MT8189 disp-pwm
  2025-11-11  6:59 [PATCH v7 0/9] Add mt8189 dts evaluation board and Makefile Jack Hsu
  2025-11-11  6:59 ` [PATCH v7 1/9] dt-bindings: arm: Add compatible for MediaTek MT8189 Jack Hsu
@ 2025-11-11  6:59 ` Jack Hsu
  2025-11-11  6:59 ` [PATCH v7 3/9] dt-bindings: serial: Support MediaTek MT8189 uart Jack Hsu
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Jack Hsu @ 2025-11-11  6:59 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, jic23, dlechner, nuno.sa, andy,
	matthias.bgg, angelogioacchino.delregno, srini, ukleinek, gregkh,
	jirislaby, daniel.lezcano, tglx, chunfeng.yun, wim, linux,
	sean.wang, zhiyong.tao, andrew-ct.chen, lala.lin, jitao.shi
  Cc: devicetree, linux-kernel, linux-iio, linux-arm-kernel,
	linux-mediatek, linux-pwm, linux-serial, linux-usb,
	linux-watchdog, Project_Global_Chrome_Upstream_Group, Jack Hsu,
	Conor Dooley

add compatible string for mt8189 dts node of disp-pwm

Signed-off-by: Jack Hsu <jh.hsu@mediatek.com>
Acked-by: Uwe Kleine-König <ukleinek@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>

---
Changs in v7:
 - update dt-bindings commit msg
   (use "mt8189" instead of "mt8189 evb board")

---
 Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml
index 68ef30414325..22712769518b 100644
--- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml
+++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml
@@ -30,6 +30,7 @@ properties:
               - mediatek,mt6893-disp-pwm
               - mediatek,mt8186-disp-pwm
               - mediatek,mt8188-disp-pwm
+              - mediatek,mt8189-disp-pwm
               - mediatek,mt8192-disp-pwm
               - mediatek,mt8195-disp-pwm
               - mediatek,mt8365-disp-pwm
-- 
2.45.2



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

* [PATCH v7 3/9] dt-bindings: serial: Support MediaTek MT8189 uart
  2025-11-11  6:59 [PATCH v7 0/9] Add mt8189 dts evaluation board and Makefile Jack Hsu
  2025-11-11  6:59 ` [PATCH v7 1/9] dt-bindings: arm: Add compatible for MediaTek MT8189 Jack Hsu
  2025-11-11  6:59 ` [PATCH v7 2/9] dt-bindings: pwm: Support MediaTek MT8189 disp-pwm Jack Hsu
@ 2025-11-11  6:59 ` Jack Hsu
  2025-11-11  6:59 ` [PATCH v7 4/9] dt-bindings: timer: Support MediaTek MT8189 timer Jack Hsu
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Jack Hsu @ 2025-11-11  6:59 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, jic23, dlechner, nuno.sa, andy,
	matthias.bgg, angelogioacchino.delregno, srini, ukleinek, gregkh,
	jirislaby, daniel.lezcano, tglx, chunfeng.yun, wim, linux,
	sean.wang, zhiyong.tao, andrew-ct.chen, lala.lin, jitao.shi
  Cc: devicetree, linux-kernel, linux-iio, linux-arm-kernel,
	linux-mediatek, linux-pwm, linux-serial, linux-usb,
	linux-watchdog, Project_Global_Chrome_Upstream_Group, Jack Hsu,
	Conor Dooley

add compatible string for mt8189 dts node of uart

Signed-off-by: Jack Hsu <jh.hsu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>

---
Changs in v7:
 - update dt-bindings commit msg
   (use "mt8189" instead of "mt8189 evb board")

---
 Documentation/devicetree/bindings/serial/mediatek,uart.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/serial/mediatek,uart.yaml b/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
index 5bd8a8853ae0..3f0f4aea0a4c 100644
--- a/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
+++ b/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
@@ -47,6 +47,7 @@ properties:
               - mediatek,mt8183-uart
               - mediatek,mt8186-uart
               - mediatek,mt8188-uart
+              - mediatek,mt8189-uart
               - mediatek,mt8192-uart
               - mediatek,mt8195-uart
               - mediatek,mt8365-uart
-- 
2.45.2



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

* [PATCH v7 4/9] dt-bindings: timer: Support MediaTek MT8189 timer
  2025-11-11  6:59 [PATCH v7 0/9] Add mt8189 dts evaluation board and Makefile Jack Hsu
                   ` (2 preceding siblings ...)
  2025-11-11  6:59 ` [PATCH v7 3/9] dt-bindings: serial: Support MediaTek MT8189 uart Jack Hsu
@ 2025-11-11  6:59 ` Jack Hsu
  2025-11-11  6:59 ` [PATCH v7 5/9] dt-bindings: usb: Support MediaTek MT8189 xhci Jack Hsu
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Jack Hsu @ 2025-11-11  6:59 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, jic23, dlechner, nuno.sa, andy,
	matthias.bgg, angelogioacchino.delregno, srini, ukleinek, gregkh,
	jirislaby, daniel.lezcano, tglx, chunfeng.yun, wim, linux,
	sean.wang, zhiyong.tao, andrew-ct.chen, lala.lin, jitao.shi
  Cc: devicetree, linux-kernel, linux-iio, linux-arm-kernel,
	linux-mediatek, linux-pwm, linux-serial, linux-usb,
	linux-watchdog, Project_Global_Chrome_Upstream_Group, Jack Hsu,
	Conor Dooley

add compatible string for mt8189 dts node of timer

Signed-off-by: Jack Hsu <jh.hsu@mediatek.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>

---
Changs in v7:
 - update dt-bindings commit msg
   (use "mt8189" instead of "mt8189 evb board")
   
---
 Documentation/devicetree/bindings/timer/mediatek,timer.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/timer/mediatek,timer.yaml b/Documentation/devicetree/bindings/timer/mediatek,timer.yaml
index 337580dc77d8..8e705fe58dc5 100644
--- a/Documentation/devicetree/bindings/timer/mediatek,timer.yaml
+++ b/Documentation/devicetree/bindings/timer/mediatek,timer.yaml
@@ -44,6 +44,7 @@ properties:
               - mediatek,mt8183-timer
               - mediatek,mt8186-timer
               - mediatek,mt8188-timer
+              - mediatek,mt8189-timer
               - mediatek,mt8192-timer
               - mediatek,mt8195-timer
               - mediatek,mt8196-timer
-- 
2.45.2



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

* [PATCH v7 5/9] dt-bindings: usb: Support MediaTek MT8189 xhci
  2025-11-11  6:59 [PATCH v7 0/9] Add mt8189 dts evaluation board and Makefile Jack Hsu
                   ` (3 preceding siblings ...)
  2025-11-11  6:59 ` [PATCH v7 4/9] dt-bindings: timer: Support MediaTek MT8189 timer Jack Hsu
@ 2025-11-11  6:59 ` Jack Hsu
  2025-11-11 18:01   ` Conor Dooley
  2025-11-11  6:59 ` [PATCH v7 6/9] dt-bindings: watchdog: Support MediaTek MT8189 wdt Jack Hsu
                   ` (2 subsequent siblings)
  7 siblings, 1 reply; 11+ messages in thread
From: Jack Hsu @ 2025-11-11  6:59 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, jic23, dlechner, nuno.sa, andy,
	matthias.bgg, angelogioacchino.delregno, srini, ukleinek, gregkh,
	jirislaby, daniel.lezcano, tglx, chunfeng.yun, wim, linux,
	sean.wang, zhiyong.tao, andrew-ct.chen, lala.lin, jitao.shi
  Cc: devicetree, linux-kernel, linux-iio, linux-arm-kernel,
	linux-mediatek, linux-pwm, linux-serial, linux-usb,
	linux-watchdog, Project_Global_Chrome_Upstream_Group, Jack Hsu

modify dt-binding for support mt8189 dts node of xhci

Signed-off-by: Jack Hsu <jh.hsu@mediatek.com>

---
Changs in v7:
 - drop "reset-names" property
 - update dt-bindings commit msg
   (use "mt8189" instead of "mt8189 evb board")
   
---
 Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
index 004d3ebec091..231e6f35a986 100644
--- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
+++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
@@ -34,6 +34,7 @@ properties:
           - mediatek,mt8183-xhci
           - mediatek,mt8186-xhci
           - mediatek,mt8188-xhci
+          - mediatek,mt8189-xhci
           - mediatek,mt8192-xhci
           - mediatek,mt8195-xhci
           - mediatek,mt8365-xhci
@@ -168,7 +169,8 @@ properties:
             104 - used by mt8195, IP1, specific 1.04;
             105 - used by mt8195, IP2, specific 1.05;
             106 - used by mt8195, IP3, specific 1.06;
-          enum: [1, 2, 101, 102, 103, 104, 105, 106]
+            110 - used by mt8189, IP4, specific 1.10;
+          enum: [1, 2, 101, 102, 103, 104, 105, 106, 110]
 
   mediatek,u3p-dis-msk:
     $ref: /schemas/types.yaml#/definitions/uint32
-- 
2.45.2



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

* [PATCH v7 6/9] dt-bindings: watchdog: Support MediaTek MT8189 wdt
  2025-11-11  6:59 [PATCH v7 0/9] Add mt8189 dts evaluation board and Makefile Jack Hsu
                   ` (4 preceding siblings ...)
  2025-11-11  6:59 ` [PATCH v7 5/9] dt-bindings: usb: Support MediaTek MT8189 xhci Jack Hsu
@ 2025-11-11  6:59 ` Jack Hsu
  2025-11-11  6:59 ` [PATCH v7 7/9] arm64: dts: mediatek: Add MT6319 PMIC Support Jack Hsu
  2025-11-11  6:59 ` [PATCH v7 8/9] arm64: dts: mediatek: update rtc properties for MT6359 Jack Hsu
  7 siblings, 0 replies; 11+ messages in thread
From: Jack Hsu @ 2025-11-11  6:59 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, jic23, dlechner, nuno.sa, andy,
	matthias.bgg, angelogioacchino.delregno, srini, ukleinek, gregkh,
	jirislaby, daniel.lezcano, tglx, chunfeng.yun, wim, linux,
	sean.wang, zhiyong.tao, andrew-ct.chen, lala.lin, jitao.shi
  Cc: devicetree, linux-kernel, linux-iio, linux-arm-kernel,
	linux-mediatek, linux-pwm, linux-serial, linux-usb,
	linux-watchdog, Project_Global_Chrome_Upstream_Group, Jack Hsu,
	Conor Dooley

modify dt-binding for support mt8189 dts node of wdt

Signed-off-by: Jack Hsu <jh.hsu@mediatek.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>

---
Changs in v7:
 - update dt-bindings commit msg
   (use "mt8189" instead of "mt8189 evb board")

---
 Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
index ba0bfd73ab62..a05f8155b738 100644
--- a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
@@ -41,6 +41,7 @@ properties:
               - mediatek,mt7623-wdt
               - mediatek,mt7629-wdt
               - mediatek,mt8173-wdt
+              - mediatek,mt8188-wdt
               - mediatek,mt8365-wdt
               - mediatek,mt8516-wdt
           - const: mediatek,mt6589-wdt
-- 
2.45.2



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

* [PATCH v7 7/9] arm64: dts: mediatek: Add MT6319 PMIC Support
  2025-11-11  6:59 [PATCH v7 0/9] Add mt8189 dts evaluation board and Makefile Jack Hsu
                   ` (5 preceding siblings ...)
  2025-11-11  6:59 ` [PATCH v7 6/9] dt-bindings: watchdog: Support MediaTek MT8189 wdt Jack Hsu
@ 2025-11-11  6:59 ` Jack Hsu
  2025-11-11  6:59 ` [PATCH v7 8/9] arm64: dts: mediatek: update rtc properties for MT6359 Jack Hsu
  7 siblings, 0 replies; 11+ messages in thread
From: Jack Hsu @ 2025-11-11  6:59 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, jic23, dlechner, nuno.sa, andy,
	matthias.bgg, angelogioacchino.delregno, srini, ukleinek, gregkh,
	jirislaby, daniel.lezcano, tglx, chunfeng.yun, wim, linux,
	sean.wang, zhiyong.tao, andrew-ct.chen, lala.lin, jitao.shi
  Cc: devicetree, linux-kernel, linux-iio, linux-arm-kernel,
	linux-mediatek, linux-pwm, linux-serial, linux-usb,
	linux-watchdog, Project_Global_Chrome_Upstream_Group, Jack Hsu

Add support for MediaTek MT6319 PMIC IC

Signed-off-by: Jack Hsu <jh.hsu@mediatek.com>

---
Changs in v7:
 - change pmic node name as "pmic@"

---
 arch/arm64/boot/dts/mediatek/mt6319.dtsi | 66 ++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt6319.dtsi

diff --git a/arch/arm64/boot/dts/mediatek/mt6319.dtsi b/arch/arm64/boot/dts/mediatek/mt6319.dtsi
new file mode 100644
index 000000000000..6586f0ba5b2f
--- /dev/null
+++ b/arch/arm64/boot/dts/mediatek/mt6319.dtsi
@@ -0,0 +1,66 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (c) 2025 MediaTek Inc.
+ */
+#include <dt-bindings/spmi/spmi.h>
+
+&spmi {
+	mt6319_7: pmic@7 {
+		compatible = "mediatek,mt6315-regulator";
+		buck1-modeset-mask = <0x3>;
+		reg = <0x7 SPMI_USID>;
+
+		regulators {
+			mt6319_7_vbuck1: vbuck1 {
+				regulator-name = "vbuck1";
+				regulator-allowed-modes = <0 1 2>;
+				regulator-always-on;
+			};
+			mt6319_7_vbuck2: vbuck2 {
+				regulator-name = "vbuck2";
+				regulator-allowed-modes = <0 1 2>;
+				regulator-always-on;
+			};
+			mt6319_7_vbuck3: vbuck3 {
+				regulator-name = "vbuck3";
+				regulator-allowed-modes = <0 1 2>;
+				regulator-always-on;
+			};
+			mt6319_7_vbuck4: vbuck4 {
+				regulator-name = "vbuck4";
+				regulator-allowed-modes = <0 1 2>;
+				regulator-always-on;
+			};
+		};
+	};
+
+	mt6319_8: pmic@8 {
+		compatible = "mediatek,mt6315-regulator";
+		buck1-modeset-mask = <0xb>;
+		reg = <0x8 SPMI_USID>;
+
+		regulators {
+			mt6319_8_vbuck1: vbuck1 {
+				regulator-name = "vbuck1";
+				regulator-allowed-modes = <0 1 2>;
+				regulator-always-on;
+			};
+			mt6319_8_vbuck2: vbuck2 {
+				regulator-name = "vbuck2";
+				regulator-allowed-modes = <0 1 2>;
+				regulator-always-on;
+			};
+			mt6319_8_vbuck3: vbuck3 {
+				regulator-name = "vbuck3";
+				regulator-allowed-modes = <0 1 2>;
+				regulator-always-on;
+			};
+			mt6319_8_vbuck4: vbuck4 {
+				regulator-name = "vbuck4";
+				regulator-allowed-modes = <0 1 2>;
+				regulator-always-on;
+			};
+		};
+	};
+};
+
-- 
2.45.2



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

* [PATCH v7 8/9] arm64: dts: mediatek: update rtc properties for MT6359
  2025-11-11  6:59 [PATCH v7 0/9] Add mt8189 dts evaluation board and Makefile Jack Hsu
                   ` (6 preceding siblings ...)
  2025-11-11  6:59 ` [PATCH v7 7/9] arm64: dts: mediatek: Add MT6319 PMIC Support Jack Hsu
@ 2025-11-11  6:59 ` Jack Hsu
  2025-11-11 18:03   ` Conor Dooley
  7 siblings, 1 reply; 11+ messages in thread
From: Jack Hsu @ 2025-11-11  6:59 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, jic23, dlechner, nuno.sa, andy,
	matthias.bgg, angelogioacchino.delregno, srini, ukleinek, gregkh,
	jirislaby, daniel.lezcano, tglx, chunfeng.yun, wim, linux,
	sean.wang, zhiyong.tao, andrew-ct.chen, lala.lin, jitao.shi
  Cc: devicetree, linux-kernel, linux-iio, linux-arm-kernel,
	linux-mediatek, linux-pwm, linux-serial, linux-usb,
	linux-watchdog, Project_Global_Chrome_Upstream_Group, Jack Hsu

Update properties of rtc for mt6359 PMIC

Signed-off-by: Jack Hsu <jh.hsu@mediatek.com>

---
Changs in v7:
 - remove mt635x-auadc.h
 - remove fg nodes

---
 arch/arm64/boot/dts/mediatek/mt6359.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt6359.dtsi b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
index 467d8a4c2aa7..fe737254c091 100644
--- a/arch/arm64/boot/dts/mediatek/mt6359.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
@@ -302,6 +302,9 @@ mt6359_vsram_others_sshub_ldo: ldo_vsram_others_sshub {
 
 		mt6359rtc: rtc {
 			compatible = "mediatek,mt6358-rtc";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			status = "disabled";
 		};
 	};
 };
-- 
2.45.2



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

* Re: [PATCH v7 5/9] dt-bindings: usb: Support MediaTek MT8189 xhci
  2025-11-11  6:59 ` [PATCH v7 5/9] dt-bindings: usb: Support MediaTek MT8189 xhci Jack Hsu
@ 2025-11-11 18:01   ` Conor Dooley
  0 siblings, 0 replies; 11+ messages in thread
From: Conor Dooley @ 2025-11-11 18:01 UTC (permalink / raw)
  To: Jack Hsu
  Cc: robh, krzk+dt, conor+dt, jic23, dlechner, nuno.sa, andy,
	matthias.bgg, angelogioacchino.delregno, srini, ukleinek, gregkh,
	jirislaby, daniel.lezcano, tglx, chunfeng.yun, wim, linux,
	sean.wang, zhiyong.tao, andrew-ct.chen, lala.lin, jitao.shi,
	devicetree, linux-kernel, linux-iio, linux-arm-kernel,
	linux-mediatek, linux-pwm, linux-serial, linux-usb,
	linux-watchdog, Project_Global_Chrome_Upstream_Group

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

On Tue, Nov 11, 2025 at 02:59:19PM +0800, Jack Hsu wrote:
> modify dt-binding for support mt8189 dts node of xhci
> 
> Signed-off-by: Jack Hsu <jh.hsu@mediatek.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH v7 8/9] arm64: dts: mediatek: update rtc properties for MT6359
  2025-11-11  6:59 ` [PATCH v7 8/9] arm64: dts: mediatek: update rtc properties for MT6359 Jack Hsu
@ 2025-11-11 18:03   ` Conor Dooley
  0 siblings, 0 replies; 11+ messages in thread
From: Conor Dooley @ 2025-11-11 18:03 UTC (permalink / raw)
  To: Jack Hsu
  Cc: robh, krzk+dt, conor+dt, jic23, dlechner, nuno.sa, andy,
	matthias.bgg, angelogioacchino.delregno, srini, ukleinek, gregkh,
	jirislaby, daniel.lezcano, tglx, chunfeng.yun, wim, linux,
	sean.wang, zhiyong.tao, andrew-ct.chen, lala.lin, jitao.shi,
	devicetree, linux-kernel, linux-iio, linux-arm-kernel,
	linux-mediatek, linux-pwm, linux-serial, linux-usb,
	linux-watchdog, Project_Global_Chrome_Upstream_Group

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

On Tue, Nov 11, 2025 at 02:59:22PM +0800, Jack Hsu wrote:
> Update properties of rtc for mt6359 PMIC
> 
> Signed-off-by: Jack Hsu <jh.hsu@mediatek.com>
> 
> ---
> Changs in v7:
>  - remove mt635x-auadc.h
>  - remove fg nodes
> 
> ---
>  arch/arm64/boot/dts/mediatek/mt6359.dtsi | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt6359.dtsi b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
> index 467d8a4c2aa7..fe737254c091 100644
> --- a/arch/arm64/boot/dts/mediatek/mt6359.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
> @@ -302,6 +302,9 @@ mt6359_vsram_others_sshub_ldo: ldo_vsram_others_sshub {
>  
>  		mt6359rtc: rtc {
>  			compatible = "mediatek,mt6358-rtc";
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +			status = "disabled";

Okay, this looks a lot better now. Still missing an explanation of why
it has been moved to disabled though, especially since you just go and
re-enable it (without adding child devices that use the address/size
cells).
pw-bot: changes-requested

>  		};
>  	};
>  };
> -- 
> 2.45.2
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

end of thread, other threads:[~2025-11-11 18:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-11  6:59 [PATCH v7 0/9] Add mt8189 dts evaluation board and Makefile Jack Hsu
2025-11-11  6:59 ` [PATCH v7 1/9] dt-bindings: arm: Add compatible for MediaTek MT8189 Jack Hsu
2025-11-11  6:59 ` [PATCH v7 2/9] dt-bindings: pwm: Support MediaTek MT8189 disp-pwm Jack Hsu
2025-11-11  6:59 ` [PATCH v7 3/9] dt-bindings: serial: Support MediaTek MT8189 uart Jack Hsu
2025-11-11  6:59 ` [PATCH v7 4/9] dt-bindings: timer: Support MediaTek MT8189 timer Jack Hsu
2025-11-11  6:59 ` [PATCH v7 5/9] dt-bindings: usb: Support MediaTek MT8189 xhci Jack Hsu
2025-11-11 18:01   ` Conor Dooley
2025-11-11  6:59 ` [PATCH v7 6/9] dt-bindings: watchdog: Support MediaTek MT8189 wdt Jack Hsu
2025-11-11  6:59 ` [PATCH v7 7/9] arm64: dts: mediatek: Add MT6319 PMIC Support Jack Hsu
2025-11-11  6:59 ` [PATCH v7 8/9] arm64: dts: mediatek: update rtc properties for MT6359 Jack Hsu
2025-11-11 18:03   ` Conor Dooley

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