[PATCH v3 04/16] reset: k1: remove TWSI8 reset restriction

Raymond Mao raymondmaoca at gmail.com
Wed Mar 25 23:32:20 CET 2026


From: Raymond Mao <raymond.mao at riscstar.com>

Remove TWSI8 (I2C8) reset restriction. Since it's writable, not
inaccessible.

Signed-off-by: Raymond Mao <raymond.mao at riscstar.com>
---
Changes in v3:
- Drop SPL_RESET_SPACEMIT_K1 Kconfig to fix unmet dependency
  warning when building without SPL

 drivers/reset/reset-spacemit-k1.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/reset/reset-spacemit-k1.c b/drivers/reset/reset-spacemit-k1.c
index 613e002fc4f..99dce90b4c4 100644
--- a/drivers/reset/reset-spacemit-k1.c
+++ b/drivers/reset/reset-spacemit-k1.c
@@ -452,10 +452,6 @@ static int spacemit_reset_update(struct reset_ctl *rst, bool assert)
 	if (rst->id < RESET_UART1 || rst->id >= RESET_NUMBER)
 		return 0;
 
-	/* can not write to twsi8 */
-	if (rst->id == RESET_TWSI8)
-		return 0;
-
 	spacemit_reset_set(rst, rst->id, assert);
 	return 0;
 }
-- 
2.25.1



More information about the U-Boot mailing list