On Mon, 30 Sep 2019 at 06:29, Jean-Jacques Hiblot <jjhib...@ti.com> wrote:
>
> Add devm_clk_get(), devm_clk_get_optional() to get clocks from the
> device-tree. The clocks is automatically released and the data structure
> freed when the device is unbound.
> Also add devm_clk_put() to release the clock and free the data structure
> manually.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
> ---
>
>  drivers/clk/clk-uclass.c | 48 ++++++++++++++++++++++++++++++++++++++++
>  include/clk.h            | 44 ++++++++++++++++++++++++++++++++++++
>  2 files changed, 92 insertions(+)

Reviewed-by: Simon Glass <s...@chromium.org>

+Stephen Warren
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to