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

Commit 72e8aca8 authored by Shilpa Suresh's avatar Shilpa Suresh
Browse files

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: default avatarShilpa Suresh <sbsure@codeaurora.org>
parent a3746d46
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
/* 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);