rockchip: px30: bind sub-nodes for GRF (syscon)

There are some sub-nodes under the grf DT nodes, so add bind callback
function in syscon_px30 driver to scan them recursively.

Fixes: e9ccb2f526ed ("rockchip: add px30 architecture core")
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
Quentin Schulz 2024-06-14 18:54:12 +02:00 committed by Kever Yang
parent 812e265226
commit 008cc3d746

View File

@ -18,6 +18,9 @@ static const struct udevice_id px30_syscon_ids[] = {
U_BOOT_DRIVER(syscon_px30) = { U_BOOT_DRIVER(syscon_px30) = {
.id = UCLASS_SYSCON, .id = UCLASS_SYSCON,
.name = "px30_syscon", .name = "px30_syscon",
#if CONFIG_IS_ENABLED(OF_REAL)
.bind = dm_scan_fdt_dev,
#endif
.of_match = px30_syscon_ids, .of_match = px30_syscon_ids,
}; };