29 lines
894 B
Diff
29 lines
894 B
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: Aditya Prayoga <aditya@kobol.io>
|
||
|
Date: Wed, 4 Mar 2020 22:10:31 +0700
|
||
|
Subject: arm:rockchip:rk3399: Populate child node of syscon
|
||
|
|
||
|
U-Boot only populate first level of node.
|
||
|
Scan child node so device such as PHY can be initialized.
|
||
|
---
|
||
|
arch/arm/mach-rockchip/rk3399/syscon_rk3399.c | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
diff --git a/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c b/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c
|
||
|
index 2b5746cb31..ec2f037e16 100644
|
||
|
--- a/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c
|
||
|
+++ b/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c
|
||
|
@@ -25,6 +25,9 @@ U_BOOT_DRIVER(syscon_rk3399) = {
|
||
|
.bind = dm_scan_fdt_dev,
|
||
|
#endif
|
||
|
.of_match = rk3399_syscon_ids,
|
||
|
+#if !CONFIG_IS_ENABLED(OF_PLATDATA)
|
||
|
+ .bind = dm_scan_fdt_dev,
|
||
|
+#endif
|
||
|
};
|
||
|
|
||
|
#if CONFIG_IS_ENABLED(OF_PLATDATA)
|
||
|
--
|
||
|
Armbian
|
||
|
|