Message ID | 20240614-px30-io-domain-v1-1-9552966d3911@cherry.de |
---|---|
State | Accepted |
Commit | 008cc3d7465b81085a646ac7961cb271ef3873be |
Delegated to: | Kever Yang |
Headers | show |
Series | rockchip: px30: add IO domain driver | expand |
On 2024/6/15 00:54, Quentin Schulz wrote: > From: Quentin Schulz <quentin.schulz@cherry.de> > > 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> Thanks, - Kever > --- > arch/arm/mach-rockchip/px30/syscon_px30.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/mach-rockchip/px30/syscon_px30.c b/arch/arm/mach-rockchip/px30/syscon_px30.c > index c9de57493d8..893a5234baa 100644 > --- a/arch/arm/mach-rockchip/px30/syscon_px30.c > +++ b/arch/arm/mach-rockchip/px30/syscon_px30.c > @@ -18,6 +18,9 @@ static const struct udevice_id px30_syscon_ids[] = { > U_BOOT_DRIVER(syscon_px30) = { > .id = UCLASS_SYSCON, > .name = "px30_syscon", > +#if CONFIG_IS_ENABLED(OF_REAL) > + .bind = dm_scan_fdt_dev, > +#endif > .of_match = px30_syscon_ids, > }; > >
diff --git a/arch/arm/mach-rockchip/px30/syscon_px30.c b/arch/arm/mach-rockchip/px30/syscon_px30.c index c9de57493d8..893a5234baa 100644 --- a/arch/arm/mach-rockchip/px30/syscon_px30.c +++ b/arch/arm/mach-rockchip/px30/syscon_px30.c @@ -18,6 +18,9 @@ static const struct udevice_id px30_syscon_ids[] = { U_BOOT_DRIVER(syscon_px30) = { .id = UCLASS_SYSCON, .name = "px30_syscon", +#if CONFIG_IS_ENABLED(OF_REAL) + .bind = dm_scan_fdt_dev, +#endif .of_match = px30_syscon_ids, };