dt-bindings: reset: mediatek: add MT7988 infracfg reset IDs
authorFrank Wunderlich <frank-w@public-files.de>
Thu, 1 Feb 2024 18:24:08 +0000 (19:24 +0100)
committerStephen Boyd <sboyd@kernel.org>
Thu, 22 Feb 2024 05:03:17 +0000 (21:03 -0800)
Add reset constants for using as index in driver and dts.

Value is starting again from 0 because resets are used in another device
than existing constants.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240201182409.39878-2-linux@fw-web.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
include/dt-bindings/reset/mediatek,mt7988-resets.h

index 4933019713672971fa8e2d63dd8a864cb2a725f8..0eb152889a896e959251b98d69970ec689a2c83f 100644 (file)
 /* ETHWARP resets */
 #define MT7988_ETHWARP_RST_SWITCH              0
 
+/* INFRA resets */
+#define MT7988_INFRA_RST0_PEXTP_MAC_SWRST      0
+#define MT7988_INFRA_RST1_THERM_CTRL_SWRST     1
+
+
 #endif  /* _DT_BINDINGS_RESET_CONTROLLER_MT7988 */
+