summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2024-03-02 01:52:15 +0100
committerBjorn Andersson <andersson@kernel.org>2024-03-02 19:40:51 +0100
commit9dd7b0d351f0c6af9b69d969919a2a8b04bbfd6e (patch)
tree9a0e8a381910bbb937fcbf54aad5a0cdb77fa513 /drivers/clk/qcom
parentclk: qcom: mmcc-msm8974: fix terminating of frequency table arrays (diff)
downloadlinux-9dd7b0d351f0c6af9b69d969919a2a8b04bbfd6e.tar.xz
linux-9dd7b0d351f0c6af9b69d969919a2a8b04bbfd6e.zip
clk: qcom: camcc-x1e80100: Fix missing DT_IFACE enum in x1e80100 camcc
The desired DT pattern for clock indexing is the following: clocks = <&gcc GCC_CAMERA_AHB_CLK>, <&bi_tcxo_div2>, <&bi_tcxo_ao_div2>, <&sleep_clk>; In order to facilitate that indexing structure we need to have DT_IFACE enum defined. Fixes: 76126a5129b5 ("clk: qcom: Add camcc clock driver for x1e80100") Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20240302-linux-next-24-03-01-simple-clock-fixes-v1-2-25f348a5982b@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'drivers/clk/qcom')
-rw-r--r--drivers/clk/qcom/camcc-x1e80100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/qcom/camcc-x1e80100.c b/drivers/clk/qcom/camcc-x1e80100.c
index f7f3d92c263d..46bb225906bf 100644
--- a/drivers/clk/qcom/camcc-x1e80100.c
+++ b/drivers/clk/qcom/camcc-x1e80100.c
@@ -21,6 +21,7 @@
#include "reset.h"
enum {
+ DT_IFACE,
DT_BI_TCXO,
DT_BI_TCXO_AO,
DT_SLEEP_CLK,