Thread (19 messages) 19 messages, 3 authors, 2026-02-12

Re: [PATCH 6/7] arm64: dts: mt8167: Add the mmsys reset bit to reset dsi

From: Luca Leonardo Scorcia <hidden>
Date: 2026-02-12 08:01:27
Also in: linux-devicetree, linux-mediatek, linux-watchdog, lkml

I apologize for the mistake, I did not notice that the dsi node is not
present upstream yet, so this specific patch won't apply. Any comments
are appreciated though!
I will send a separate patch to add the display nodes to the dts and
the required compatibles to the bindings.

Il giorno mer 11 feb 2026 alle ore 20:06 Luca Leonardo Scorcia
[off-list ref] ha scritto:
quoted hunk ↗ jump to hunk
DSI hardware reset is needed to prevent different settings between
the bootloader and the kernel.

Signed-off-by: Luca Leonardo Scorcia <redacted>
---
 arch/arm64/boot/dts/mediatek/mt8167.dtsi | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi b/arch/arm64/boot/dts/mediatek/mt8167.dtsi
index caf51f203dd3..ee2792d53b2c 100644
--- a/arch/arm64/boot/dts/mediatek/mt8167.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8167.dtsi
@@ -8,6 +8,7 @@
 #include <dt-bindings/clock/mt8167-clk.h>
 #include <dt-bindings/memory/mt8167-larb-port.h>
 #include <dt-bindings/power/mt8167-power.h>
+#include <dt-bindings/reset/mt8167-resets.h>

 #include "mt8167-pinfunc.h"
@@ -189,6 +190,7 @@ dsi: dsi@14012000 {
                                 <&mmsys CLK_MM_DSI_DIGITAL>,
                                 <&mipi_tx>;
                        clock-names = "engine", "digital", "hs";
+                       resets = <&mmsys MT8167_MMSYS_SW0_RST_B_DISP_DSI0>;
                        phys = <&mipi_tx>;
                        phy-names = "dphy";
                        status = "disabled";
@@ -295,6 +297,7 @@ mmsys: syscon@14000000 {
                        compatible = "mediatek,mt8167-mmsys", "syscon";
                        reg = <0 0x14000000 0 0x1000>;
                        #clock-cells = <1>;
+                       #reset-cells = <1>;
                };

                smi_common: smi@14017000 {
--
2.43.0

-- 
Luca Leonardo Scorcia
l.scorcia@gmail.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help