commit | bdc786d39905932f08d94483531b872b223b2250 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Thu Jan 09 11:35:07 2020 +0800 |
committer | Tom Rini <trini@konsulko.com> | Thu Jan 16 09:39:45 2020 -0500 |
tree | 7daf33521eddd16f2283c90ba8eefdd5fd57590e | |
parent | dc338d3223356646d3bf846fa059d75c64eeb596 [diff] |
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. Reviewed-by: Simon Glass <sjg@chromium.org>