[PATCH v1 11/12] arch: rockchip: rk3288: Update syscon driver binding method

Anand Moon linux.amoon at gmail.com
Tue Aug 6 06:38:48 CEST 2024


Updated the binding method to use `dm_scan_fdt_dev` when
`OF_REAL` is enabled.

Signed-off-by: Anand Moon <linux.amoon at gmail.com>
---
 arch/arm/mach-rockchip/rk3288/syscon_rk3288.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-rockchip/rk3288/syscon_rk3288.c b/arch/arm/mach-rockchip/rk3288/syscon_rk3288.c
index 6413d0a88a1..4030e919134 100644
--- a/arch/arm/mach-rockchip/rk3288/syscon_rk3288.c
+++ b/arch/arm/mach-rockchip/rk3288/syscon_rk3288.c
@@ -23,6 +23,9 @@ static const struct udevice_id rk3288_syscon_ids[] = {
 U_BOOT_DRIVER(syscon_rk3288) = {
 	.name = "rk3288_syscon",
 	.id = UCLASS_SYSCON,
+#if CONFIG_IS_ENABLED(OF_REAL)
+	.bind = dm_scan_fdt_dev,
+#endif
 	.of_match = rk3288_syscon_ids,
 };
 
-- 
2.46.0



More information about the U-Boot mailing list