
28 Dec
2019
28 Dec
'19
3:27 a.m.
On Sun, 15 Dec 2019 at 20:14, Chunfeng Yun chunfeng.yun@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@mediatek.com
drivers/clk/clk-uclass.c | 28 ++++++++++++++++++++++++++++ include/clk.h | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org