]> Git Repo - u-boot.git/commit
dm: core: add support for device re-parenting
authorClaudiu Beznea <[email protected]>
Mon, 7 Sep 2020 14:46:33 +0000 (17:46 +0300)
committerEugen Hristev <[email protected]>
Tue, 22 Sep 2020 08:27:18 +0000 (11:27 +0300)
commitcfecbaf4e768991056a88d3a7a3daf4b4baf8038
tree5f3b366650bcddfce7ee3462417a6de3669ca57b
parentb04da9fcf78e233e70ea5ace757c0b8b95bb2459
dm: core: add support for device re-parenting

In common clock framework the relation b/w parent and child clocks is
determined based on the udevice parent/child information. A clock
parent could be changed based on devices needs. In case this is happen
the functionalities for clock who's parent is changed are broken. Add
a function that reparent a device. This will be used in clk-uclass.c
to reparent a clock device.

Signed-off-by: Claudiu Beznea <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/core/device.c
include/dm/device-internal.h
test/dm/core.c
This page took 0.036772 seconds and 4 git commands to generate.