Commit 502099e9 authored by Luca Weiss's avatar Luca Weiss Committed by Bjorn Andersson
Browse files

clk: qcom: dispcc-sm6350: Add MDSS_CORE & MDSS_RSCC resets

parent ff71d2d8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -679,6 +679,11 @@ static struct clk_branch disp_cc_xo_clk = {
	},
};

static const struct qcom_reset_map disp_cc_sm6350_resets[] = {
	[DISP_CC_MDSS_CORE_BCR] = { 0x1000 },
	[DISP_CC_MDSS_RSCC_BCR] = { 0x2000 },
};

static struct gdsc mdss_gdsc = {
	.gdscr = 0x1004,
	.en_rest_wait_val = 0x2,
@@ -746,6 +751,8 @@ static const struct qcom_cc_desc disp_cc_sm6350_desc = {
	.num_clks = ARRAY_SIZE(disp_cc_sm6350_clocks),
	.gdscs = disp_cc_sm6350_gdscs,
	.num_gdscs = ARRAY_SIZE(disp_cc_sm6350_gdscs),
	.resets = disp_cc_sm6350_resets,
	.num_resets = ARRAY_SIZE(disp_cc_sm6350_resets),
};

static const struct of_device_id disp_cc_sm6350_match_table[] = {