]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: qcom: clk-rcg2: Introduce a cfg offset for RCGs
authorTaniya Das <tdas@codeaurora.org>
Mon, 11 Feb 2019 07:39:27 +0000 (13:09 +0530)
committerStephen Boyd <sboyd@kernel.org>
Thu, 21 Feb 2019 22:18:12 +0000 (14:18 -0800)
commit96dc791d0b9e12f6374a80f00ad9304b9df2efee
treecf91560567ec2d7c7e7841fac5780b708b4404fc
parentfe6b580ec64cc8b32c4f5ee3db4a994471e1e4c1
clk: qcom: clk-rcg2: Introduce a cfg offset for RCGs

The RCG CFG/M/N/D register base could be at a different offset than
the CMD register, so introduce a cfg_offset to identify the offset
with respect to the CMD RCGR register.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
Signed-off-by: Anu Ramanathan <anur@codeaurora.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/clk-rcg.h
drivers/clk/qcom/clk-rcg2.c