[U-Boot] [PATCH v4 06/13] clk: Provide struct clk for fixed rate
sbabic at denx.de
sbabic at denx.de
Mon Jun 10 09:40:10 UTC 2019
> Up till now the fixed rate clock ('osc') has been added to UCLASS_CLK
> without declaring struct clk. As a result it was only accessible by
> iterating the udevice's uclass list.
> This is a problem for clock code, which operates on pointers to struct
> clk (like clk_get_rate()), not udevices.
> After this change struct clk is accessible from udevice and udevice from
> struct clk.
> Signed-off-by: Lukasz Majewski <lukma at denx.de>
> Reviewed-by: Peng Fan <peng.fan at nxp.com>
> Reviewed-by: Stefano Babic <sbabic at denx.de>
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