diff options
author | Amit Nischal <anischal@codeaurora.org> | 2018-04-30 19:20:09 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-05-08 21:22:55 +0300 |
commit | 7d99ced8f4c65267836db69ec0790e878ef11b3b (patch) | |
tree | 0f26d28cfd08ff283e332c6696ed22bf7bf34aeb /drivers/clk/qcom/clk-branch.h | |
parent | 88051f55de502811472fe25d4a710bc7e6e60fd1 (diff) | |
download | linux-7d99ced8f4c65267836db69ec0790e878ef11b3b.tar.xz |
clk: qcom: Add support for BRANCH_HALT_SKIP flag for branch clocks
There could be few clocks where the clock status bit is not
required to be polled as the clock on/off would be controlled
by enabling/disabling external source. Add support for the
same by introducing new flag named as 'BRANCH_HALT_SKIP'.
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
[sboyd@kernel.org: Rename flag to BRANCH_HALT_SKIP]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/qcom/clk-branch.h')
-rw-r--r-- | drivers/clk/qcom/clk-branch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/qcom/clk-branch.h b/drivers/clk/qcom/clk-branch.h index 284df3f3c55f..1702efb1c511 100644 --- a/drivers/clk/qcom/clk-branch.h +++ b/drivers/clk/qcom/clk-branch.h @@ -42,6 +42,7 @@ struct clk_branch { #define BRANCH_HALT_ENABLE 1 /* pol: 0 = halt */ #define BRANCH_HALT_ENABLE_VOTED (BRANCH_HALT_ENABLE | BRANCH_VOTED) #define BRANCH_HALT_DELAY 2 /* No bit to check; just delay */ +#define BRANCH_HALT_SKIP 3 /* Don't check halt bit */ struct clk_regmap clkr; }; |