Skip to content

Commit 176465f

Browse files
Gelbpunktandersson
authored andcommitted
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>
1 parent e3e5eb9 commit 176465f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

drivers/clk/qcom/dispcc-sm7150.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "clk-regmap-divider.h"
2121
#include "common.h"
2222
#include "gdsc.h"
23+
#include "reset.h"
2324

2425
enum {
2526
DT_BI_TCXO,
@@ -951,6 +952,10 @@ static struct gdsc *dispcc_sm7150_gdscs[] = {
951952
[MDSS_GDSC] = &mdss_gdsc,
952953
};
953954

955+
static const struct qcom_reset_map dispcc_sm7150_resets[] = {
956+
[DISPCC_MDSS_CORE_BCR] = { 0x2000 },
957+
};
958+
954959
static const struct regmap_config dispcc_sm7150_regmap_config = {
955960
.reg_bits = 32,
956961
.reg_stride = 4,
@@ -965,6 +970,8 @@ static const struct qcom_cc_desc dispcc_sm7150_desc = {
965970
.num_clks = ARRAY_SIZE(dispcc_sm7150_clocks),
966971
.gdscs = dispcc_sm7150_gdscs,
967972
.num_gdscs = ARRAY_SIZE(dispcc_sm7150_gdscs),
973+
.resets = dispcc_sm7150_resets,
974+
.num_resets = ARRAY_SIZE(dispcc_sm7150_resets),
968975
};
969976

970977
static const struct of_device_id dispcc_sm7150_match_table[] = {

0 commit comments

Comments
 (0)