Skip to contentSkip to conversation

reset: socfpga: release more A10 peripherals out of reset

PATCH New Jit Loon Lim 1 participant 1 message Sep 2, 2022 Reset controller framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 reset: socfpga: release more A10 peripherals out of reset

From: Tien Fong Chee <[email protected]>

Current implementation almost release all peripherals out of reset for gen5, but A10 has more peripherals than gen5, hence this patch is required to release the rest of peripherals to support old kernels.

---
 drivers/reset/reset-socfpga.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/reset/reset-socfpga.c +3 -0
index 6e3f03e248..bd30396fe5 100644
@@ -115,6 +115,9 @@ static int socfpga_reset_remove(struct udevice *dev)
 	if (socfpga_reset_keep_enabled()) {
 		puts("Deasserting all peripheral resets\n");
 		writel(0, data->modrst_base + 4);
+#if defined(CONFIG_TARGET_SOCFPGA_ARRIA10)
+		writel(0, data->modrst_base + 8);
+#endif
 	}
 
 	return 0;
Signature · 1 line
2.26.2