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

2020-01-16 Thread Tom Rini
On Thu, Jan 09, 2020 at 11:35:07AM +0800, Chunfeng Yun 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. >

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

2020-01-08 Thread Chunfeng Yun
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 Reviewed-by: Simon Glass Reviewed-by: Ryder