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

Commit 882868a0 authored by Amit Nischal's avatar Amit Nischal
Browse files

clk: qcom: Update ops for esc clock source



Some of the display panels require various
escape clock frequencies for its operation.
Add support for the same by update esc clock
ops to clk_esc_ops.

Change-Id: I3fe1e98bcdb15e3384fffc17089276e2257be7f3
Signed-off-by: default avatarAmit Nischal <anischal@codeaurora.org>
parent 0e1c06b8
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017, The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -328,13 +328,12 @@ static struct clk_rcg2 disp_cc_mdss_esc0_clk_src = {
	.mnd_width = 0,
	.hid_width = 5,
	.parent_map = disp_cc_parent_map_0,
	.freq_tbl = ftbl_disp_cc_mdss_esc0_clk_src,
	.clkr.hw.init = &(struct clk_init_data){
		.name = "disp_cc_mdss_esc0_clk_src",
		.parent_names = disp_cc_parent_names_0,
		.num_parents = 4,
		.flags = CLK_SET_RATE_PARENT,
		.ops = &clk_rcg2_ops,
		.ops = &clk_esc_ops,
		VDD_CX_FMAX_MAP1(
			MIN, 19200000),
	},
@@ -345,13 +344,12 @@ static struct clk_rcg2 disp_cc_mdss_esc1_clk_src = {
	.mnd_width = 0,
	.hid_width = 5,
	.parent_map = disp_cc_parent_map_0,
	.freq_tbl = ftbl_disp_cc_mdss_esc0_clk_src,
	.clkr.hw.init = &(struct clk_init_data){
		.name = "disp_cc_mdss_esc1_clk_src",
		.parent_names = disp_cc_parent_names_0,
		.num_parents = 4,
		.flags = CLK_SET_RATE_PARENT,
		.ops = &clk_rcg2_ops,
		.ops = &clk_esc_ops,
		VDD_CX_FMAX_MAP1(
			MIN, 19200000),
	},