Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: qcom: dispcc-sm7150: Add MDSS_CORE reset

Add the offsets for a reset inside the dispcc on SM7150 SoC.

Signed-off-by: Jens Reidel <adrian@mainlining.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250919-sm7150-dispcc-fixes-v1-2-308ad47c5fce@mainlining.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Jens Reidel and committed by
Bjorn Andersson
176465fd e3e5eb9c

+7
+7
drivers/clk/qcom/dispcc-sm7150.c
··· 20 20 #include "clk-regmap-divider.h" 21 21 #include "common.h" 22 22 #include "gdsc.h" 23 + #include "reset.h" 23 24 24 25 enum { 25 26 DT_BI_TCXO, ··· 952 951 [MDSS_GDSC] = &mdss_gdsc, 953 952 }; 954 953 954 + static const struct qcom_reset_map dispcc_sm7150_resets[] = { 955 + [DISPCC_MDSS_CORE_BCR] = { 0x2000 }, 956 + }; 957 + 955 958 static const struct regmap_config dispcc_sm7150_regmap_config = { 956 959 .reg_bits = 32, 957 960 .reg_stride = 4, ··· 970 965 .num_clks = ARRAY_SIZE(dispcc_sm7150_clocks), 971 966 .gdscs = dispcc_sm7150_gdscs, 972 967 .num_gdscs = ARRAY_SIZE(dispcc_sm7150_gdscs), 968 + .resets = dispcc_sm7150_resets, 969 + .num_resets = ARRAY_SIZE(dispcc_sm7150_resets), 973 970 }; 974 971 975 972 static const struct of_device_id dispcc_sm7150_match_table[] = {