]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: reset: thead,th1520-reset: add more VOSYS resets
authorIcenowy Zheng <uwu@icenowy.me>
Wed, 13 Aug 2025 08:17:15 +0000 (16:17 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 14 Aug 2025 10:20:09 +0000 (12:20 +0200)
VOSYS contains more resets for a display pipeline, includes ones for the
display controller (called DPU in the manual), the HDMI controller and 2
MIPI DSI controllers.

Allocate IDs for these resets in the dt binding header file.

Now all peripheral related VOSYS reset controls are here, only the bus
matrix / IOPMP ones are missing, which shouldn't be messed with.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250813081716.2181843-2-uwu@icenowy.me
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
include/dt-bindings/reset/thead,th1520-reset.h

index 00459f160489710d6f1fc6e0ae79ed31f6b63411..ee799286c17540cbffc9cecc56b3c37def7f0380 100644 (file)
 #define TH1520_RESET_ID_NPU            2
 #define TH1520_RESET_ID_WDT0           3
 #define TH1520_RESET_ID_WDT1           4
+#define TH1520_RESET_ID_DPU_AHB                5
+#define TH1520_RESET_ID_DPU_AXI                6
+#define TH1520_RESET_ID_DPU_CORE       7
+#define TH1520_RESET_ID_DSI0_APB       8
+#define TH1520_RESET_ID_DSI1_APB       9
+#define TH1520_RESET_ID_HDMI           10
+#define TH1520_RESET_ID_HDMI_APB       11
 
 #endif /* _DT_BINDINGS_TH1520_RESET_H */