Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c94496f1 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "clk: qcom: Update the config_ctl and test_ctl registers for SM6150"

parents bc2167a3 8aa5340a
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -162,12 +162,12 @@ static struct pll_vco cam_cc_pll_vco[] = {
static const struct alpha_pll_config cam_cc_pll0_config = {
	.l = 0x1F,
	.alpha_u = 0x40,
	.alpha = 0x0,
	.alpha_en_mask = BIT(24),
	.vco_val = 0x2 << 20,
	.vco_mask = 0x3 << 20,
	.main_output_mask = BIT(1),
	.config_ctl_val = 0x40008529,
	.aux_output_mask = BIT(1),
	.config_ctl_val = 0x4001055b,
	.test_ctl_hi_mask = 0x1,
};

static struct clk_alpha_pll cam_cc_pll0_out_aux = {
@@ -197,8 +197,9 @@ static const struct alpha_pll_config cam_cc_pll1_config = {
	.alpha_en_mask = BIT(24),
	.vco_val = 0x2 << 20,
	.vco_mask = 0x3 << 20,
	.main_output_mask = BIT(1),
	.config_ctl_val = 0x40008529,
	.aux_output_mask = BIT(1),
	.config_ctl_val = 0x4001055b,
	.test_ctl_hi_mask = 0x1,
};

static struct clk_alpha_pll cam_cc_pll1_out_aux = {
@@ -223,13 +224,12 @@ static struct clk_alpha_pll cam_cc_pll1_out_aux = {
/* 960MHz configuration */
static const struct alpha_pll_config cam_cc_pll2_config = {
	.l = 0x32,
	.alpha = 0x0,
	.alpha_en_mask = BIT(24),
	.vco_val = 0x0 << 20,
	.vco_mask = 0x3 << 20,
	.early_output_mask = BIT(3),
	.aux2_output_mask = BIT(2),
	.config_ctl_val = 0x000040C9,
	.config_ctl_val = 0x04289,
	.test_ctl_mask = 0x08000000,
};

static struct clk_alpha_pll cam_cc_pll2_out_early = {
@@ -265,12 +265,12 @@ static struct clk_alpha_pll_postdiv cam_cc_pll2_out_aux2 = {
static const struct alpha_pll_config cam_cc_pll3_config = {
	.l = 0x38,
	.alpha_u = 0x40,
	.alpha = 0x0,
	.alpha_en_mask = BIT(24),
	.vco_val = 0x0 << 20,
	.vco_mask = 0x3 << 20,
	.main_output_mask = BIT(0),
	.config_ctl_val = 0x40008529,
	.config_ctl_val = 0x4001055b,
	.test_ctl_hi_mask = 0x1,
};

static struct clk_alpha_pll cam_cc_pll3_out_main = {
+2 −1
Original line number Diff line number Diff line
@@ -134,7 +134,8 @@ static const struct alpha_pll_config disp_cc_pll0_config = {
	.vco_val = 0x2 << 20,
	.vco_mask = 0x3 << 20,
	.main_output_mask = BIT(0),
	.config_ctl_val = 0x40008529,
	.config_ctl_val = 0x4001055b,
	.test_ctl_hi_mask = 0x1,
};

static struct clk_alpha_pll disp_cc_pll0_out_main = {
+2 −0
Original line number Diff line number Diff line
@@ -103,6 +103,7 @@ static struct pll_vco gpu_cc_pll_vco[] = {
static const struct alpha_pll_config gpu_pll0_config = {
	.l = 0x35,
	.config_ctl_val = 0x4001055b,
	.test_ctl_hi_mask = 0x1,
	.alpha_u = 0x20,
	.alpha = 0x00,
	.alpha_en_mask = BIT(24),
@@ -115,6 +116,7 @@ static const struct alpha_pll_config gpu_pll0_config = {
static const struct alpha_pll_config gpu_pll1_config = {
	.l = 0x30,
	.config_ctl_val = 0x4001055b,
	.test_ctl_hi_mask = 0x1,
	.alpha_u = 0x70,
	.alpha = 0x00,
	.alpha_en_mask = BIT(24),
+1 −2
Original line number Diff line number Diff line
@@ -94,8 +94,7 @@ static const struct alpha_pll_config video_pll0_config = {
	.vco_mask = 0x3 << 20,
	.main_output_mask = BIT(0),
	.config_ctl_val = 0x4001055b,
	.user_ctl_val = 0x00000001,
	.user_ctl_hi_val = 0x00000004,
	.test_ctl_hi_mask = 0x1,
};

static struct clk_alpha_pll video_pll0_out_main = {