clk: add APIs to get (optional) clock by name without a device
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: NChunfeng Yun <chunfeng.yun@mediatek.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NRyder Lee <ryder.lee@mediatek.com>
Showing
想要评论请 注册 或 登录