[U-Boot] [PATCH v5 08/18] dm: clk: Define clk_get_parent() for clk operations

sbabic at denx.de sbabic at denx.de
Sat Jul 20 08:57:15 UTC 2019


> This commit adds the clk_get_parent() function, which is responsible
> for getting the parent's struct clock pointer.
> U-Boot's DM support for getting parent is different (the parent
> relationship is in udevice) than the one in Common Clock Framework [CCF]
> in Linux. To obtain the pointer to struct clk of parent the
> pdev->uclass_priv field is read via dev_get_clk_ptr() wrapper.
> Signed-off-by: Lukasz Majewski <lukma at denx.de>
> Reviewed-by: Peng Fan <peng.fan at nxp.com>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================



More information about the U-Boot mailing list