linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] Add support for duty-cycle for RCG
@ 2021-04-25  7:08 Taniya Das
  2021-04-25  7:08 ` [PATCH v3] clk: qcom: clk-rcg2: " Taniya Das
  2021-04-28  0:19 ` [PATCH v3] " Stephen Boyd
  0 siblings, 2 replies; 6+ messages in thread
From: Taniya Das @ 2021-04-25  7:08 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette  
  Cc: Rajendra Nayak, linux-arm-msm, linux-soc, linux-clk,
	linux-kernel, Taniya Das

The root clock generators with MND divider has the capability to support
change in duty-cycle by updating the 'D'. Add the clock ops which would
check all the boundary conditions and enable setting the desired duty-cycle
as per the consumer.

[v3]
  * Implement clockops for get_duty_cycle.
  * Return -EINVAL for Non-MND or HID RCGs.

Taniya Das (1):
  clk: qcom: clk-rcg2: Add support for duty-cycle for RCG

 drivers/clk/qcom/clk-rcg2.c | 81 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 81 insertions(+)

--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member
of the Code Aurora Forum, hosted by the  Linux Foundation.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-05-26  3:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-25  7:08 [PATCH v3] Add support for duty-cycle for RCG Taniya Das
2021-04-25  7:08 ` [PATCH v3] clk: qcom: clk-rcg2: " Taniya Das
2021-05-26  3:36   ` Stephen Boyd
2021-04-28  0:19 ` [PATCH v3] " Stephen Boyd
2021-04-29  6:55   ` Taniya Das
2021-04-30  2:21     ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).