Thread (4 messages) 4 messages, 2 authors, 2017-11-02

Re: [RFC PATCH] clk: move of_clk_get_parent_count() declaration to <linux/__clk.h>

flat view

From: Stephen Boyd <hidden>
Date: 2017-11-02 05:32:27
Also in: linux-clk, lkml

On 10/29, Masahiro Yamada wrote:
2017-10-13 8:17 GMT+09:00 Stephen Boyd [off-list ref]:
quoted
 USB has a
similar case, which I think Shawn Guo/Dong Aisheng was trying to
add an OF based bulk clk_get() API called of_clk_bulk_get()
for[1]. If this get all clks API works there too then we should
use it. If it can be non-DT specific, even better.

[1] http://lkml.kernel.org/r/1506415441-4435-1-git-send-email-aisheng.dong@nxp.com
OK, we can implement it based on Shawn/Dong's work.

My concern is clk-bulk.c still needs to include #<linux/clk-provider.h>,
but it is a bit odd since clk-bulk.c is a helper for clk consumers.
Understood. I'm not concerned though, it's one place where this
happens, not in a bunch of random drivers. What exactly do you
need from clk-provider.h in clk-bulk.c though?

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help