clk: msm: Add clk_set_duty_cycle API declaration

Add missing declaration of clk_set_duty_cycle API
to the clk header file.

Change-Id: I49625c8a4117757e35688f9e4d645d7708a0ee46
Signed-off-by: Shilpa Suresh <sbsure@codeaurora.org>
This commit is contained in:
Shilpa Suresh 2020-03-26 22:54:19 +05:30
commit 72e8aca8ca

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2009, 2012-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2009, 2012-2017, 2020, 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
@ -55,6 +55,11 @@ int clk_reset(struct clk *clk, enum clk_reset_action action);
/* Set clock-specific configuration parameters */
int clk_set_flags(struct clk *clk, unsigned long flags);
/* Set clock duty-cycle as a ratio of numerator/denominator for the desired
* duty cycle
*/
int clk_set_duty_cycle(struct clk *clk, u32 numerator, u32 denominator);
/* returns the mux selection index associated with a particular parent */
int parent_to_src_sel(struct clk_src *parents, int num_parents, struct clk *p);