[RESEND PATCH 4/7] clk: add APIs to get (optional) clock by name without a device

Simon Glass sjg at chromium.org
Sat Dec 28 03:27:17 CET 2019


On Sun, 15 Dec 2019 at 20:14, Chunfeng Yun <chunfeng.yun at mediatek.com> wrote:
>
> Sometimes we may need get (optional) clock without a device,
> that means use ofnode.
> e.g. when the phy node has subnode, and there is no device created
> for subnode, in this case, we need these new APIs to get subnode's
> clock.
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
> ---
>  drivers/clk/clk-uclass.c | 28 ++++++++++++++++++++++++++++
>  include/clk.h            | 40 ++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 68 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list