OSDN Git Service

clk: qcom: mmcc-msm8996: leave all mmagic gdscs and clocks always enabled
authorRajendra Nayak <rnayak@codeaurora.org>
Fri, 23 Mar 2018 08:26:16 +0000 (13:56 +0530)
committerStephen Boyd <sboyd@kernel.org>
Fri, 1 Jun 2018 18:14:55 +0000 (11:14 -0700)
commit7705bb7176b9d12c1e8649b9b91eaaa0e95f5a34
tree8e443e75ca82c34b2a012c17a534204a9f1927e2
parent31543ebb8aff5efb53464d65221b3a1f7951e99c
clk: qcom: mmcc-msm8996: leave all mmagic gdscs and clocks always enabled

There's no bus infrastructure today to handle all the mmagic bus
clocks and GDSCs needed by all the multimedia blocks in msm8996, like
mdss, video, camera and gpu. Mark all these clocks with a CLK_IS_CRITICAL
and GDSCs with a ALWAYS_ON flag for now so they are left always enabled.
This patch should be reverted at some point when we do have a bus driver
to manage these clocks and GDSCs.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gcc-msm8996.c
drivers/clk/qcom/mmcc-msm8996.c