[DM/FEATURE] Support clock subprobe in OFW
Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
parent
cefe6d6380
commit
6185250c86
|
@ -267,6 +267,12 @@ static int platform_ofw_device_probe(void)
|
|||
rt_ofw_node_put(node);
|
||||
}
|
||||
|
||||
if ((node = rt_ofw_find_node_by_path("/clocks")))
|
||||
{
|
||||
platform_ofw_device_probe_once(node);
|
||||
rt_ofw_node_put(node);
|
||||
}
|
||||
|
||||
rt_ofw_node_get(ofw_node_chosen);
|
||||
if ((node = rt_ofw_get_child_by_compatible(ofw_node_chosen, "simple-framebuffer")))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue