]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk/qcom: use offsets for RCG registers
authorCaleb Connolly <caleb.connolly@linaro.org>
Wed, 3 Apr 2024 12:07:40 +0000 (14:07 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Thu, 4 Apr 2024 15:46:46 +0000 (17:46 +0200)
commitd33d4e0a454fb24f96ea8e5e1b887e7d9ba05748
treea9b01c2a7afdd1c304bd79574daca0042eda8278
parent8670cb405ebeccb448c4d556f5dd2bf302fa61e4
clk/qcom: use offsets for RCG registers

The RCG registers always have the same offsets, so only store the base
CMD register address and calculate the others relative to that.

Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/clk/qcom/clock-apq8016.c
drivers/clk/qcom/clock-apq8096.c
drivers/clk/qcom/clock-qcom.c
drivers/clk/qcom/clock-qcom.h
drivers/clk/qcom/clock-qcs404.c
drivers/clk/qcom/clock-sdm845.c