On Wed, 5 Aug 2020 at 09:12, Claudiu Beznea <claudiu.bez...@microchip.com> wrote: > > 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 <claudiu.bez...@microchip.com> > --- > drivers/core/device.c | 22 ++++++ > include/dm/device-internal.h | 9 +++ > test/dm/core.c | 160 > +++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 191 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org>