[PATCH v2 02/21] dm: core: add support for device re-parenting

Simon Glass sjg at chromium.org
Sun Aug 16 05:39:25 CEST 2020


On Wed, 5 Aug 2020 at 09:12, Claudiu Beznea
<claudiu.beznea at 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.beznea at 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 <sjg at chromium.org>


More information about the U-Boot mailing list