From: Anand Moon <an...@edgeble.ai>

Read the reset cause from clock reset unit for RK356x SoC.

Cc: Jagan Teki <ja...@edgeble.ai>
Signed-off-by: Anand Moon <an...@edgeble.ai>
Signed-off-by: Anand Moon <linux.am...@gmail.com>
---
 arch/arm/mach-rockchip/cpu-info.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-rockchip/cpu-info.c 
b/arch/arm/mach-rockchip/cpu-info.c
index e7cbcf5090..e12f84a1d2 100644
--- a/arch/arm/mach-rockchip/cpu-info.c
+++ b/arch/arm/mach-rockchip/cpu-info.c
@@ -18,6 +18,8 @@ char *get_reset_cause(void)
        struct rk3328_cru *cru = rockchip_get_cru();
 #elif IS_ENABLED(CONFIG_ROCKCHIP_RK3399)
        struct rockchip_cru *cru = rockchip_get_cru();
+#elif IS_ENABLED(CONFIG_ROCKCHIP_RK3568)
+       struct rk3568_cru *cru = rockchip_get_cru();
 #endif
        char *cause = NULL;
 
-- 
2.44.0

Reply via email to