From 6320908170fd317321c38400a186479e40c30501 Mon Sep 17 00:00:00 2001 From: Odelu Kukatla Date: Tue, 9 Feb 2016 22:36:12 +0530 Subject: clk: msm: clock-local: Add support to set the post_div for debug mux Update the clock framework to support the setting of post_div for debug mux so as to divide the clock by post_div. CRs-Fixed: 977413 Change-Id: I7299bdb0953dcf65fbf2a38b7578e2e54446c0d7 Signed-off-by: Odelu Kukatla --- include/linux/clk/msm-clock-generic.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/clk/msm-clock-generic.h b/include/linux/clk/msm-clock-generic.h index 6d5468acf744..d7186a363a3f 100644 --- a/include/linux/clk/msm-clock-generic.h +++ b/include/linux/clk/msm-clock-generic.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2016, 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 @@ -81,6 +81,11 @@ struct mux_clk { u32 mask; u32 shift; u32 en_mask; + /* + * Set post divider for debug mux in order to divide the clock + * by post_div + 1. + */ + u32 post_div; int low_power_sel; void *priv; -- cgit v1.2.3