Commit 29ade3aa authored by Dong Aisheng's avatar Dong Aisheng Committed by Vamsi Singamsetty
Browse files

UPSTREAM: clk: add new APIs to operate on all available clocks



This patch introduces of_clk_bulk_get_all and clk_bulk_x_all APIs
to users who just want to handle all available clocks from device tree
without need to know the detailed clock information likes clock numbers
and names. This is useful in writing some generic drivers to handle clock
part.

BUG=b:137202421
TEST=Run label_image in loop

Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: default avatarThor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
(cherry picked from commit dfb759811fd1cccbb5c9f6e4856ec3943d572345
https://github.com/ldts/qualcomm-lt-kernel/commits/chromiumos-4.14-iommu-mmap-gw-rebased-for-next

)
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarAbhinav Asati <asatiabhi@codeaurora.org>
Change-Id: I4acf53070a5ce954bfb801a4b031074ae28ea3a0
Signed-off-by: default avatarVamsi Singamsetty <vamssi@codeaurora.org>
parent e9c666a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment